Index: runtime/vm/assembler_mips.cc |
diff --git a/runtime/vm/assembler_mips.cc b/runtime/vm/assembler_mips.cc |
index 29644ab02a883e289d47516c67114518d9e7824c..2c195334618d33e7b0ef3cf5de1fa9f1008258ca 100644 |
--- a/runtime/vm/assembler_mips.cc |
+++ b/runtime/vm/assembler_mips.cc |
@@ -667,7 +667,7 @@ void Assembler::LoadClass(Register result, Register object) { |
} |
-void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
+void Assembler::LoadClassIdMayBeSmi(Register result, Register object) { |
static const intptr_t kSmiCidSource = kSmiCid << RawObject::kClassIdTagPos; |
LoadImmediate(TMP, reinterpret_cast<int32_t>(&kSmiCidSource) + 1); |
@@ -677,6 +677,11 @@ void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
} |
movz(result, TMP, CMPRES1); |
LoadClassId(result, result); |
+} |
+ |
+ |
+void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
+ LoadClassIdMayBeSmi(result, object); |
SmiTag(result); |
} |