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

Unified Diff: runtime/vm/il_printer.cc

Issue 328503003: Extend Range analysis to 64-bit range and mint operations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/il_printer.cc
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
index 508ec6eeca66c0aedb0b5ca7a542f7bc67f91e9f..271b645030716ac62e56994426e57bcb29ae236b 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -283,7 +283,7 @@ void Range::PrintTo(BufferFormatter* f) const {
}
-const char* Range::ToCString(Range* range) {
+const char* Range::ToCString(const Range* range) {
if (range == NULL) return "[_|_, _|_]";
char buffer[256];
@@ -298,7 +298,7 @@ void RangeBoundary::PrintTo(BufferFormatter* f) const {
case kSymbol:
f->Print("v%" Pd "",
reinterpret_cast<Definition*>(value_)->ssa_temp_index());
- if (offset_ != 0) f->Print("%+" Pd "", offset_);
+ if (offset_ != 0) f->Print("%+" Pd64 "", offset_);
break;
case kNegativeInfinity:
f->Print("-inf");
@@ -307,7 +307,7 @@ void RangeBoundary::PrintTo(BufferFormatter* f) const {
f->Print("+inf");
break;
case kConstant:
- f->Print("%" Pd "", value_);
+ f->Print("%" Pd64 "", value_);
break;
case kUnknown:
f->Print("_|_");
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698