Index: src/compiler/js-native-context-specialization.cc |
diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc |
index 63893fbca88dc9685581c75e94f9acac00ea98c1..50c0851612cbcf1d01e9802ee0db0b43788b4875 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -573,9 +573,10 @@ |
// TODO(turbofan): This is ugly as hell! We should probably introduce |
// macro-ish operators for property access that encapsulate this whole |
// mess. |
- Node* deoptimize = graph()->NewNode( |
- simplified()->CheckUnless(), check, effect, fallthrough_control); |
- this_controls.push_back(fallthrough_control); |
+ Node* deoptimize = |
+ graph()->NewNode(common()->DeoptimizeUnless(), check, frame_state, |
+ effect, fallthrough_control); |
+ this_controls.push_back(deoptimize); |
this_effects.push_back(deoptimize); |
fallthrough_control = nullptr; |
} else { |