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

Unified Diff: runtime/vm/compiler.cc

Issue 23072026: fix cpp11 compile errors (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/code_generator.cc ('k') | runtime/vm/compiler_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.cc
===================================================================
--- runtime/vm/compiler.cc (revision 26375)
+++ runtime/vm/compiler.cc (working copy)
@@ -229,12 +229,12 @@
// Disable optimized code.
ASSERT(function.HasOptimizedCode());
if (FLAG_trace_compiler) {
- OS::Print("--> patching entry %#"Px"\n",
+ OS::Print("--> patching entry %#" Px "\n",
Code::Handle(function.CurrentCode()).EntryPoint());
}
function.SwitchToUnoptimizedCode();
if (FLAG_trace_compiler) {
- OS::Print("--> restoring entry at %#"Px"\n",
+ OS::Print("--> restoring entry at %#" Px "\n",
Code::Handle(function.unoptimized_code()).EntryPoint());
}
}
@@ -528,7 +528,7 @@
if (osr_id == Isolate::kNoDeoptId) {
CodePatcher::PatchEntry(Code::Handle(function.CurrentCode()));
if (FLAG_trace_compiler) {
- OS::Print("--> patching entry %#"Px"\n",
+ OS::Print("--> patching entry %#" Px "\n",
Code::Handle(function.unoptimized_code()).EntryPoint());
}
}
@@ -595,7 +595,7 @@
const uword addr = code.GetPointerOffsetAt(i) + code.EntryPoint();
Object& obj = Object::Handle();
obj = *reinterpret_cast<RawObject**>(addr);
- OS::Print(" %d : %#"Px" '%s'\n",
+ OS::Print(" %d : %#" Px " '%s'\n",
code.GetPointerOffsetAt(i), addr, obj.ToCString());
}
OS::Print("}\n");
@@ -616,7 +616,7 @@
Smi& reason = Smi::Handle();
for (intptr_t i = 0; i < deopt_table_length; ++i) {
DeoptTable::GetEntry(deopt_table, i, &offset, &info, &reason);
- OS::Print("%4"Pd": 0x%"Px" %s (%s)\n",
+ OS::Print("%4" Pd ": 0x%" Px " %s (%s)\n",
i,
start + offset.Value(),
info.ToCString(),
@@ -629,7 +629,7 @@
if (object_table.Length() > 0) {
OS::Print("Object Table: {\n");
for (intptr_t i = 0; i < object_table.Length(); i++) {
- OS::Print(" %"Pd": %s\n", i,
+ OS::Print(" %" Pd ": %s\n", i,
Object::Handle(object_table.At(i)).ToCString());
}
OS::Print("}\n");
@@ -658,22 +658,22 @@
RawLocalVarDescriptors::VarInfo var_info;
var_descriptors.GetInfo(i, &var_info);
if (var_info.kind == RawLocalVarDescriptors::kSavedEntryContext) {
- OS::Print(" saved caller's CTX reg offset %"Pd"\n", var_info.index);
+ OS::Print(" saved caller's CTX reg offset %" Pd "\n", var_info.index);
} else if (var_info.kind == RawLocalVarDescriptors::kSavedCurrentContext) {
- OS::Print(" saved current CTX reg offset %"Pd"\n", var_info.index);
+ OS::Print(" saved current CTX reg offset %" Pd "\n", var_info.index);
} else {
if (var_info.kind == RawLocalVarDescriptors::kContextLevel) {
- OS::Print(" context level %"Pd" scope %d",
+ OS::Print(" context level %" Pd " scope %d",
var_info.index, var_info.scope_id);
} else if (var_info.kind == RawLocalVarDescriptors::kStackVar) {
- OS::Print(" stack var '%s' offset %"Pd"",
+ OS::Print(" stack var '%s' offset %" Pd "",
var_name.ToCString(), var_info.index);
} else {
ASSERT(var_info.kind == RawLocalVarDescriptors::kContextVar);
- OS::Print(" context var '%s' level %d offset %"Pd"",
+ OS::Print(" context var '%s' level %d offset %" Pd "",
var_name.ToCString(), var_info.scope_id, var_info.index);
}
- OS::Print(" (valid %"Pd"-%"Pd")\n",
+ OS::Print(" (valid %" Pd "-%" Pd ")\n",
var_info.begin_pos, var_info.end_pos);
}
}
@@ -695,7 +695,7 @@
offset ^= table.At(i + Code::kSCallTableOffsetEntry);
function ^= table.At(i + Code::kSCallTableFunctionEntry);
code ^= table.At(i + Code::kSCallTableCodeEntry);
- OS::Print(" 0x%"Px": %s, %p\n",
+ OS::Print(" 0x%" Px ": %s, %p\n",
start + offset.Value(),
function.ToFullyQualifiedCString(),
code.raw());
@@ -726,7 +726,7 @@
ParsedFunction* parsed_function = new ParsedFunction(
Function::ZoneHandle(function.raw()));
if (FLAG_trace_compiler) {
- OS::Print("Compiling %s%sfunction: '%s' @ token %"Pd", size %"Pd"\n",
+ OS::Print("Compiling %s%sfunction: '%s' @ token %" Pd ", size %" Pd "\n",
(osr_id == Isolate::kNoDeoptId ? "" : "osr "),
(optimized ? "optimized " : ""),
function.ToFullyQualifiedCString(),
@@ -758,7 +758,7 @@
per_compile_timer.Stop();
if (FLAG_trace_compiler) {
- OS::Print("--> '%s' entry: %#"Px" size: %"Pd" time: %"Pd64" us\n",
+ OS::Print("--> '%s' entry: %#" Px " size: %" Pd " time: %" Pd64 " us\n",
function.ToFullyQualifiedCString(),
Code::Handle(function.CurrentCode()).EntryPoint(),
Code::Handle(function.CurrentCode()).Size(),
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/compiler_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698