Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 1fd7c2c94624a1a7e0b8b5426dbbf18c44d146ad..e59f6d579769803ea8b55b53cad5c17716562d0e 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -259,7 +259,7 @@ void MacroAssembler::RememberedSetHelper(Register object, // For debug tests. |
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); |
@@ -437,7 +437,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); |
@@ -608,7 +609,7 @@ void MacroAssembler::CallRuntime(const Runtime::Function* f, |
// smarter. |
Set(rax, num_arguments); |
LoadAddress(rbx, ExternalReference(f, isolate())); |
- CEntryStub ces(f->result_size, save_doubles); |
+ CEntryStub ces(isolate(), f->result_size, save_doubles); |
CallStub(&ces); |
} |
@@ -618,7 +619,7 @@ void MacroAssembler::CallExternalReference(const ExternalReference& ext, |
Set(rax, num_arguments); |
LoadAddress(rbx, ext); |
- CEntryStub stub(1); |
+ CEntryStub stub(isolate(), 1); |
CallStub(&stub); |
} |
@@ -827,7 +828,7 @@ void MacroAssembler::JumpToExternalReference(const ExternalReference& ext, |
int result_size) { |
// Set the entry point and jump to the C entry runtime stub. |
LoadAddress(rbx, ext); |
- CEntryStub ces(result_size); |
+ CEntryStub ces(isolate(), result_size); |
jmp(ces.GetCode(isolate()), RelocInfo::CODE_TARGET); |
} |
@@ -3302,7 +3303,7 @@ void MacroAssembler::LoadUint32(XMMRegister dst, |
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); |
} |
@@ -3695,7 +3696,7 @@ void MacroAssembler::DecrementCounter(StatsCounter* counter, int value) { |
void MacroAssembler::DebugBreak() { |
Set(rax, 0); // No arguments. |
LoadAddress(rbx, ExternalReference(Runtime::kDebugBreak, isolate())); |
- CEntryStub ces(1); |
+ CEntryStub ces(isolate(), 1); |
ASSERT(AllowThisStubCall(&ces)); |
Call(ces.GetCode(isolate()), RelocInfo::DEBUG_BREAK); |
} |