Index: runtime/vm/assembler_arm64.cc |
diff --git a/runtime/vm/assembler_arm64.cc b/runtime/vm/assembler_arm64.cc |
index 52dc66b2e0398c469b0b67bf68d6df99216f89ea..973e704a27938b0e652bcc8660dcec5bc9b6986e 100644 |
--- a/runtime/vm/assembler_arm64.cc |
+++ b/runtime/vm/assembler_arm64.cc |
@@ -973,12 +973,12 @@ void Assembler::StoreIntoObjectOffsetNoBarrier(Register object, |
void Assembler::LoadClassId(Register result, Register object) { |
- ASSERT(RawObject::kClassIdTagPos == 16); |
- ASSERT(RawObject::kClassIdTagSize == 16); |
+ ASSERT(RawObject::kClassIdTagPos == kBitsPerInt32); |
+ ASSERT(RawObject::kClassIdTagSize == kBitsPerInt32); |
const intptr_t class_id_offset = |
Object::tags_offset() + RawObject::kClassIdTagPos / kBitsPerByte; |
LoadFromOffset(result, object, class_id_offset - kHeapObjectTag, |
- kUnsignedHalfword); |
+ kUnsignedWord); |
} |