Index: src/arm/macro-assembler-arm.cc |
=================================================================== |
--- src/arm/macro-assembler-arm.cc (revision 5232) |
+++ src/arm/macro-assembler-arm.cc (working copy) |
@@ -1656,6 +1656,13 @@ |
} |
+void MacroAssembler::AbortIfSmi(Register object) { |
+ ASSERT_EQ(0, kSmiTag); |
+ tst(object, Operand(kSmiTagMask)); |
+ Assert(ne, "Operand is a smi"); |
+} |
+ |
+ |
void MacroAssembler::JumpIfNonSmisNotBothSequentialAsciiStrings( |
Register first, |
Register second, |