Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index bd6a7075186dc8b40d41c1ddc437c16f57441fe4..2f34d33825490ba6c7c7ba80fab55b3ef233d92b 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -651,7 +651,7 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
if (info()->scope()->is_script_scope()) { |
__ Mov(x10, Operand(info()->scope()->GetScopeInfo(info()->isolate()))); |
__ Push(x1, x10); |
- __ CallRuntime(Runtime::kNewScriptContext, 2); |
+ __ CallRuntime(Runtime::kNewScriptContext); |
deopt_mode = Safepoint::kLazyDeopt; |
} else if (slots <= FastNewContextStub::kMaximumSlots) { |
FastNewContextStub stub(isolate(), slots); |
@@ -660,7 +660,7 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
need_write_barrier = false; |
} else { |
__ Push(x1); |
- __ CallRuntime(Runtime::kNewFunctionContext, 1); |
+ __ CallRuntime(Runtime::kNewFunctionContext); |
} |
RecordSafepoint(deopt_mode); |
// Context is returned in x0. It replaces the context passed to us. It's |
@@ -2770,7 +2770,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); |
__ Ldr(x1, FieldMemOperand(object, HeapObject::kMapOffset)); |
DeoptimizeIfNotRoot(x1, Heap::kMetaMapRootIndex, instr, |
@@ -4487,7 +4487,7 @@ void LCodeGen::DoReturn(LReturn* instr) { |
// safe to write to the context register. |
__ Push(x0); |
__ Ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
- __ CallRuntime(Runtime::kTraceExit, 1); |
+ __ CallRuntime(Runtime::kTraceExit); |
} |
if (info()->saves_caller_doubles()) { |
@@ -4757,7 +4757,7 @@ void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) { |
__ LoadHeapObject(scratch1, instr->hydrogen()->pairs()); |
__ Mov(scratch2, Smi::FromInt(instr->hydrogen()->flags())); |
__ Push(scratch1, scratch2); |
- CallRuntime(Runtime::kDeclareGlobals, 2, instr); |
+ CallRuntime(Runtime::kDeclareGlobals, instr); |
} |
@@ -5813,7 +5813,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); |
} |