Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index 2d73c80c5c87f6223d122fb95216f74f6cd308a7..85fcdd570a1dbdbd86fd779e79c52a8eb599b6b4 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -245,7 +245,7 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
if (info()->scope()->is_script_scope()) { |
__ push(edi); |
__ 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); |
@@ -254,7 +254,7 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
need_write_barrier = false; |
} else { |
__ push(edi); |
- __ CallRuntime(Runtime::kNewFunctionContext, 1); |
+ __ CallRuntime(Runtime::kNewFunctionContext); |
} |
RecordSafepoint(deopt_mode); |
@@ -2610,7 +2610,7 @@ void LCodeGen::DoReturn(LReturn* instr) { |
// safe to write to the context register. |
__ push(eax); |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
- __ CallRuntime(Runtime::kTraceExit, 1); |
+ __ CallRuntime(Runtime::kTraceExit); |
} |
if (info()->saves_caller_doubles()) RestoreCallerDoubles(); |
if (dynamic_frame_alignment_) { |
@@ -3209,7 +3209,7 @@ void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) { |
DCHECK(ToRegister(instr->context()).is(esi)); |
__ push(Immediate(instr->hydrogen()->pairs())); |
__ push(Immediate(Smi::FromInt(instr->hydrogen()->flags()))); |
- CallRuntime(Runtime::kDeclareGlobals, 2, instr); |
+ CallRuntime(Runtime::kDeclareGlobals, instr); |
} |
@@ -5375,7 +5375,7 @@ void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { |
// Get the set of properties to enumerate. |
__ bind(&call_runtime); |
__ push(eax); |
- CallRuntime(Runtime::kGetPropertyNamesFast, 1, instr); |
+ CallRuntime(Runtime::kGetPropertyNamesFast, instr); |
__ cmp(FieldOperand(eax, HeapObject::kMapOffset), |
isolate()->factory()->meta_map()); |
@@ -5495,7 +5495,7 @@ void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) { |
Handle<ScopeInfo> scope_info = instr->scope_info(); |
__ Push(scope_info); |
__ push(ToRegister(instr->function())); |
- CallRuntime(Runtime::kPushBlockContext, 2, instr); |
+ CallRuntime(Runtime::kPushBlockContext, instr); |
RecordSafepoint(Safepoint::kNoLazyDeopt); |
} |