Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index f3b793dce1939cd3e95ee4dfe9ca1f68b09ec272..dafbba0e2477a2029c7e95d2591c04fd88284577 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -1016,15 +1016,6 @@ void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
} |
-void LCodeGen::RecordSafepointWithRegistersAndDoubles( |
- LPointerMap* pointers, |
- int arguments, |
- Safepoint::DeoptMode deopt_mode) { |
- RecordSafepoint( |
- pointers, Safepoint::kWithRegistersAndDoubles, arguments, deopt_mode); |
-} |
- |
- |
void LCodeGen::RecordAndWritePosition(int position) { |
if (position == RelocInfo::kNoPosition) return; |
masm()->positions_recorder()->RecordPosition(position); |
@@ -2803,7 +2794,7 @@ void LCodeGen::DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
flags | InstanceofStub::kReturnTrueFalseObject); |
InstanceofStub stub(isolate(), flags); |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
LoadContextFromDeferred(instr->context()); |
// Get the temp register reserved by the instruction. This needs to be t0 as |
@@ -3626,7 +3617,7 @@ void LCodeGen::DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr) { |
// Input is negative. Reverse its sign. |
// Preserve the value of all registers. |
{ |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
// Registers were saved at the safepoint, so we can use |
// many scratch registers. |
@@ -4428,13 +4419,12 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
} else { |
ASSERT(object_reg.is(a0)); |
ASSERT(ToRegister(instr->context()).is(cp)); |
- PushSafepointRegistersScope scope( |
- this, Safepoint::kWithRegistersAndDoubles); |
+ PushSafepointRegistersScope scope(this); |
__ li(a1, Operand(to_map)); |
bool is_js_array = from_map->instance_type() == JS_ARRAY_TYPE; |
TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); |
__ CallStub(&stub); |
- RecordSafepointWithRegistersAndDoubles( |
+ RecordSafepointWithRegisters( |
instr->pointer_map(), 0, Safepoint::kLazyDeopt); |
} |
__ bind(¬_applicable); |
@@ -4497,7 +4487,7 @@ void LCodeGen::DoDeferredStringCharCodeAt(LStringCharCodeAt* instr) { |
// contained in the register pointer map. |
__ mov(result, zero_reg); |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
__ push(string); |
// Push the index as a smi. This is safe because of the checks in |
// DoStringCharCodeAt above. |
@@ -4561,7 +4551,7 @@ void LCodeGen::DoDeferredStringCharFromCode(LStringCharFromCode* instr) { |
// contained in the register pointer map. |
__ mov(result, zero_reg); |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
__ SmiTag(char_code); |
__ push(char_code); |
CallRuntimeFromDeferred(Runtime::kCharFromCode, 1, instr, instr->context()); |
@@ -4694,7 +4684,7 @@ void LCodeGen::DoDeferredNumberTagIU(LInstruction* instr, |
__ mov(dst, zero_reg); |
// Preserve the value of all registers. |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
// NumberTagI and NumberTagD use the context from the frame, rather than |
// the environment's HContext or HInlinedContext value. |
@@ -4760,7 +4750,7 @@ void LCodeGen::DoDeferredNumberTagD(LNumberTagD* instr) { |
Register reg = ToRegister(instr->result()); |
__ mov(reg, zero_reg); |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
// NumberTagI and NumberTagD use the context from the frame, rather than |
// the environment's HContext or HInlinedContext value. |
// They only call Runtime::kAllocateHeapNumber. |
@@ -5139,7 +5129,7 @@ void LCodeGen::DoCheckValue(LCheckValue* instr) { |
void LCodeGen::DoDeferredInstanceMigration(LCheckMaps* instr, Register object) { |
{ |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
__ push(object); |
__ mov(cp, zero_reg); |
__ CallRuntimeSaveDoubles(Runtime::kTryMigrateInstance); |
@@ -5351,7 +5341,7 @@ void LCodeGen::DoDeferredAllocate(LAllocate* instr) { |
// contained in the register pointer map. |
__ mov(result, zero_reg); |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
if (instr->size()->IsRegister()) { |
Register size = ToRegister(instr->size()); |
ASSERT(!size.is(result)); |
@@ -5680,7 +5670,7 @@ void LCodeGen::DoDummyUse(LDummyUse* instr) { |
void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
LoadContextFromDeferred(instr->context()); |
__ CallRuntimeSaveDoubles(Runtime::kStackGuard); |
RecordSafepointWithLazyDeopt( |
@@ -5822,7 +5812,7 @@ void LCodeGen::DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, |
Register result, |
Register object, |
Register index) { |
- PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
+ PushSafepointRegistersScope scope(this); |
__ Push(object, index); |
__ mov(cp, zero_reg); |
__ CallRuntimeSaveDoubles(Runtime::kLoadMutableDouble); |