| Index: src/virtual-frame-ia32.h
|
| ===================================================================
|
| --- src/virtual-frame-ia32.h (revision 1027)
|
| +++ src/virtual-frame-ia32.h (working copy)
|
| @@ -351,8 +351,11 @@
|
| void Drop(int count);
|
|
|
| // Drop one element.
|
| - void Drop();
|
| + void Drop() { Drop(1); }
|
|
|
| + // Duplicate the top element of the frame.
|
| + void Dup() { LoadFrameSlotAt(elements_.length() - 1); }
|
| +
|
| // Pop an element from the top of the expression stack.
|
| // Returns a Result, which may be a constant or a register.
|
| Result Pop();
|
|
|