Index: runtime/vm/stub_code_arm.cc |
=================================================================== |
--- runtime/vm/stub_code_arm.cc (revision 45179) |
+++ runtime/vm/stub_code_arm.cc (working copy) |
@@ -984,7 +984,9 @@ |
// R2: Header word. |
if (TargetCPUFeatures::arm_version() == ARMv5TE) { |
// TODO(21263): Implement 'swp' and use it below. |
+#if !defined(USING_SIMULATOR) |
ASSERT(OS::NumberOfAvailableProcessors() <= 1); |
+#endif |
__ orr(R2, R2, Operand(1 << RawObject::kRememberedBit)); |
__ str(R2, FieldAddress(R0, Object::tags_offset())); |
} else { |