Index: src/ia32/macro-assembler-ia32.cc |
=================================================================== |
--- src/ia32/macro-assembler-ia32.cc (revision 4098) |
+++ src/ia32/macro-assembler-ia32.cc (working copy) |
@@ -397,6 +397,12 @@ |
} |
+void MacroAssembler::AbortIfNotSmi(Register object, const char* msg) { |
+ test(object, Immediate(kSmiTagMask)); |
+ Assert(equal, msg); |
+} |
+ |
+ |
void MacroAssembler::EnterFrame(StackFrame::Type type) { |
push(ebp); |
mov(ebp, Operand(esp)); |