[mips][nowasm] Fix compile errors
Port ec4fd32cf7
Change-Id: Ia952dc6f7478b90dc61ceb029f10feb79243d01d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2918988
Auto-Submit: Liu yu <liuyu@loongson.cn>
Reviewed-by: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#74782}
This commit is contained in:
parent
59d158d07d
commit
c24b5a2bc9
@ -277,10 +277,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);
|
||||
|
@ -275,10 +275,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