[riscv64] Fix error in LeaveExitFrame
Bug: v8:11767 Change-Id: Ie697921bf9d4247d1032015bddcbcc892223efdf Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2902341 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Yahan Lu <yahan@iscas.ac.cn> Cr-Commit-Position: refs/heads/master@{#74626}
This commit is contained in:
parent
23e6fac718
commit
e5a53a4c61
@ -4119,11 +4119,12 @@ void MacroAssembler::LeaveExitFrame(bool save_doubles, Register argument_count,
|
||||
ExternalReference::Create(IsolateAddressId::kContextAddress, isolate()));
|
||||
Ld(cp, MemOperand(scratch));
|
||||
|
||||
#ifdef DEBUG
|
||||
li(scratch,
|
||||
ExternalReference::Create(IsolateAddressId::kContextAddress, isolate()));
|
||||
Sd(a3, MemOperand(scratch));
|
||||
#endif
|
||||
if (FLAG_debug_code) {
|
||||
UseScratchRegisterScope temp(this);
|
||||
Register scratch2 = temp.Acquire();
|
||||
li(scratch2, Operand(Context::kInvalidContext));
|
||||
Sd(scratch2, MemOperand(scratch));
|
||||
}
|
||||
|
||||
// Pop the arguments, restore registers, and return.
|
||||
mv(sp, fp); // Respect ABI stack constraint.
|
||||
|
@ -402,13 +402,6 @@
|
||||
'test-run-wasm-64/*': [SKIP],
|
||||
'test-run-wasm/*': [SKIP],
|
||||
|
||||
# https://github.com/riscv/v8/issues/490
|
||||
'test-api/CallICFastApi_TrivialSignatureWithProfiler': [SKIP],
|
||||
'test-api/FunctionTemplateWithProfiler': [SKIP],
|
||||
'test-api/InterceptorCallICFastApi_TrivialSignatureWithProfiler': [SKIP],
|
||||
'test-api/LoadICFastApi_DirectCall_GCMoveStubWithProfiler': [SKIP],
|
||||
'test-api/SimpleCallbackWithProfiler': [SKIP],
|
||||
'test-cpu-profiler/*': [SKIP],
|
||||
|
||||
}], # 'arch == riscv64'
|
||||
|
||||
|
@ -130,8 +130,6 @@
|
||||
'debugger/wasm-scope-info*': [SKIP],
|
||||
'debugger/wasm-step-after-trap': [SKIP],
|
||||
|
||||
# https://github.com/riscv/v8/issues/490
|
||||
'cpu-profiler/console-profile-wasm': [SKIP],
|
||||
}], # 'arch == riscv64'
|
||||
|
||||
['arch == riscv64 and variant == stress_incremental_marking', {
|
||||
|
Loading…
Reference in New Issue
Block a user