Index: runtime/vm/locations.cc |
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc |
index 3f7ded17a157430d6763b2c4282761e8e5b0b6a4..efd1a19026144c9249bff2b46b53e7ddcda568ef 100644 |
--- a/runtime/vm/locations.cc |
+++ b/runtime/vm/locations.cc |
@@ -92,9 +92,9 @@ const char* Location::Name() const { |
void Location::PrintTo(BufferFormatter* f) const { |
if (kind() == kStackSlot) { |
- f->Print("S%+d", stack_index()); |
+ f->Print("S%+"Pd"", stack_index()); |
} else if (kind() == kDoubleStackSlot) { |
- f->Print("DS%+d", stack_index()); |
+ f->Print("DS%+"Pd"", stack_index()); |
} else { |
f->Print("%s", Name()); |
} |
@@ -103,7 +103,7 @@ void Location::PrintTo(BufferFormatter* f) const { |
void Location::Print() const { |
if (kind() == kStackSlot) { |
- OS::Print("S%+d", stack_index()); |
+ OS::Print("S%+"Pd"", stack_index()); |
} else { |
OS::Print("%s", Name()); |
} |