diff --git a/build/compile_script/ark.py b/build/compile_script/ark.py index a7603bc1e11af8304232478eb961082bf9b89e43..55ce9b12e317e21552a18ae96b431358359413ee 100755 --- a/build/compile_script/ark.py +++ b/build/compile_script/ark.py @@ -569,6 +569,13 @@ class ArkPy: if test_list_value is not None: args_to_regress_cmd.extend([test_list_name, test_list_value]) + compiler_opt_track_field_name = "--compiler-opt-track-field" + compiler_opt_track_field_value, arg_list = ArkPy.parse_bool_option( + arg_list, option_name=compiler_opt_track_field_name, default_value=False + ) + if compiler_opt_track_field_value: + args_to_regress_cmd.extend([compiler_opt_track_field_name]) + if len(arg_list) == 1: arg = arg_list[0] if ".js" in arg: