Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: src/compiler/js-native-context-specialization.cc

Issue 1970123002: [turbofan] Deoptimize on access to neutered typed arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/compiler/optimized-float32array-length.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c157bafccb8b38fd7d785d930ab45836c2b68146..f01effc3baf577c3a3c7ed95aaa851c2c580a1c7 100644
--- a/src/compiler/js-native-context-specialization.cc
+++ b/src/compiler/js-native-context-specialization.cc
@@ -264,7 +264,7 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess(
1 << JSArrayBuffer::WasNeutered::kShift)),
jsgraph()->Int32Constant(0));
this_control =
- graph()->NewNode(common()->DeoptimizeIf(), check, frame_state,
+ graph()->NewNode(common()->DeoptimizeUnless(), check, frame_state,
this_effect, this_control);
break;
}
« no previous file with comments | « no previous file | test/mjsunit/compiler/optimized-float32array-length.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698