Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index b5c8af66cf309afc491b01e09a9537ce88324c91..8eca08672d85d744d04ba9795352139746b00ce1 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -1106,7 +1106,7 @@ Reduction JSTypedLowering::ReduceJSStoreProperty(Node* node) { |
value = number_reduction.replacement(); |
} else { |
Node* frame_state_for_to_number = |
- NodeProperties::GetFrameStateInput(node, 1); |
+ NodeProperties::FindFrameStateBefore(node); |
value = effect = |
graph()->NewNode(javascript()->ToNumber(), value, context, |
frame_state_for_to_number, effect, control); |