Index: src/crankshaft/arm64/lithium-codegen-arm64.h |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.h b/src/crankshaft/arm64/lithium-codegen-arm64.h |
index e06f03f9f3b88f79fb672fc48b049c38d2cc38c0..18856da15489056f49ae43bab074efbd02ececc2 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.h |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.h |
@@ -307,6 +307,11 @@ class LCodeGen: public LCodeGenBase { |
CallRuntime(function, num_arguments, instr); |
} |
+ void CallRuntime(Runtime::FunctionId id, LInstruction* instr) { |
+ const Runtime::Function* function = Runtime::FunctionForId(id); |
+ CallRuntime(function, function->nargs, instr); |
+ } |
+ |
void LoadContextFromDeferred(LOperand* context); |
void CallRuntimeFromDeferred(Runtime::FunctionId id, |
int argc, |