diff --git a/tests/checked/acc_after_deopt.js b/tests/checked/acc_after_deopt.js index 087d2ffc5170cfcf1a1d25e0727853ec3d6b1ccc..8963a54fb44be8f609ea458f39cf80d67df9aa1f 100644 --- a/tests/checked/acc_after_deopt.js +++ b/tests/checked/acc_after_deopt.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 Test accumulator value after deoptimization -//! RUN options: "--interpreter-type=irtoc --compiler-profiling-threshold=100001 --compiler-regex='_GLOBAL::test_acc'", entry: "_GLOBAL::func_main_0" +//! RUN options: "--interpreter-type=irtoc --compiler-profiling-threshold=100001 --compiler-regex:qname='_GLOBAL::test_acc'", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::test_acc/ //! EVENT /Deoptimization,_GLOBAL::func_test_acc_1/ diff --git a/tests/checked/destroy_method.js b/tests/checked/destroy_method.js index 5e1e39ba12ea2dc7b010e66193f32a5bd707d137..2c661f27e03f096a08afe899c67e5b3beb98adda 100644 --- a/tests/checked/destroy_method.js +++ b/tests/checked/destroy_method.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 Test check store and load by index -//! RUN options: "--no-async-jit --compiler-hotness-threshold=0 --compiler-regex _GLOBAL::destoy_method.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=0 --compiler-regex:qname=_GLOBAL::destoy_method.*", entry: "_GLOBAL::func_main_0" //! METHOD "destoy_method" //! PASS_AFTER "Codegen" //! INST "AnyTypeCheck ECMASCRIPT_INT_TYPE" diff --git a/tests/checked/donot_recompile_not_profiled.js b/tests/checked/donot_recompile_not_profiled.js index ff7a03cc4d5b6dcf85f25f8c95e0ba324cce11c3..899c52d449e6877caf57b3b9891e907ac6c49f36 100644 --- a/tests/checked/donot_recompile_not_profiled.js +++ b/tests/checked/donot_recompile_not_profiled.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-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 deoptimization does not cause recompilation for method which was not profiled -//! RUN options: "--compiler-regex='_GLOBAL::func__1' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname='_GLOBAL::func__1' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::func__1/ //! EVENT_NEXT_NOT /Compilation,_GLOBAL::func__1/ //! EVENT_NEXT /Deoptimization,_GLOBAL::func__1/ diff --git a/tests/checked/ecma_inline_builtins_instruction_double_with_int.js b/tests/checked/ecma_inline_builtins_instruction_double_with_int.js index cc6b1c8cf2e9a2e8a8953962a95a87e500006c2f..1723712d15c38b9199d081a6c89b33f76c7411d5 100644 --- a/tests/checked/ecma_inline_builtins_instruction_double_with_int.js +++ b/tests/checked/ecma_inline_builtins_instruction_double_with_int.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 Ecma builtins inlining. Speculations should be the following: (DOUBLE + Instruction) --deopt--> (DOUBLE/INT + Instruction). -//! RUN options: "--compiler-regex=_GLOBAL::profiling_abs", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname=_GLOBAL::profiling_abs", entry: "_GLOBAL::func_main_0" //! METHOD "profiling_abs" //! EVENT /Compilation,.*profiling_abs.*COMPILED/ //! PASS_AFTER "InlineIntrinsics" diff --git a/tests/checked/ecma_inline_builtins_instruction_int_with_double.js b/tests/checked/ecma_inline_builtins_instruction_int_with_double.js index 3bb93757ad8d40b5bc57f677253ed9f6bf75b4fc..883303af3bba36c88915f5886738b99b94d1b28a 100644 --- a/tests/checked/ecma_inline_builtins_instruction_int_with_double.js +++ b/tests/checked/ecma_inline_builtins_instruction_int_with_double.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 Ecma builtins inlining. Speculations should be the following: (INT + Instruction) --deopt--> (DOUBLE/INT + Instruction). -//! RUN options: "--compiler-regex=_GLOBAL::profiling_abs", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname=_GLOBAL::profiling_abs", entry: "_GLOBAL::func_main_0" //! METHOD "profiling_abs" //! EVENT /Compilation,.*profiling_abs.*COMPILED/ //! PASS_AFTER "InlineIntrinsics" diff --git a/tests/checked/ecma_inline_builtins_intrinsic_double_with_int.js b/tests/checked/ecma_inline_builtins_intrinsic_double_with_int.js index ee25072c0bf0e672082bb890ea3cd75ac5aa0c2b..f545a31818e5ca53847184309829ae871d5d1123 100644 --- a/tests/checked/ecma_inline_builtins_intrinsic_double_with_int.js +++ b/tests/checked/ecma_inline_builtins_intrinsic_double_with_int.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 Ecma builtins inlining. Speculations should be the following: (DOUBLE + Intrinsic) --deopt--> (DOUBLE/INT + Intrinsic). -//! RUN options: "--compiler-regex=\"_GLOBAL::profiling_(clz32|sin)\"", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname=\"_GLOBAL::profiling_(clz32|sin)\"", entry: "_GLOBAL::func_main_0" //! METHOD "profiling_sin" //! EVENT /Compilation.*profiling_sin.*COMPILED/ //! PASS_AFTER "InlineIntrinsics" @@ -41,7 +41,7 @@ //! EVENT_NEXT_NOT /Compilation.*profiling_sin/ //! CHECKER Ecma builtins inlining. Check for intrinsics that accepts only ECMASCRIPT_INT_TYPE. Speculations should be the following: (CallDynamic) --deopt--> (CallDynamic). -//! RUN options: "--compiler-regex=\"_GLOBAL::profiling_(clz32|sin)\"", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname=\"_GLOBAL::profiling_(clz32|sin)\"", entry: "_GLOBAL::func_main_0" //! METHOD "profiling_clz32" //! EVENT /Compilation.*profiling_clz32.*COMPILED/ //! PASS_AFTER "InlineIntrinsics" diff --git a/tests/checked/ecma_inline_builtins_intrinsic_int_with_double.js b/tests/checked/ecma_inline_builtins_intrinsic_int_with_double.js index b63339592b670bb7db57bf6982c056d67b6c4203..aaac4ce74d8765eee15dd9b91e6f42a2e8e60ba1 100644 --- a/tests/checked/ecma_inline_builtins_intrinsic_int_with_double.js +++ b/tests/checked/ecma_inline_builtins_intrinsic_int_with_double.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 Ecma builtins inlining. Speculations should be the following: (INTEGER + Intrinsic) --deopt--> (DOUBLE/INT + Intrinsic). -//! RUN options: "--compiler-regex=\"_GLOBAL::profiling_(clz32|sin)\"", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname=\"_GLOBAL::profiling_(clz32|sin)\"", entry: "_GLOBAL::func_main_0" //! METHOD "profiling_sin" //! EVENT /Compilation.*profiling_sin.*COMPILED/ //! PASS_AFTER "InlineIntrinsics" @@ -42,7 +42,7 @@ //! EVENT_NEXT_NOT /Compilation.*profiling_sin/ //! CHECKER Ecma builtins inlining. Check for intrinsics that accepts only ECMASCRIPT_INT_TYPE. Speculations should be the following: (INTEGER + Intrinsic) --deopt--> (CallDynamic). -//! RUN options: "--compiler-regex=\"_GLOBAL::profiling_(clz32|sin)\"", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname=\"_GLOBAL::profiling_(clz32|sin)\"", entry: "_GLOBAL::func_main_0" //! METHOD "profiling_clz32" //! EVENT /Compilation.*profiling_clz32.*COMPILED/ //! PASS_AFTER "InlineIntrinsics" diff --git a/tests/checked/ecma_inline_builtins_speculation_fail.js b/tests/checked/ecma_inline_builtins_speculation_fail.js index ee60925baebb8ea34f8fd3763f61e0589d3e49bb..17444ed32f362ee17b4d632bf0ae205bc970a4bc 100644 --- a/tests/checked/ecma_inline_builtins_speculation_fail.js +++ b/tests/checked/ecma_inline_builtins_speculation_fail.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 Ecma builtins inlining. Must deoptimize if actual was function changed. -//! RUN options: "--compiler-regex=_GLOBAL::profiling_sin", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname=_GLOBAL::profiling_sin", entry: "_GLOBAL::func_main_0" //! METHOD "profiling_sin" //! EVENT /Compilation.*profiling_sin.*COMPILED/ //! PASS_AFTER "InlineIntrinsics" diff --git a/tests/checked/ecma_inlining_deoptimize.js b/tests/checked/ecma_inlining_deoptimize.js index d959d863791673650d8b68df3c7f37c315f6b7ba..83ff4d08e517d6b07f454381c9e23fe423dd580f 100644 --- a/tests/checked/ecma_inlining_deoptimize.js +++ b/tests/checked/ecma_inlining_deoptimize.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 @@ -15,7 +15,7 @@ //! CHECKER Ecma Inlining. Must deoptimize. -//! 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-regex:qname=_GLOBAL::test ", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::test,_GLOBAL::one,.*DYNAMIC_MONOMORPHIC,SUCCESS/ //! EVENT /Compilation,_GLOBAL::test,.*,COMPILED/ //! EVENT /Deoptimization,_GLOBAL::.*tes.*,.*,IFRAME/ diff --git a/tests/checked/ecma_inlining_megamorphic.js b/tests/checked/ecma_inlining_megamorphic.js index 07d0839a16c616578599101e939e4be56476647d..d9f434c7e22a3b4370a82207eb387c378f37acba 100644 --- a/tests/checked/ecma_inlining_megamorphic.js +++ b/tests/checked/ecma_inlining_megamorphic.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 @@ -50,7 +50,7 @@ function test_inlining(N, except_res) { } //! CHECKER Ecma Inlining. Do not inline, megamorphic 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-regex:qname=_GLOBAL::test ", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::test,-,.*,DYNAMIC_POLYMORPHIC,FAIL_MEGAMORPHIC/ //! EVENT /Compilation,_GLOBAL::test,.*,COMPILED/ test_inlining(5, 60) \ No newline at end of file diff --git a/tests/checked/ecma_inlining_monomorphic.js b/tests/checked/ecma_inlining_monomorphic.js index 0afae69a5cff6488ee5fae1ee6296acc22246504..9d5abff93a5023dc4e2cd272ad82b4cd6fa953ae 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-regex:qname=_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-regex:qname=_GLOBAL::test", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::test,_GLOBAL::one,.*DYNAMIC_MONOMORPHIC,SUCCESS/ //! METHOD "test" //! PASS_AFTER "IrBuilder" diff --git a/tests/checked/ecma_inlining_monomorphic_methods.js b/tests/checked/ecma_inlining_monomorphic_methods.js index aba3af0c2edb68399e2a736617c93d4ebd118c52..7fa0dc4fb3365ecafdf382c9946a3b835c74fbcf 100644 --- a/tests/checked/ecma_inlining_monomorphic_methods.js +++ b/tests/checked/ecma_inlining_monomorphic_methods.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 Ecma Inlining. Must inline, monomorphic call by methods. -//! RUN options: "--no-async-jit --compiler-hotness-threshold=5 --compiler-regex _GLOBAL::test", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=5 --compiler-regex:qname=_GLOBAL::test", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::test,_GLOBAL::func,.*DYNAMIC_MONOMORPHIC,SUCCESS/ //! EVENT /Compilation,_GLOBAL::test,.*,COMPILED/ //! EVENT_NOT /Deoptimization,_GLOBAL::.*test.*,.*,IFRAME/ diff --git a/tests/checked/ecma_inlining_polymorphic.js b/tests/checked/ecma_inlining_polymorphic.js index e879e42237124894242dce46088ef694a3ba3bd1..cd5b0b9ee497a71855859c5c263620d9b39a7d1f 100644 --- a/tests/checked/ecma_inlining_polymorphic.js +++ b/tests/checked/ecma_inlining_polymorphic.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 @@ -50,7 +50,7 @@ function test_inlining(N, except_res) { } //! CHECKER Ecma Inlining. Must inline, polymorphic 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-regex:qname=_GLOBAL::test ", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::test,_GLOBAL::one,.*DYNAMIC_POLYMORPHIC,SUCCESS/ //! EVENT /Inline,_GLOBAL::test,_GLOBAL::two,.*DYNAMIC_POLYMORPHIC,SUCCESS/ //! EVENT /Inline,_GLOBAL::test,_GLOBAL::three,.*DYNAMIC_POLYMORPHIC,SUCCESS/ diff --git a/tests/checked/ecma_inlining_polymorphic_2.js b/tests/checked/ecma_inlining_polymorphic_2.js index 69878c525ee631cc68d555afa1df59f4e6648711..e0b691d77be31564d041b699403b8877547d58c7 100644 --- a/tests/checked/ecma_inlining_polymorphic_2.js +++ b/tests/checked/ecma_inlining_polymorphic_2.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 @@ -54,7 +54,7 @@ function test_inlining(N, except_res) { } //! CHECKER Ecma Inlining. Must inline, polymorphic 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-regex:qname=_GLOBAL::test ", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::test,_GLOBAL::one,.*DYNAMIC_POLYMORPHIC,SUCCESS/ //! EVENT /Inline,_GLOBAL::test,_GLOBAL::two,.*DYNAMIC_POLYMORPHIC,SUCCESS/ //! EVENT /Inline,_GLOBAL::test,_GLOBAL::three,.*DYNAMIC_POLYMORPHIC,SUCCESS/ diff --git a/tests/checked/ecma_profiling.js b/tests/checked/ecma_profiling.js index 30ca63a1ac0c63b11b3e8192955677d448ea716f..ccd22f9915ac735ee3b82f1b1451a3615a67e75d 100644 --- a/tests/checked/ecma_profiling.js +++ b/tests/checked/ecma_profiling.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 Common JIT profiling -//! 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-regex:qname=_GLOBAL::test_.*", entry: "_GLOBAL::func_main_0" //! EVENT_NOT /Deoptimization.*/ //! //! METHOD "test_profile" diff --git a/tests/checked/ecma_recursive_ctor_inlining.js b/tests/checked/ecma_recursive_ctor_inlining.js index 9b21ffedc221d1e74de57c72e5c6200626a90854..26cc88c303cf2fe3202428d783d4a4f09bbe2264 100644 --- a/tests/checked/ecma_recursive_ctor_inlining.js +++ b/tests/checked/ecma_recursive_ctor_inlining.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 Inlined constructors from expanded intrinsics recursively -//! 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-regex:qname=_GLOBAL::test", entry: "_GLOBAL::func_main_0" //! EVENT /Inline,_GLOBAL::outer_ctor,_GLOBAL::inner_ctor,.*DYNAMIC_MONOMORPHIC,SUCCESS/ //! EVENT /Inline,_GLOBAL::test,_GLOBAL::outer_ctor,.*DYNAMIC_MONOMORPHIC,SUCCESS/ //! EVENT /Compilation,_GLOBAL::test,.*,COMPILED/ diff --git a/tests/checked/getunmappedargs_test.js b/tests/checked/getunmappedargs_test.js index 474386e405c1355265ba0cd78c7a82ba52a6a231..6c0a7a4c3d678e581a67216d7ec687e62cd04c88 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-regex:qname=_GLOBAL::foo", entry: "_GLOBAL::func_main_0" //! METHOD "foo" //! PASS_AFTER "IrBuilder" //! INST /Intrinsic.GetUnmappedArgs.*/ diff --git a/tests/checked/hclass_check_constructor.js b/tests/checked/hclass_check_constructor.js index a1f4bb4d0627d91c09f1d4a9984aaa382946075f..ce0acb87bbbf8eae5a2b689461afb07484b1cd6c 100644 --- a/tests/checked/hclass_check_constructor.js +++ b/tests/checked/hclass_check_constructor.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 hclass check with constructor -//! RUN options: "--compiler-regex='_GLOBAL::main' --compiler-enable-jit=true --no-async-jit=true --compiler-hotness-threshold=0", entry: "_GLOBAL::func_main_0", result: 1 +//! RUN options: "--compiler-regex:qname='_GLOBAL::main' --compiler-enable-jit=true --no-async-jit=true --compiler-hotness-threshold=0", entry: "_GLOBAL::func_main_0", result: 1 //! EVENT /Compilation,_GLOBAL::main,.*,COMPILED/ //! EVENT /DeoptimizationReason,_GLOBAL::func_main_0,ANY_TYPE_CHECK/ diff --git a/tests/checked/hclass_check_elim.js b/tests/checked/hclass_check_elim.js index d98c09359a659d2a40d5ed73379101a7039fac7f..2502843792985ee2d617914e21a6df95aca1b109 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:qname='_GLOBAL::main' --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:qname='_GLOBAL::main' --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_non_callable.js b/tests/checked/hclass_check_non_callable.js index 40fa65b9b437a12797a09abb484500428b9db858..3c8dd32b473e380e29609537b27d7d7abff953b8 100644 --- a/tests/checked/hclass_check_non_callable.js +++ b/tests/checked/hclass_check_non_callable.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 hclass check non callable function -//! RUN options: "--compiler-regex='_GLOBAL::main' --compiler-enable-jit=true --compiler-inlining=true --no-async-jit=true --compiler-hotness-threshold=0", entry: "_GLOBAL::func_main_0", result: 1 +//! RUN options: "--compiler-regex:qname='_GLOBAL::main' --compiler-enable-jit=true --compiler-inlining=true --no-async-jit=true --compiler-hotness-threshold=0", entry: "_GLOBAL::func_main_0", result: 1 //! EVENT /Compilation,_GLOBAL::main,.*,COMPILED/ //! EVENT /DeoptimizationReason,_GLOBAL::func_main_0,ANY_TYPE_CHECK/ //! METHOD "main" diff --git a/tests/checked/hclass_check_not_elim.js b/tests/checked/hclass_check_not_elim.js index c7da937c0806c249a61e736d422ada694b04495c..d9c22c7e52b5732f37e4ed9cbde5809c9128c63a 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:qname='_GLOBAL::main' --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" diff --git a/tests/checked/inline_intrinsics.js b/tests/checked/inline_intrinsics.js index 702d8414de020cccb62419404820460be6157114..021b5f51eae414aadbf59e1165a195d10606d5fe 100644 --- a/tests/checked/inline_intrinsics.js +++ b/tests/checked/inline_intrinsics.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 Test arithmetic aot -//! RUN_PAOC options: "--compiler-regex '_GLOBAL::test_(\\w+_[if](_[if]|)|toboolean|ld.*|string|.*compare.*)'" +//! RUN_PAOC options: "--compiler-regex:qname='_GLOBAL::test_(\\w+_[if](_[if]|)|toboolean|ld.*|string|.*compare.*)'" //! check_aot = lambda do |op, intrinsic, form, inst| //! METHOD "test_#{op.downcase}_#{form}" //! PASS_BEFORE "InlineIntrinsics" @@ -155,7 +155,7 @@ //! EVENT_NOT /AotEntrypointFound.*/ //! CHECKER Test mod instruction -//! RUN options: "--no-async-jit --compiler-hotness-threshold=1 --compiler-regex _GLOBAL::test_mod_with_.*_int", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=1 --compiler-regex:qname=_GLOBAL::test_mod_with_.*_int", entry: "_GLOBAL::func_main_0" //! EVENT_NOT /AotEntrypointFound.*/ //! METHOD "test_mod_with_neg_int" //! PASS_BEFORE "InlineIntrinsics" diff --git a/tests/checked/ldlex.js b/tests/checked/ldlex.js index 1214343e9569919b87a517fc071144255e104201..2556f08668bc14211e1a77d0253eaabbe4fadde1 100644 --- a/tests/checked/ldlex.js +++ b/tests/checked/ldlex.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 @@ -60,7 +60,7 @@ function get_level3() { } //! CHECKER Inline LdLexDyn/LdLexVarDyn intrinsics -//! RUN options: "--compiler-hotness-threshold=0 --no-async-jit=true --compiler-regex='_GLOBAL::compile_.*'", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-hotness-threshold=0 --no-async-jit=true --compiler-regex:qname='_GLOBAL::compile_.*'", entry: "_GLOBAL::func_main_0" //! METHOD "compile_level0" //! PASS_AFTER "IrBuilder" //! INST /Intrinsic.LdLexDyn.*/ diff --git a/tests/checked/load_from_constant_pool.js b/tests/checked/load_from_constant_pool.js index f946d39764d2314f4997345b2e8bfc1c59f7d8a3..3e0a8530ec9fe1142061ad048173a541dce4c6df 100644 --- a/tests/checked/load_from_constant_pool.js +++ b/tests/checked/load_from_constant_pool.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 Replace LoadFromConstantPool by LoadObjFromConst, JIT mode -//! RUN options: "--compiler-hotness-threshold=1 --no-async-jit=true --compiler-regex='_GLOBAL::.*define_.'", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-hotness-threshold=1 --no-async-jit=true --compiler-regex:qname='_GLOBAL::.*define_.'", entry: "_GLOBAL::func_main_0" //! METHOD "define_f" //! PASS_AFTER "IrBuilder" //! INST "LoadConstantPool" @@ -57,7 +57,7 @@ //! INST_NEXT "Intrinsic.DefineNCFuncDyn" //! CHECKER Replace LoadFromConstantPool by LoadArrayI, AOT mode -//! RUN_PAOC options: "--compiler-regex='_GLOBAL::define_f'" +//! RUN_PAOC options: "--compiler-regex:qname='_GLOBAL::define_f'" //! METHOD "define_f" //! PASS_AFTER "IrBuilder" //! INST "LoadConstantPool" diff --git a/tests/checked/new_obj.js b/tests/checked/new_obj.js index b4a439afde2c47dd65c04609eb0a154e07ee7c86..718f9d1c846c0f9c7f35e18dc8f2c288686a7d35 100644 --- a/tests/checked/new_obj.js +++ b/tests/checked/new_obj.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 @@ -117,7 +117,7 @@ function alloc_8() { } //! CHECKER Expand new object dyn range -//! RUN options: "--compiler-hotness-threshold=0 --compiler-ecma-newobj-profiling=false --compiler-regex _GLOBAL::alloc_.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-hotness-threshold=0 --compiler-ecma-newobj-profiling=false --compiler-regex:qname=_GLOBAL::alloc_.*", entry: "_GLOBAL::func_main_0" //! METHOD "alloc_1" //! PASS_AFTER "IrBuilder" //! INST_NOT /Intrinsic.AllocDynObject.*/ @@ -160,7 +160,7 @@ function alloc_8() { //! INST /Intrinsic.AllocDynObject.*/ //! CHECKER Expand new object dyn range in AOT mode -//! RUN_PAOC options: " --compiler-ecma-newobj-profiling=false --compiler-regex '_GLOBAL::alloc_.*'" +//! RUN_PAOC options: " --compiler-ecma-newobj-profiling=false --compiler-regex:qname='_GLOBAL::alloc_.*'" //! METHOD "alloc_1" //! PASS_AFTER "IrBuilder" //! INST_NOT /Intrinsic.AllocDynObject.*/ diff --git a/tests/checked/new_obj_profiling.js b/tests/checked/new_obj_profiling.js index 80a6d2ba49a1bde9d5b369f79dc6a73397b999ed..1eb72b8eee2aaddaf7ab2a54839d576bde8b61e3 100644 --- a/tests/checked/new_obj_profiling.js +++ b/tests/checked/new_obj_profiling.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 @@ -49,7 +49,7 @@ function monomorphic_call_site_derived_ctor() { } //! CHECKER Expand new object dyn range using profiling info -//! RUN options: "--compiler-hotness-threshold=10 --compiler-ecma-newobj-profiling=true --compiler-regex _GLOBAL::.*_call_site.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-hotness-threshold=10 --compiler-ecma-newobj-profiling=true --compiler-regex:qname=_GLOBAL::.*_call_site.*", entry: "_GLOBAL::func_main_0" //! METHOD "bimorphic_call_site" //! PASS_AFTER "Codegen" //! INST /Intrinsic.AllocDynObject.*/ diff --git a/tests/checked/obj_by_index.js b/tests/checked/obj_by_index.js index 0237729904a9d9518efdaf6484d9f3a604603ef8..871af8f85b2accda7517943017de7a0977beca23 100644 --- a/tests/checked/obj_by_index.js +++ b/tests/checked/obj_by_index.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 Test check store and load by index -//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex _GLOBAL::test_load_store_by_index", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex:qname=_GLOBAL::test_load_store_by_index", entry: "_GLOBAL::func_main_0" //! METHOD "test_load_store_by_index" //! PASS_AFTER "IrBuilder" //! INST_COUNT "LoadObject", 2 diff --git a/tests/checked/obj_by_name.js b/tests/checked/obj_by_name.js index 9de9288fa01a4770809423c22fd8f9d9f37eadaf..7b7870d4931ca2445059e26fd1cfd18ccc064ec5 100644 --- a/tests/checked/obj_by_name.js +++ b/tests/checked/obj_by_name.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 Test check store and load by name -//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex _GLOBAL::test_load_store_by_name.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex:qname=_GLOBAL::test_load_store_by_name.*", entry: "_GLOBAL::func_main_0" //! METHOD "test_load_store_by_name_single_field_inlined" //! PASS_AFTER "InlineIntrinsics" //! INST "AnyTypeCheck ECMASCRIPT_HEAP_OBJECT_TYPE" diff --git a/tests/checked/obj_by_value.js b/tests/checked/obj_by_value.js index e9837bd03f38d07c5c63aef627b30e29646f2c72..aaf81a8ac41b671d64a7ee74635d1e457311f470 100644 --- a/tests/checked/obj_by_value.js +++ b/tests/checked/obj_by_value.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 Test check store and load by value -//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex _GLOBAL::test_value.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex:qname=_GLOBAL::test_value.*", entry: "_GLOBAL::func_main_0" //! METHOD "test_value_store_single_class" //! PASS_BEFORE "Lowering" //! INST "AnyTypeCheck ECMASCRIPT_HEAP_OBJECT_TYPE" diff --git a/tests/checked/poplexenv.js b/tests/checked/poplexenv.js index 77935fd40f2fc0176c3a668cce6a993bd43d900b..8417ef909fad93cb55266374e4ae2897092dd1bb 100644 --- a/tests/checked/poplexenv.js +++ b/tests/checked/poplexenv.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 Inline PopLexenvDyn intrinsic -//! RUN options: "--compiler-hotness-threshold=0 --no-async-jit=true --compiler-enable-osr=false --compiler-regex='_GLOBAL::level1'", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-hotness-threshold=0 --no-async-jit=true --compiler-enable-osr=false --compiler-regex:qname='_GLOBAL::level1'", entry: "_GLOBAL::func_main_0" //! METHOD "level1" //! PASS_AFTER "IrBuilder" //! INST "Intrinsic.PopLexenvDyn" diff --git a/tests/checked/recompile_double_with_int.js b/tests/checked/recompile_double_with_int.js index 5c88018433bce8f54b4b0db18e43ee7ba01be629..1e4540794a3ff76f2e43b45ad76b7ee5750a9035 100644 --- a/tests/checked/recompile_double_with_int.js +++ b/tests/checked/recompile_double_with_int.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-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 deoptimization/recompilation starting with double_with_int deoptimization -//! RUN options: "--compiler-regex='_GLOBAL::sum' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname='_GLOBAL::sum' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::sum/ //! EVENT_NEXT /Deoptimization,_GLOBAL::func_sum_1/ //! EVENT_NEXT /Compilation,_GLOBAL::sum/ diff --git a/tests/checked/recompile_not_number.js b/tests/checked/recompile_not_number.js index 5a3a4f264323934bbc3023b3d0a3bcd6ff171bdd..16e1fa83688c8517801aae95ee18b556a46c3b36 100644 --- a/tests/checked/recompile_not_number.js +++ b/tests/checked/recompile_not_number.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-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 deoptimization/recompilation starting with not_smi deoptimization after not_number argument -//! RUN options: "--compiler-regex='_GLOBAL::sum' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname='_GLOBAL::sum' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::sum/ //! EVENT_NEXT /Deoptimization,_GLOBAL::func_sum_1/ //! EVENT_NEXT /Compilation,_GLOBAL::sum/ diff --git a/tests/checked/recompile_not_smi.js b/tests/checked/recompile_not_smi.js index 6974dec869e326e703c333112ee5f3a9c84d3e90..942e45d2062e541f6055f486e3b6a57a4c401d0f 100644 --- a/tests/checked/recompile_not_smi.js +++ b/tests/checked/recompile_not_smi.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-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 deoptimization/recompilation starting with not_smi deoptimization -//! RUN options: "--compiler-regex='_GLOBAL::sum' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname='_GLOBAL::sum' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::sum/ //! EVENT_NEXT /Deoptimization,_GLOBAL::func_sum_1/ //! EVENT_NEXT /Compilation,_GLOBAL::sum/ diff --git a/tests/checked/recompile_special.js b/tests/checked/recompile_special.js index 33ba5d485f0f0a44f5b380a9c6ca876a2c07eb25..8ce698ccc58d41d6d9f7a59ced5ff36f8567f525 100644 --- a/tests/checked/recompile_special.js +++ b/tests/checked/recompile_special.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-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 deoptimization/recompilation for special values -//! RUN options: "--compiler-regex='_GLOBAL::sum' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-regex:qname='_GLOBAL::sum' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::sum/ //! EVENT_NEXT /DeoptimizationReason,_GLOBAL::func_sum_1,NOT_SMALL_INT/ //! EVENT_NEXT /Deoptimization,_GLOBAL::func_sum_1/ diff --git a/tests/checked/recompile_undefined.js b/tests/checked/recompile_undefined.js index e2bef8bfe27645d9f04f3f79efeac90bce385090..c80338f92535c806fd1968d7fdbd80b5e0f363a4 100644 --- a/tests/checked/recompile_undefined.js +++ b/tests/checked/recompile_undefined.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-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 deoptimization/recompilation which is caused due to incomplete profiling -//! RUN options: "--compiler-enable-osr=false --compiler-regex='_GLOBAL::test' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-enable-osr=false --compiler-regex:qname='_GLOBAL::test' --no-async-jit=true --compiler-hotness-threshold=2", entry: "_GLOBAL::func_main_0" //! EVENT /Compilation,_GLOBAL::test/ //! EVENT_NEXT /Deoptimization,_GLOBAL::func_test_1/ //! EVENT_NEXT /Compilation,_GLOBAL::test/ diff --git a/tests/checked/stlex.js b/tests/checked/stlex.js index eaa6f79ac356d1237bc8ec8bb90978c27f8c3f66..eeb68f1f58c592b110874cd4cb2a9dd1963e7bfa 100644 --- a/tests/checked/stlex.js +++ b/tests/checked/stlex.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023 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 @@ -56,7 +56,7 @@ function testfn_level0(x) { } //! CHECKER Inline StLexDyn/StLexVarDyn intrinsics -//! RUN options: "--compiler-hotness-threshold=0 --no-async-jit=true --compiler-regex='_GLOBAL::testfn.*'", entry: "_GLOBAL::func_main_0" +//! RUN options: "--compiler-hotness-threshold=0 --no-async-jit=true --compiler-regex:qname='_GLOBAL::testfn.*'", entry: "_GLOBAL::func_main_0" //! METHOD "testfn" //! PASS_AFTER "IrBuilder" //! INST /Intrinsic.StLexVarDyn.*/ diff --git a/tests/checked/string_equals.js b/tests/checked/string_equals.js index 479ac8fa4ac3fdf04797520d32c01b4209d08d13..20ae8d7468475174943603f94d9f6148b585bfa3 100644 --- a/tests/checked/string_equals.js +++ b/tests/checked/string_equals.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 String equals with profiled type - call fastpath EcmaStringEquals -//! RUN options: "--no-async-jit --compiler-hotness-threshold=1 --compiler-ecma-replace-intrinsics-to-deopt=false --compiler-regex _GLOBAL::test_.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=1 --compiler-ecma-replace-intrinsics-to-deopt=false --compiler-regex:qname=_GLOBAL::test_.*", entry: "_GLOBAL::func_main_0" //! EVENT_NOT /Deoptimization.*/ //! METHOD "test_eq" //! PASS_BEFORE "InlineIntrinsics" @@ -29,7 +29,7 @@ //! INST_COUNT "Intrinsic.EcmaStringEquals", 1 //! CHECKER String equals without profiled type - call fastpath StrictEq/StrictNotEq -//! RUN options: "--no-async-jit --compiler-hotness-threshold=0 --compiler-ecma-replace-intrinsics-to-deopt=false --compiler-regex _GLOBAL::test_.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=0 --compiler-ecma-replace-intrinsics-to-deopt=false --compiler-regex:qname=_GLOBAL::test_.*", entry: "_GLOBAL::func_main_0" //! METHOD "test_eq" //! PASS_AFTER "Codegen" //! INST_NOT "Intrinsic.EcmaStringEquals" diff --git a/tests/checked/try_load_global_by_name.js b/tests/checked/try_load_global_by_name.js index 3e538ac868a5ef78e3acb77ca69141ff46e7f9bd..b525a75064c7e15860eaf81b6bf24d094238ef75 100644 --- a/tests/checked/try_load_global_by_name.js +++ b/tests/checked/try_load_global_by_name.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 @@ -15,7 +15,7 @@ //! CHECKER Inline global property based on IC, deoptimize if it is deleted or becomes accessor -//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex _GLOBAL::get_.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit --compiler-hotness-threshold=10 --compiler-regex:qname=_GLOBAL::get_.*", entry: "_GLOBAL::func_main_0" //! EVENT /Deoptimization,_GLOBAL::func_get_x/ //! EVENT /Deoptimization,_GLOBAL::func_get_y/ //! EVENT /Deoptimization,_GLOBAL::func_get_may_throw/ diff --git a/tests/checked/typeof.js b/tests/checked/typeof.js index 8bc5d1d572bcbd31321d35d7438e61fca3a0ecd1..01c1f43f60692d82097b211b9eed6c2eeff7a037 100644 --- a/tests/checked/typeof.js +++ b/tests/checked/typeof.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 Test check TypeOfDyn -//! RUN options: "--no-async-jit=true --compiler-hotness-threshold=10 --compiler-regex _GLOBAL::test_type.*", entry: "_GLOBAL::func_main_0" +//! RUN options: "--no-async-jit=true --compiler-hotness-threshold=10 --compiler-regex:qname=_GLOBAL::test_type.*", entry: "_GLOBAL::func_main_0" //! METHOD "test_type_undefined" //! PASS_BEFORE "Scheduler" //! INST "AnyTypeCheck ECMASCRIPT_UNDEFINED_TYPE" @@ -62,7 +62,7 @@ //! INST_NOT "GetAnyTypeName" //! CHECKER Test check AOT TypeOfDyn -//! RUN_PAOC options: "--compiler-regex _GLOBAL::test_type.*" +//! RUN_PAOC options: "--compiler-regex:qname=_GLOBAL::test_type.*" //! RUN options: "--compiler-enable-jit=false", entry: "_GLOBAL::func_main_0" function test_type_undefined(a)