Index: src/crankshaft/ppc/lithium-codegen-ppc.h |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.h b/src/crankshaft/ppc/lithium-codegen-ppc.h |
index 934caab61bcd48d41c2d25d72fa84cb95f258380..b0f016d309170fd18bedbdd4e38059fde6e87845 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.h |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.h |
@@ -179,6 +179,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, |
LInstruction* instr, LOperand* context); |