Index: runtime/vm/locations.cc |
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc |
index 8a9499eb3c2b99793bead36c4a8d1a31d3de3e22..5603a1c7a5065fe2c3ce92846cd97497a6fa3bfb 100644 |
--- a/runtime/vm/locations.cc |
+++ b/runtime/vm/locations.cc |
@@ -118,6 +118,8 @@ Location Location::AnyOrConstant(Value* value) { |
} |
+// DBC does not have an notion of 'address' in its instruction set. |
+#if !defined(TARGET_ARCH_DBC) |
Address Location::ToStackSlotAddress() const { |
const intptr_t index = stack_index(); |
const Register base = base_reg(); |
@@ -134,7 +136,7 @@ Address Location::ToStackSlotAddress() const { |
return Address(base, index * kWordSize); |
} |
} |
- |
+#endif |
intptr_t Location::ToStackSlotOffset() const { |
const intptr_t index = stack_index(); |