Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index e78096958b7aa0746a55007fdb642da59358e7a9..c039d41fd7c2b2c40476b050bb4bd785a323ac4c 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -189,7 +189,7 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
if (info()->scope()->is_script_scope()) { |
__ push(a1); |
__ Push(info()->scope()->GetScopeInfo(info()->isolate())); |
- __ CallRuntime(Runtime::kNewScriptContext, 2); |
+ __ CallRuntime(Runtime::kNewScriptContext); |
deopt_mode = Safepoint::kLazyDeopt; |
} else if (slots <= FastNewContextStub::kMaximumSlots) { |
FastNewContextStub stub(isolate(), slots); |
@@ -198,7 +198,7 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
need_write_barrier = false; |
} else { |
__ push(a1); |
- __ CallRuntime(Runtime::kNewFunctionContext, 1); |
+ __ CallRuntime(Runtime::kNewFunctionContext); |
} |
RecordSafepoint(deopt_mode); |
@@ -2590,7 +2590,7 @@ void LCodeGen::DoReturn(LReturn* instr) { |
// safe to write to the context register. |
__ push(v0); |
__ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
- __ CallRuntime(Runtime::kTraceExit, 1); |
+ __ CallRuntime(Runtime::kTraceExit); |
} |
if (info()->saves_caller_doubles()) { |
RestoreCallerDoubles(); |
@@ -3272,7 +3272,7 @@ void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) { |
__ li(scratch0(), instr->hydrogen()->pairs()); |
__ li(scratch1(), Operand(Smi::FromInt(instr->hydrogen()->flags()))); |
__ Push(scratch0(), scratch1()); |
- CallRuntime(Runtime::kDeclareGlobals, 2, instr); |
+ CallRuntime(Runtime::kDeclareGlobals, instr); |
} |
@@ -5535,7 +5535,7 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { |
// Get the set of properties to enumerate. |
__ bind(&call_runtime); |
__ push(object); |
- CallRuntime(Runtime::kGetPropertyNamesFast, 1, instr); |
+ CallRuntime(Runtime::kGetPropertyNamesFast, instr); |
__ lw(a1, FieldMemOperand(v0, HeapObject::kMapOffset)); |
DCHECK(result.is(v0)); |
@@ -5659,7 +5659,7 @@ void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) { |
Handle<ScopeInfo> scope_info = instr->scope_info(); |
__ li(at, scope_info); |
__ Push(at, ToRegister(instr->function())); |
- CallRuntime(Runtime::kPushBlockContext, 2, instr); |
+ CallRuntime(Runtime::kPushBlockContext, instr); |
RecordSafepoint(Safepoint::kNoLazyDeopt); |
} |