Index: runtime/vm/locations.cc |
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc |
index 8a9499eb3c2b99793bead36c4a8d1a31d3de3e22..5534c96a6bafb169a2547738a72b72665d37611e 100644 |
--- a/runtime/vm/locations.cc |
+++ b/runtime/vm/locations.cc |
@@ -118,6 +118,7 @@ Location Location::AnyOrConstant(Value* value) { |
} |
+#if !defined(TARGET_ARCH_DBC) |
Address Location::ToStackSlotAddress() const { |
const intptr_t index = stack_index(); |
const Register base = base_reg(); |
@@ -134,7 +135,7 @@ Address Location::ToStackSlotAddress() const { |
return Address(base, index * kWordSize); |
} |
} |
- |
+#endif |
intptr_t Location::ToStackSlotOffset() const { |
const intptr_t index = stack_index(); |