Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index 1ebcd1a6796ca20ddb3a927f9398c3c83f017d32..4200137f27189bc4b472119abfedaa8636810a2e 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -676,7 +676,7 @@ Node* RepresentationChanger::GetBitRepresentationFor( |
} |
} else if (output_rep == MachineRepresentation::kTaggedSigned) { |
node = jsgraph()->graph()->NewNode(machine()->WordEqual(), node, |
- jsgraph()->ZeroConstant()); |
+ jsgraph()->IntPtrConstant(0)); |
return jsgraph()->graph()->NewNode(machine()->Word32Equal(), node, |
jsgraph()->Int32Constant(0)); |
} else if (IsWord(output_rep)) { |