Index: src/compiler/change-lowering.cc |
diff --git a/src/compiler/change-lowering.cc b/src/compiler/change-lowering.cc |
index 7ddc751ab53199af0e8fc501b6f7eb12215f0d3c..2b369d97cb0f040142b74cfeebada497636473bd 100644 |
--- a/src/compiler/change-lowering.cc |
+++ b/src/compiler/change-lowering.cc |
@@ -227,7 +227,12 @@ Reduction ChangeLowering::ChangeTaggedToFloat64(Node* value, Node* control) { |
d1.Chain(control); |
Node* number = |
- graph()->NewNode(value->op(), object, context, effect, d1.if_true); |
+ OperatorProperties::HasFrameStateInput(value->op()) |
+ ? graph()->NewNode(value->op(), object, context, |
+ NodeProperties::GetFrameStateInput(value), |
+ effect, d1.if_true) |
+ : graph()->NewNode(value->op(), object, context, effect, |
+ d1.if_true); |
Diamond d2(graph(), common(), TestNotSmi(number)); |
d2.Nest(d1, true); |
Node* phi2 = d2.Phi(kMachFloat64, LoadHeapNumberValue(number, d2.if_true), |