Index: runtime/vm/locations.cc |
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc |
index 27b375cbc3d37236500a64d843e94f05f96cd706..9e74025aa264727882ae28bf4648dd9febc7965d 100644 |
--- a/runtime/vm/locations.cc |
+++ b/runtime/vm/locations.cc |
@@ -66,13 +66,22 @@ const char* Location::Name() const { |
void Location::PrintTo(BufferFormatter* f) const { |
if (kind() == kStackSlot) { |
- f->Print("[fp%+d]", stack_index()); |
+ f->Print("S%+d", stack_index()); |
} else { |
f->Print("%s", Name()); |
} |
} |
+void Location::Print() const { |
+ if (kind() == kStackSlot) { |
+ OS::Print("S%+d", stack_index()); |
+ } else { |
+ OS::Print("%s", Name()); |
+ } |
+} |
+ |
+ |
void LocationSummary::PrintTo(BufferFormatter* f) const { |
if (input_count() > 0) { |
f->Print(" ("); |