diff --git a/tests/checked/ecma_inlining_monomorphic.js b/tests/checked/ecma_inlining_monomorphic.js index 0afae69a5cff6488ee5fae1ee6296acc22246504..882b75087418eea23d69c43c89cf3e40016df943 100644 --- a/tests/checked/ecma_inlining_monomorphic.js +++ b/tests/checked/ecma_inlining_monomorphic.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -14,13 +14,13 @@ */ //! CHECKER Ecma Inlining. Must inline, monomorphic call. -//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex _GLOBAL::test", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-enforce-safepoint-placement=false --compiler-regex _GLOBAL::test", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::test,_GLOBAL::one,.*DYNAMIC_MONOMORPHIC,SUCCESS/ //! EVENT /Compilation,_GLOBAL::test,.*,COMPILED/ //! EVENT_NOT /Deoptimization,_GLOBAL::.*test.*,.*,IFRAME/ //! CHECKER Remove HclassCheck for inlined ecma method -//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex _GLOBAL::test", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-enforce-safepoint-placement=false --compiler-regex _GLOBAL::test", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::test,_GLOBAL::one,.*DYNAMIC_MONOMORPHIC,SUCCESS/ //! METHOD "test" //! PASS_AFTER "IrBuilder" @@ -48,4 +48,4 @@ for (var i = 0; i < 20; i++) { } if (sum != 20) { throw "Wrong result: " + sum; -} \ No newline at end of file +} diff --git a/tests/checked/getunmappedargs_test.js b/tests/checked/getunmappedargs_test.js index 474386e405c1355265ba0cd78c7a82ba52a6a231..0fb8c11b136fe2326607c335018b88c08e282f6e 100644 --- a/tests/checked/getunmappedargs_test.js +++ b/tests/checked/getunmappedargs_test.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2022 Huawei Device Co., Ltd. + * Copyright (c) 2021-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -14,7 +14,7 @@ */ //! CHECKER Chech GetUnmappedArgs intrinsic -//! RUN force_jit: true, options: " --compiler-regex _GLOBAL::foo", entry: "_GLOBAL::func_main_0" +//! RUN force_jit: true, options: "--compiler-enforce-safepoint-placement=false --compiler-regex _GLOBAL::foo", entry: "_GLOBAL::func_main_0" //! METHOD "foo" //! PASS_AFTER "IrBuilder" //! INST /Intrinsic.GetUnmappedArgs.*/ @@ -25,4 +25,4 @@ function foo() { if (foo(1, 2, 3, 4, 5) != 3) { throw "wrong value"; -} \ No newline at end of file +} diff --git a/tests/checked/hclass_check_elim.js b/tests/checked/hclass_check_elim.js index d98c09359a659d2a40d5ed73379101a7039fac7f..c66b74f081bfe6225b0df26bf78b0637c98bf115 100644 --- a/tests/checked/hclass_check_elim.js +++ b/tests/checked/hclass_check_elim.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Huawei Device Co., Ltd. + * Copyright (c) 2023-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -14,7 +14,7 @@ */ //! CHECKER Test HclassCheck eliminated and updated in inlined case -//! RUN options: "--compiler-regex='_GLOBAL::main' --compiler-enable-jit=true --no-async-jit=true --compiler-hotness-threshold=1", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex='_GLOBAL::main' --compiler-enforce-safepoint-placement=false --compiler-enable-jit=true --no-async-jit=true --compiler-hotness-threshold=1", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::main,.*,COMPILED/ //! METHOD "main" //! PASS_BEFORE "ChecksElimination" @@ -31,7 +31,7 @@ //! CHECKER Test HclassCheck eliminated in case with calls -//! RUN options: "--compiler-regex='_GLOBAL::main' --compiler-enable-jit=true --no-async-jit=true --compiler-hotness-threshold=1 --compiler-inlining=false", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex='_GLOBAL::main' --compiler-enforce-safepoint-placement=false --compiler-enable-jit=true --no-async-jit=true --compiler-hotness-threshold=1 --compiler-inlining=false", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::main,.*,COMPILED/ //! METHOD "main" //! PASS_BEFORE "ChecksElimination" diff --git a/tests/checked/hclass_check_not_elim.js b/tests/checked/hclass_check_not_elim.js index c7da937c0806c249a61e736d422ada694b04495c..ecb071f70caf93e268e37de7c6ae9fc0379fafd8 100644 --- a/tests/checked/hclass_check_not_elim.js +++ b/tests/checked/hclass_check_not_elim.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Huawei Device Co., Ltd. + * Copyright (c) 2023-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -14,7 +14,7 @@ */ //! CHECKER Test HclassCheck didn't eliminate and update in inlined case -//! RUN options: "--compiler-regex='_GLOBAL::main' --compiler-enable-jit=true --no-async-jit=true --compiler-hotness-threshold=1", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex='_GLOBAL::main' --compiler-enforce-safepoint-placement=false --compiler-enable-jit=true --no-async-jit=true --compiler-hotness-threshold=1", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::main,.*,COMPILED/ //! METHOD "main" //! PASS_BEFORE "ChecksElimination"