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

Unified Diff: runtime/vm/intermediate_language_dbc.cc

Issue 2891113002: Use same range info when emitting code and computing if instruction can deopt. (Closed)
Patch Set: Add a comment to the test Created 3 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 | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_dbc.cc
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc
index 04dd1905c3b3188124993a2d46e095e4e6bc12fe..b8c5c3c18fa24fb746157c3f9501f27ffad1748f 100644
--- a/runtime/vm/intermediate_language_dbc.cc
+++ b/runtime/vm/intermediate_language_dbc.cc
@@ -35,7 +35,7 @@ DECLARE_FLAG(int, optimization_counter_threshold);
M(Int32ToDouble) \
M(DoubleToInteger) \
M(BoxInt64) \
- M(MergedMath) \
+ M(TruncDivMod) \
M(GuardFieldClass) \
M(GuardFieldLength) \
M(IfThenElse) \
@@ -1331,15 +1331,6 @@ CompileType UnaryUint32OpInstr::ComputeType() const {
}
-static const intptr_t kMintShiftCountLimit = 63;
-
-
-bool ShiftMintOpInstr::has_shift_count_check() const {
- return !RangeUtils::IsWithin(right()->definition()->range(), 0,
- kMintShiftCountLimit);
-}
-
-
CompileType LoadIndexedInstr::ComputeType() const {
switch (class_id_) {
case kArrayCid:
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698