Index: src/crankshaft/mips/lithium-codegen-mips.h |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.h b/src/crankshaft/mips/lithium-codegen-mips.h |
index d3e5b32a9281f22bffc3f4aac963181512fe7c5e..160ab9a665beec5c1cf3550b1b80c9b774e040ff 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.h |
+++ b/src/crankshaft/mips/lithium-codegen-mips.h |
@@ -197,6 +197,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, |