Index: runtime/vm/locations.cc |
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc |
index b64760192c1237bf57ddfd54cbd5600e81669fb4..ba8d24bcbd39d312e940fea7fb6cf5c09d118056 100644 |
--- a/runtime/vm/locations.cc |
+++ b/runtime/vm/locations.cc |
@@ -43,15 +43,20 @@ LocationSummary* LocationSummary::Make(intptr_t input_count, |
const char* Location::Name() const { |
switch (kind()) { |
case kInvalid: return "?"; |
- case kSpillSlot: return "S"; |
case kRegister: return Assembler::RegisterName(reg()); |
+ case kSpillSlot: return "S"; |
case kUnallocated: |
switch (policy()) { |
+ case kAny: |
+ return "A"; |
+ case kPrefersRegister: |
+ return "P"; |
case kRequiresRegister: |
return "R"; |
case kSameAsFirstInput: |
return "0"; |
} |
+ UNREACHABLE(); |
default: |
ASSERT(IsConstant()); |
return "C"; |