Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 09ccbc39bd36a4138ebb80fc9663270300affb9e..0234e48ad60f552a6b3fbbf89cdf420daac72aaa 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -556,7 +556,8 @@ void MacroAssembler::RecordWrite(Register object, |
if (lr_status == kLRHasNotBeenSaved) { |
push(lr); |
} |
- RecordWriteStub stub(object, value, address, remembered_set_action, fp_mode); |
+ RecordWriteStub stub(isolate(), object, value, address, remembered_set_action, |
+ fp_mode); |
CallStub(&stub); |
if (lr_status == kLRHasNotBeenSaved) { |
pop(lr); |
@@ -605,7 +606,7 @@ void MacroAssembler::RememberedSetHelper(Register object, // For debug tests. |
} |
push(lr); |
StoreBufferOverflowStub store_buffer_overflow = |
- StoreBufferOverflowStub(fp_mode); |
+ StoreBufferOverflowStub(isolate(), fp_mode); |
CallStub(&store_buffer_overflow); |
pop(lr); |
bind(&done); |
@@ -1339,7 +1340,7 @@ void MacroAssembler::IsObjectNameType(Register object, |
void MacroAssembler::DebugBreak() { |
mov(r0, Operand::Zero()); |
mov(r1, Operand(ExternalReference(Runtime::kDebugBreak, isolate()))); |
- CEntryStub ces(1); |
+ CEntryStub ces(isolate(), 1); |
ASSERT(AllowThisStubCall(&ces)); |
Call(ces.GetCode(isolate()), RelocInfo::DEBUG_BREAK); |
} |
@@ -2389,7 +2390,7 @@ void MacroAssembler::CallApiFunctionAndReturn( |
// Native call returns to the DirectCEntry stub which redirects to the |
// return address pushed on stack (could have moved after GC). |
// DirectCEntry stub itself is generated early and never moves. |
- DirectCEntryStub stub; |
+ DirectCEntryStub stub(isolate()); |
stub.GenerateCall(this, r3); |
if (FLAG_log_timer_events) { |
@@ -2594,7 +2595,7 @@ void MacroAssembler::TruncateDoubleToI(Register result, |
sub(sp, sp, Operand(kDoubleSize)); // Put input on stack. |
vstr(double_input, MemOperand(sp, 0)); |
- DoubleToIStub stub(sp, result, 0, true, true); |
+ DoubleToIStub stub(isolate(), sp, result, 0, true, true); |
CallStub(&stub); |
add(sp, sp, Operand(kDoubleSize)); |
@@ -2616,7 +2617,8 @@ void MacroAssembler::TruncateHeapNumberToI(Register result, |
// If we fell through then inline version didn't succeed - call stub instead. |
push(lr); |
- DoubleToIStub stub(object, |
+ DoubleToIStub stub(isolate(), |
+ object, |
result, |
HeapNumber::kValueOffset - kHeapObjectTag, |
true, |
@@ -2682,7 +2684,7 @@ void MacroAssembler::CallRuntime(const Runtime::Function* f, |
// smarter. |
mov(r0, Operand(num_arguments)); |
mov(r1, Operand(ExternalReference(f, isolate()))); |
- CEntryStub stub(1, save_doubles); |
+ CEntryStub stub(isolate(), 1, save_doubles); |
CallStub(&stub); |
} |
@@ -2692,7 +2694,7 @@ void MacroAssembler::CallExternalReference(const ExternalReference& ext, |
mov(r0, Operand(num_arguments)); |
mov(r1, Operand(ext)); |
- CEntryStub stub(1); |
+ CEntryStub stub(isolate(), 1); |
CallStub(&stub); |
} |
@@ -2724,7 +2726,7 @@ void MacroAssembler::JumpToExternalReference(const ExternalReference& builtin) { |
ASSERT((reinterpret_cast<intptr_t>(builtin.address()) & 1) == 1); |
#endif |
mov(r1, Operand(builtin)); |
- CEntryStub stub(1); |
+ CEntryStub stub(isolate(), 1); |
Jump(stub.GetCode(isolate()), RelocInfo::CODE_TARGET); |
} |