Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index fb18ba198231343efa96ce751df667d834dc2bf1..87b2604dcb9a7322989db03438a7cb4ccf4d1b77 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -223,7 +223,7 @@ void JSGenericLowering::ReplaceWithRuntimeCall(Node* node, |
linkage()->GetRuntimeCallDescriptor(f, nargs, properties); |
Node* ref = ExternalConstant(ExternalReference(f, isolate())); |
Node* arity = Int32Constant(nargs); |
- PatchInsertInput(node, 0, jsgraph()->CEntryStubConstant()); |
+ PatchInsertInput(node, 0, jsgraph()->CEntryStubConstant(fun->result_size)); |
PatchInsertInput(node, nargs + 1, ref); |
PatchInsertInput(node, nargs + 2, arity); |
PatchOperator(node, common()->Call(desc)); |