Index: src/crankshaft/mips64/lithium-codegen-mips64.h |
diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.h b/src/crankshaft/mips64/lithium-codegen-mips64.h |
index 940b26f2bb3e6dd679fb50309fea536cb1c68122..efadb0f26bcebf485d4a39f9257bb3a6415e7f04 100644 |
--- a/src/crankshaft/mips64/lithium-codegen-mips64.h |
+++ b/src/crankshaft/mips64/lithium-codegen-mips64.h |
@@ -199,6 +199,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, |