Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index a7602e7d8e73bf31d6697494f5d52c53477741a3..0dc519407cc2319ff33069bfcc67f52a356e589d 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -449,6 +449,13 @@ void Assembler::push(const Operand& src) { |
} |
+void Assembler::push(Handle<Object> handle) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0x68); |
+ emit(handle); |
+} |
+ |
+ |
void Assembler::pop(Register dst) { |
ASSERT(reloc_info_writer.last_pc() != NULL); |
EnsureSpace ensure_space(this); |