Index: src/compiler/change-lowering.cc |
diff --git a/src/compiler/change-lowering.cc b/src/compiler/change-lowering.cc |
index 88398286842bc09714dfbcf6bf81e31a74fec6fd..5813be1d751f7f18a83a8d285e548e8fb77bb73d 100644 |
--- a/src/compiler/change-lowering.cc |
+++ b/src/compiler/change-lowering.cc |
@@ -124,7 +124,7 @@ Reduction ChangeLowering::ChangeTaggedToInt32(Node* val, Node* control) { |
Node* load = graph()->NewNode( |
machine()->Load(kMachFloat64), val, HeapNumberValueIndexConstant(), |
graph()->NewNode(common()->ControlEffect(), if_true)); |
- Node* change = graph()->NewNode(machine()->ChangeFloat64ToInt32(), load); |
+ Node* change = graph()->NewNode(machine()->TruncateFloat64ToInt32(), load); |
Node* if_false = graph()->NewNode(common()->IfFalse(), branch); |
Node* integer = |