Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 7847b3b398d5a749619c684c0fea00494f5ee362..3b2e039c4b05b8f361a8ddf1abb42e50c3e8c16a 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -198,7 +198,7 @@ void MacroAssembler::RememberedSetHelper( |
j(equal, &done, Label::kNear); |
} |
StoreBufferOverflowStub store_buffer_overflow = |
- StoreBufferOverflowStub(save_fp); |
+ StoreBufferOverflowStub(isolate(), save_fp); |
CallStub(&store_buffer_overflow); |
if (and_then == kReturnAtEnd) { |
ret(0); |
@@ -247,7 +247,7 @@ void MacroAssembler::ClampUint8(Register reg) { |
void MacroAssembler::SlowTruncateToI(Register result_reg, |
Register input_reg, |
int offset) { |
- DoubleToIStub stub(input_reg, result_reg, offset, true); |
+ DoubleToIStub stub(isolate(), input_reg, result_reg, offset, true); |
call(stub.GetCode(isolate()), RelocInfo::CODE_TARGET); |
} |
@@ -634,7 +634,8 @@ void MacroAssembler::RecordWriteForMap( |
// them. |
lea(address, FieldOperand(object, HeapObject::kMapOffset)); |
mov(value, Immediate(map)); |
- RecordWriteStub stub(object, value, address, OMIT_REMEMBERED_SET, save_fp); |
+ RecordWriteStub stub(isolate(), object, value, address, OMIT_REMEMBERED_SET, |
+ save_fp); |
CallStub(&stub); |
bind(&done); |
@@ -699,7 +700,8 @@ void MacroAssembler::RecordWrite(Register object, |
&done, |
Label::kNear); |
- RecordWriteStub stub(object, value, address, remembered_set_action, fp_mode); |
+ RecordWriteStub stub(isolate(), object, value, address, remembered_set_action, |
+ fp_mode); |
CallStub(&stub); |
bind(&done); |
@@ -717,7 +719,7 @@ void MacroAssembler::RecordWrite(Register object, |
void MacroAssembler::DebugBreak() { |
Move(eax, Immediate(0)); |
mov(ebx, Immediate(ExternalReference(Runtime::kDebugBreak, isolate()))); |
- CEntryStub ces(1); |
+ CEntryStub ces(isolate(), 1); |
call(ces.GetCode(isolate()), RelocInfo::DEBUG_BREAK); |
} |
#endif |
@@ -2246,8 +2248,10 @@ void MacroAssembler::CallRuntime(const Runtime::Function* f, |
// smarter. |
Move(eax, Immediate(num_arguments)); |
mov(ebx, Immediate(ExternalReference(f, isolate()))); |
- CEntryStub ces(1, CpuFeatures::IsSupported(SSE2) ? save_doubles |
- : kDontSaveFPRegs); |
+ CEntryStub ces(isolate(), |
+ 1, |
+ CpuFeatures::IsSupported(SSE2) ? save_doubles |
+ : kDontSaveFPRegs); |
CallStub(&ces); |
} |
@@ -2257,7 +2261,7 @@ void MacroAssembler::CallExternalReference(ExternalReference ref, |
mov(eax, Immediate(num_arguments)); |
mov(ebx, Immediate(ref)); |
- CEntryStub stub(1); |
+ CEntryStub stub(isolate(), 1); |
CallStub(&stub); |
} |
@@ -2451,7 +2455,7 @@ void MacroAssembler::CallApiFunctionAndReturn( |
void MacroAssembler::JumpToExternalReference(const ExternalReference& ext) { |
// Set the entry point and jump to the C entry runtime stub. |
mov(ebx, Immediate(ext)); |
- CEntryStub ces(1); |
+ CEntryStub ces(isolate(), 1); |
jmp(ces.GetCode(isolate()), RelocInfo::CODE_TARGET); |
} |