Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 909000ec011263a37c0182529c9f916da1df972a..0f4e827a6ba06adb9abdcb09a4b0a5825051bc0f 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -789,6 +789,8 @@ class MacroAssembler: public Assembler { |
// Push a handle value. |
void Push(Handle<Object> handle) { push(Immediate(handle)); } |
+ void Push(Smi* smi) { Push(Handle<Smi>(smi)); } |
+ |
Handle<Object> CodeObject() { |
ASSERT(!code_object_.is_null()); |
return code_object_; |