Index: src/crankshaft/arm/lithium-codegen-arm.h |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.h b/src/crankshaft/arm/lithium-codegen-arm.h |
index e80fda4d37fc3884fd59b5143294220dee8afa2d..24a083ff2f201f6a64d44520dfa4b06aa34d19f4 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.h |
+++ b/src/crankshaft/arm/lithium-codegen-arm.h |
@@ -203,6 +203,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, |