Index: src/x64/virtual-frame-x64.cc |
=================================================================== |
--- src/x64/virtual-frame-x64.cc (revision 2780) |
+++ src/x64/virtual-frame-x64.cc (working copy) |
@@ -205,6 +205,14 @@ |
} |
+void VirtualFrame::EmitPush(Heap::RootListIndex index) { |
+ ASSERT(stack_pointer_ == element_count() - 1); |
+ elements_.Add(FrameElement::MemoryElement()); |
+ stack_pointer_++; |
+ __ PushRoot(index); |
+} |
+ |
+ |
void VirtualFrame::Drop(int count) { |
ASSERT(count >= 0); |
ASSERT(height() >= count); |