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 50c0851612cbcf1d01e9802ee0db0b43788b4875..63893fbca88dc9685581c75e94f9acac00ea98c1 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -573,10 +573,9 @@ Reduction JSNativeContextSpecialization::ReduceElementAccess( |
// 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(common()->DeoptimizeUnless(), check, frame_state, |
- effect, fallthrough_control); |
- this_controls.push_back(deoptimize); |
+ Node* deoptimize = graph()->NewNode( |
+ simplified()->CheckUnless(), check, effect, fallthrough_control); |
+ this_controls.push_back(fallthrough_control); |
this_effects.push_back(deoptimize); |
fallthrough_control = nullptr; |
} else { |