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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 516013003: Address review comments for r39595. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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.h ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index ed4036a5a46496334e6e3874079d3ee9f2389df7..eba08d32b7487583d45a7ed5c11336702e108bed 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -1171,8 +1171,8 @@ void Instruction::Goto(JoinEntryInstr* entry) {
bool UnboxedIntConverterInstr::CanDeoptimize() const {
return (to() == kUnboxedInt32) &&
- !Range::Fits(value()->definition()->range(),
- RangeBoundary::kRangeBoundaryInt32);
+ !RangeUtils::Fits(value()->definition()->range(),
+ RangeBoundary::kRangeBoundaryInt32);
}
@@ -1181,8 +1181,8 @@ bool UnboxInt32Instr::CanDeoptimize() const {
if (value_cid == kSmiCid) {
return false;
} else if (value_cid == kMintCid) {
- return !Range::Fits(value()->definition()->range(),
- RangeBoundary::kRangeBoundaryInt32);
+ return !RangeUtils::Fits(value()->definition()->range(),
+ RangeBoundary::kRangeBoundaryInt32);
} else {
return true;
}
@@ -1711,7 +1711,7 @@ Definition* BoxDoubleInstr::Canonicalize(FlowGraph* flow_graph) {
bool BoxIntNInstr::ValueFitsSmi() const {
Range* range = value()->definition()->range();
- return Range::Fits(range, RangeBoundary::kRangeBoundarySmi);
+ return RangeUtils::Fits(range, RangeBoundary::kRangeBoundarySmi);
}
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698