Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index e76b541800a74beaed6e5df226bc4ec059923f32..401a1cfa9bb3f4c58134c319ff86516658163d54 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -1734,7 +1734,7 @@ void BytecodeGraphBuilder::VisitStackCheck() { |
void BytecodeGraphBuilder::VisitReturn() { |
BuildLoopExitsForFunctionExit(); |
- Node* pop_node = jsgraph()->Int32Constant(0); |
+ Node* pop_node = jsgraph()->ZeroConstant(); |
Node* control = |
NewNode(common()->Return(), pop_node, environment()->LookupAccumulator()); |
MergeControlToLeaveFunction(control); |