Index: runtime/vm/assembler_ia32.cc |
diff --git a/runtime/vm/assembler_ia32.cc b/runtime/vm/assembler_ia32.cc |
index bb54355f149fe7875f439b6a811a32698a2c949b..249fba089e486e0fd03a0974c1726f857a3922f1 100644 |
--- a/runtime/vm/assembler_ia32.cc |
+++ b/runtime/vm/assembler_ia32.cc |
@@ -3017,7 +3017,7 @@ void Assembler::SmiUntagOrCheckClass(Register object, |
} |
-void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
+void Assembler::LoadClassIdMayBeSmi(Register result, Register object) { |
ASSERT(result != object); |
static const intptr_t kSmiCidSource = kSmiCid << RawObject::kClassIdTagPos; |
@@ -3031,7 +3031,11 @@ void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
// Otherwise, the dummy object is used, and the result is kSmiCid. |
cmovne(result, object); |
LoadClassId(result, result); |
+} |
+ |
+void Assembler::LoadTaggedClassIdMayBeSmi(Register result, Register object) { |
+ LoadClassIdMayBeSmi(result, object); |
// Tag the result. |
SmiTag(result); |
} |