PPC/s390: [nowasm] Fix compile errors
Port ec4fd32cf7
Original Commit Message:
This ports https://crrev.com/c/2905602 to the other platforms.
R=clemensb@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
BUG=
LOG=N
Change-Id: I23b4e944440b9189b12ae26d7b6c33bd07a53cbf
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2912781
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#74717}
This commit is contained in:
parent
3871f04891
commit
71c5e9c37c
@ -694,11 +694,15 @@ void TurboAssembler::CallRecordWriteStub(
|
||||
pop(slot_parameter);
|
||||
pop(object_parameter);
|
||||
|
||||
#if V8_ENABLE_WEBASSEMBLY
|
||||
if (mode == StubCallMode::kCallWasmRuntimeStub) {
|
||||
// Use {near_call} for direct Wasm call within a module.
|
||||
auto wasm_target =
|
||||
wasm::WasmCode::GetRecordWriteStub(remembered_set_action, fp_mode);
|
||||
Call(wasm_target, RelocInfo::WASM_STUB_CALL);
|
||||
#else
|
||||
if (false) {
|
||||
#endif
|
||||
} else {
|
||||
auto builtin_index =
|
||||
Builtins::GetRecordWriteStub(remembered_set_action, fp_mode);
|
||||
|
@ -910,10 +910,14 @@ void TurboAssembler::CallRecordWriteStub(
|
||||
Pop(slot_parameter);
|
||||
Pop(object_parameter);
|
||||
|
||||
#if V8_ENABLE_WEBASSEMBLY
|
||||
if (mode == StubCallMode::kCallWasmRuntimeStub) {
|
||||
auto wasm_target =
|
||||
wasm::WasmCode::GetRecordWriteStub(remembered_set_action, fp_mode);
|
||||
Call(wasm_target, RelocInfo::WASM_STUB_CALL);
|
||||
#else
|
||||
if (false) {
|
||||
#endif
|
||||
} else {
|
||||
auto builtin_index =
|
||||
Builtins::GetRecordWriteStub(remembered_set_action, fp_mode);
|
||||
|
Loading…
Reference in New Issue
Block a user