mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 08:03:29 +00:00
!7077 Remove set jit enable for appspawn
Merge pull request !7077 from xiaoweidong/fix_jit_enable
This commit is contained in:
commit
66146b68a0
@ -185,8 +185,8 @@ void EcmaVM::PostFork()
|
||||
bool isEnableFastJit = options_.IsEnableJIT() && options_.GetEnableAsmInterpreter();
|
||||
bool isEnableBaselineJit = options_.IsEnableBaselineJIT() && options_.GetEnableAsmInterpreter();
|
||||
if (ohos::EnableAotListHelper::GetJitInstance()->IsEnableJit(bundleName) && options_.GetEnableAsmInterpreter()) {
|
||||
Jit::GetInstance()->SetEnableOrDisable(options_, isEnableFastJit, isEnableBaselineJit);
|
||||
options_.SetEnableAPPJIT(true);
|
||||
Jit::GetInstance()->SetEnableOrDisable(options_, isEnableFastJit, isEnableBaselineJit);
|
||||
bool jitEscapeDisable = panda::ecmascript::ohos::GetJitEscapeEanble();
|
||||
if ((!jitEscapeDisable) && JSNApi::IsJitEscape()) {
|
||||
isEnableFastJit = false;
|
||||
|
@ -3187,9 +3187,6 @@ EcmaVM *JSNApi::CreateJSVM(const RuntimeOption &option)
|
||||
runtimeOptions.SetEnableAOT(option.GetEnableAOT());
|
||||
runtimeOptions.SetEnablePGOProfiler(option.GetEnableProfile());
|
||||
runtimeOptions.SetPGOProfilerPath(option.GetProfileDir());
|
||||
// jit
|
||||
runtimeOptions.SetEnableJIT(option.GetEnableJIT());
|
||||
runtimeOptions.SetEnableBaselineJIT(option.GetEnableBaselineJIT());
|
||||
// Dfx
|
||||
runtimeOptions.SetLogLevel(Log::LevelToString(Log::ConvertFromRuntime(option.GetLogLevel())));
|
||||
runtimeOptions.SetEnableArkTools(option.GetEnableArkTools());
|
||||
|
Loading…
Reference in New Issue
Block a user