Index: src/crankshaft/x64/lithium-codegen-x64.h |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.h b/src/crankshaft/x64/lithium-codegen-x64.h |
index dbd555641cd26eaa5eeafd6b14d1e41aaf9be449..6fb918bf84dd33db373a76f16c0781bb9ae02f8a 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.h |
+++ b/src/crankshaft/x64/lithium-codegen-x64.h |
@@ -176,6 +176,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 CallRuntimeFromDeferred(Runtime::FunctionId id, |
int argc, |
LInstruction* instr, |