Index: src/crankshaft/ia32/lithium-codegen-ia32.h |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.h b/src/crankshaft/ia32/lithium-codegen-ia32.h |
index e5e1f915dab14d2af4dcaeebf0c5ec210da7ebc2..06a3e10bf2668b0304a347f230087c153b2274f0 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.h |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.h |
@@ -177,6 +177,11 @@ class LCodeGen: public LCodeGenBase { |
CallRuntime(function, argc, 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, |