diff options
Diffstat (limited to 'deps/v8/src/mips/code-stubs-mips.h')
-rw-r--r-- | deps/v8/src/mips/code-stubs-mips.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/deps/v8/src/mips/code-stubs-mips.h b/deps/v8/src/mips/code-stubs-mips.h index 9009ec2692..751095d8d8 100644 --- a/deps/v8/src/mips/code-stubs-mips.h +++ b/deps/v8/src/mips/code-stubs-mips.h @@ -140,9 +140,8 @@ class RecordWriteStub: public PlatformCodeStub { } static void Patch(Code* stub, Mode mode) { - MacroAssembler masm(NULL, - stub->instruction_start(), - stub->instruction_size()); + MacroAssembler masm(stub->GetIsolate(), stub->instruction_start(), + stub->instruction_size(), CodeObjectRequired::kNo); switch (mode) { case STORE_BUFFER_ONLY: DCHECK(GetMode(stub) == INCREMENTAL || @@ -160,8 +159,8 @@ class RecordWriteStub: public PlatformCodeStub { break; } DCHECK(GetMode(stub) == mode); - CpuFeatures::FlushICache(stub->instruction_start(), - 4 * Assembler::kInstrSize); + Assembler::FlushICache(stub->GetIsolate(), stub->instruction_start(), + 4 * Assembler::kInstrSize); } DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); |