!1214 Fix test262 new-symbol-with-super-throws.js fail

Merge pull request !1214 from dingding/fix_test262
This commit is contained in:
openharmony_ci 2022-05-06 07:17:25 +00:00 committed by Gitee
commit f5a5ee3062
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3597,12 +3597,12 @@ NO_UB_SANITIZE void EcmaInterpreter::RunInternal(JSThread *thread, ConstantPool
LOG(DEBUG, INTERPRETER) << "Entry: Runtime SuperCall ";
JSTaggedValue retValue = reinterpret_cast<EcmaEntrypoint>(
const_cast<void *>(superCtorMethod->GetNativePointer()))(&ecmaRuntimeCallInfo);
thread->SetCurrentSPFrame(sp);
if (UNLIKELY(thread->HasPendingException())) {
INTERPRETER_GOTO_EXCEPTION_HANDLER();
}
LOG(DEBUG, INTERPRETER) << "Exit: Runtime SuperCall ";
thread->SetCurrentSPFrame(sp);
SET_ACC(retValue);
DISPATCH(BytecodeInstruction::Format::PREF_IMM16_V8);
}