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

Unified Diff: runtime/vm/redundancy_elimination.cc

Issue 2487873003: Speculate on bitwise operators. (Closed)
Patch Set: . Created 4 years, 1 month 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
Index: runtime/vm/redundancy_elimination.cc
diff --git a/runtime/vm/redundancy_elimination.cc b/runtime/vm/redundancy_elimination.cc
index c13ec9d2fcb23f568faa0d4141bc794fc31bd477..e37977383ad1bad28255c89e3ff042f12f45f0e7 100644
--- a/runtime/vm/redundancy_elimination.cc
+++ b/runtime/vm/redundancy_elimination.cc
@@ -1047,6 +1047,8 @@ class AliasedSet : public ZoneAllocated {
use = use->next_use()) {
Instruction* instr = use->instruction();
if (instr->IsPushArgument() ||
+ instr->IsCheckedSmiOp() ||
+ instr->IsCheckedSmiComparison() ||
Florian Schneider 2016/11/11 18:12:20 Good catch!
(instr->IsStoreIndexed()
&& (use->use_index() == StoreIndexedInstr::kValuePos)) ||
instr->IsStoreStaticField() ||

Powered by Google App Engine
This is Rietveld 408576698