From 19aa3795de1ede16b0e6499a8151716b73c33b7b Mon Sep 17 00:00:00 2001 From: dingding Date: Wed, 10 May 2023 14:42:41 +0800 Subject: [PATCH] Update Name of AOT Option Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I71X4P Signed-off-by: dingding Change-Id: I203b18291ede1b569d1c3bd6369ae3f8ae91a23d --- es2panda/test/runner.py | 4 ++-- test262/run_sunspider.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/es2panda/test/runner.py b/es2panda/test/runner.py index 6382410150..c2665fe54f 100755 --- a/es2panda/test/runner.py +++ b/es2panda/test/runner.py @@ -1372,8 +1372,8 @@ class TypeExtractorWithAOTTest(Test): if self.with_running: aot_abc_cmd.extend(["--aot-file=%s" % file_name]) else: - aot_abc_cmd.extend(["--assert-types=true"]) - aot_abc_cmd.extend(["--enable-type-lowering=false"]) + aot_abc_cmd.extend(["--compiler-assert-types=true"]) + aot_abc_cmd.extend(["--compiler-opt-type-lowering=false"]) aot_abc_cmd.extend([test_abc_name]) self.log_cmd(aot_abc_cmd) diff --git a/test262/run_sunspider.py b/test262/run_sunspider.py index 71b61df6e6..079494dd87 100755 --- a/test262/run_sunspider.py +++ b/test262/run_sunspider.py @@ -460,12 +460,12 @@ class ArkProgram(): cmd_args = [] if self.arch == ARK_ARCH_LIST[1]: cmd_args = [self.ark_aot_tool, ICU_PATH, - f'--target-triple=aarch64-unknown-linux-gnu', + f'--compiler-target-triple=aarch64-unknown-linux-gnu', f'--aot-file={file_name_pre}', self.abc_file] elif self.arch == ARK_ARCH_LIST[2]: cmd_args = [self.ark_aot_tool, ICU_PATH, - f'--target-triple=arm-unknown-linux-gnu', + f'--compiler-target-triple=arm-unknown-linux-gnu', f'--aot-file={file_name_pre}', self.abc_file] elif self.arch == ARK_ARCH_LIST[0]: -- Gitee