Index: src/a64/macro-assembler-a64.cc |
diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc |
index e876201ad3b281c4e221a4373b286818e7105b5b..ca61b491632fa523ee997f33c90e577d908bfe7f 100644 |
--- a/src/a64/macro-assembler-a64.cc |
+++ b/src/a64/macro-assembler-a64.cc |
@@ -5135,7 +5135,7 @@ InlineSmiCheckInfo::InlineSmiCheckInfo(Address info) |
reg_ = Register::XRegFromCode(reg_code); |
uint64_t smi_check_delta = DeltaBits::decode(payload); |
ASSERT(smi_check_delta != 0); |
- smi_check_ = inline_data - (smi_check_delta * kInstructionSize); |
+ smi_check_ = inline_data->preceding(smi_check_delta); |
} |
} |
} |