Index: src/mips/code-stubs-mips.h |
diff --git a/src/mips/code-stubs-mips.h b/src/mips/code-stubs-mips.h |
index 9009ec269280dcb24537e939e8e6184416fccb12..b9c1b8b539fd5ddbe83f8e538618b80db900b1b8 100644 |
--- a/src/mips/code-stubs-mips.h |
+++ b/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 || |