Index: src/x64/virtual-frame-x64.cc |
=================================================================== |
--- src/x64/virtual-frame-x64.cc (revision 2267) |
+++ src/x64/virtual-frame-x64.cc (working copy) |
@@ -197,6 +197,14 @@ |
} |
+void VirtualFrame::EmitPush(Handle<Object> value) { |
+ ASSERT(stack_pointer_ == element_count() - 1); |
+ elements_.Add(FrameElement::MemoryElement()); |
+ stack_pointer_++; |
+ __ Push(value); |
+} |
+ |
+ |
void VirtualFrame::Drop(int count) { |
ASSERT(height() >= count); |
int num_virtual_elements = (element_count() - 1) - stack_pointer_; |