Index: src/crankshaft/x87/lithium-codegen-x87.h |
diff --git a/src/crankshaft/x87/lithium-codegen-x87.h b/src/crankshaft/x87/lithium-codegen-x87.h |
index 8d261f11772fc0e4f0c1af608908d04bf23c980f..634634488366f842daa19c9a6ac09b4b7c40863a 100644 |
--- a/src/crankshaft/x87/lithium-codegen-x87.h |
+++ b/src/crankshaft/x87/lithium-codegen-x87.h |
@@ -205,6 +205,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, |