| Index: src/ia32/virtual-frame-ia32.cc
|
| ===================================================================
|
| --- src/ia32/virtual-frame-ia32.cc (revision 7018)
|
| +++ src/ia32/virtual-frame-ia32.cc (working copy)
|
| @@ -1329,6 +1329,20 @@
|
| }
|
|
|
|
|
| +void VirtualFrame::Push(Handle<Object> value) {
|
| + if (ConstantPoolOverflowed()) {
|
| + Result temp = cgen()->allocator()->Allocate();
|
| + ASSERT(temp.is_valid());
|
| + __ Set(temp.reg(), Immediate(value));
|
| + Push(&temp);
|
| + } else {
|
| + FrameElement element =
|
| + FrameElement::ConstantElement(value, FrameElement::NOT_SYNCED);
|
| + elements_.Add(element);
|
| + }
|
| +}
|
| +
|
| +
|
| #undef __
|
|
|
| } } // namespace v8::internal
|
|
|