Index: runtime/vm/assembler_arm64.cc |
diff --git a/runtime/vm/assembler_arm64.cc b/runtime/vm/assembler_arm64.cc |
index 7b71e576bcf1a2aee766e2d45e92bac8158bfce9..590160b2919d07ce4a4a4af5694c2e479399b340 100644 |
--- a/runtime/vm/assembler_arm64.cc |
+++ b/runtime/vm/assembler_arm64.cc |
@@ -1016,7 +1016,7 @@ void Assembler::CompareClassId( |
} |
-void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
+void Assembler::LoadClassIdMayBeSmi(Register result, Register object) { |
// Load up a null object. We only need it so we can use LoadClassId on it in |
// the case that object is a Smi.. |
LoadObject(TMP, Object::null_object(), PP); |
@@ -1031,6 +1031,11 @@ void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
LoadImmediate(TMP, kSmiCid, PP); |
// If object is a Smi, move the Smi cid into result. o/w leave alone. |
csel(result, TMP, result, EQ); |
+} |
+ |
+ |
+void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
+ LoadClassIdMayBeSmi(result, object); |
// Finally, tag the result. |
SmiTag(result); |
} |