Index: src/compiler/effect-control-linearizer.cc |
diff --git a/src/compiler/effect-control-linearizer.cc b/src/compiler/effect-control-linearizer.cc |
index 0156067cce4e2724442ce8a95f579ffabac5066f..318c55ba90a547e1155d9c1253bbee007fd08bd9 100644 |
--- a/src/compiler/effect-control-linearizer.cc |
+++ b/src/compiler/effect-control-linearizer.cc |
@@ -925,7 +925,7 @@ EffectControlLinearizer::LowerTruncateTaggedToBit(Node* node, Node* effect, |
values[count] = |
graph()->NewNode(machine()->Word32Equal(), |
graph()->NewNode(machine()->WordEqual(), value, |
- jsgraph()->ZeroConstant()), |
+ jsgraph()->IntPtrConstant(0)), |
zero); |
count++; |
} |
@@ -978,7 +978,7 @@ EffectControlLinearizer::LowerTruncateTaggedToBit(Node* node, Node* effect, |
values[count] = |
graph()->NewNode(machine()->Word32Equal(), |
graph()->NewNode(machine()->WordEqual(), value_length, |
- jsgraph()->ZeroConstant()), |
+ jsgraph()->IntPtrConstant(0)), |
zero); |
count++; |
} |