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

Unified Diff: runtime/vm/zone.h

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/verifier.cc ('k') | runtime/vm/zone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/zone.h
===================================================================
--- runtime/vm/zone.h (revision 26375)
+++ runtime/vm/zone.h (working copy)
@@ -162,7 +162,7 @@
zone_() {
#ifdef DEBUG
if (FLAG_trace_zones) {
- OS::PrintErr("*** Starting a new Stack zone 0x%"Px"(0x%"Px")\n",
+ OS::PrintErr("*** Starting a new Stack zone 0x%" Px "(0x%" Px ")\n",
reinterpret_cast<intptr_t>(this),
reinterpret_cast<intptr_t>(&zone_));
}
@@ -177,7 +177,7 @@
isolate()->set_current_zone(zone_.previous_);
#ifdef DEBUG
if (FLAG_trace_zones) {
- OS::PrintErr("*** Deleting Stack zone 0x%"Px"(0x%"Px")\n",
+ OS::PrintErr("*** Deleting Stack zone 0x%" Px "(0x%" Px ")\n",
reinterpret_cast<intptr_t>(this),
reinterpret_cast<intptr_t>(&zone_));
}
@@ -204,7 +204,7 @@
// Round up the requested size to fit the alignment.
if (size > (kIntptrMax - kAlignment)) {
- FATAL1("Zone::Alloc: 'size' is too large: size=%"Pd"", size);
+ FATAL1("Zone::Alloc: 'size' is too large: size=%" Pd "", size);
}
size = Utils::RoundUp(size, kAlignment);
@@ -227,7 +227,7 @@
inline ElementType* Zone::Alloc(intptr_t len) {
const intptr_t element_size = sizeof(ElementType);
if (len > (kIntptrMax / element_size)) {
- FATAL2("Zone::Alloc: 'len' is too large: len=%"Pd", element_size=%"Pd,
+ FATAL2("Zone::Alloc: 'len' is too large: len=%" Pd ", element_size=%" Pd,
len, element_size);
}
return reinterpret_cast<ElementType*>(AllocUnsafe(len * element_size));
« no previous file with comments | « runtime/vm/verifier.cc ('k') | runtime/vm/zone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698