| Index: src/jump-target.h
|
| ===================================================================
|
| --- src/jump-target.h (revision 1950)
|
| +++ src/jump-target.h (working copy)
|
| @@ -35,7 +35,6 @@
|
| class Result;
|
| class VirtualFrame;
|
|
|
| -
|
| // -------------------------------------------------------------------------
|
| // Jump targets
|
| //
|
| @@ -68,6 +67,8 @@
|
| // AST nodes.
|
| JumpTarget();
|
|
|
| + virtual ~JumpTarget() {}
|
| +
|
| // Supply a code generator and directionality to an already
|
| // constructed jump target. This function expects to be given a
|
| // non-null code generator, and to be called only when the code
|
| @@ -199,8 +200,13 @@
|
| // and a corresponding merge code label.
|
| void AddReachingFrame(VirtualFrame* frame);
|
|
|
| - // Compute a frame to use for entry to this block. Mergable elements
|
| - // is as described for the Bind function.
|
| + // Perform initialization required during entry frame computation
|
| + // after setting the virtual frame element at index in frame to be
|
| + // target.
|
| + inline void InitializeEntryElement(int index, FrameElement* target);
|
| +
|
| + // Compute a frame to use for entry to this block. Mergable
|
| + // elements is as described for the Bind function.
|
| void ComputeEntryFrame(int mergable_elements);
|
|
|
| DISALLOW_COPY_AND_ASSIGN(JumpTarget);
|
| @@ -225,6 +231,8 @@
|
| // nodes.
|
| BreakTarget() {}
|
|
|
| + virtual ~BreakTarget() {}
|
| +
|
| // Supply a code generator, expected expression stack height, and
|
| // directionality to an already constructed break target. This
|
| // function expects to be given a non-null code generator, and to be
|
| @@ -287,6 +295,8 @@
|
| // flow intended for the shadowed one.
|
| explicit ShadowTarget(BreakTarget* shadowed);
|
|
|
| + virtual ~ShadowTarget() {}
|
| +
|
| // End shadowing. After shadowing ends, the original jump target
|
| // again gives access to the formerly shadowed target and the shadow
|
| // target object gives access to the formerly shadowing target.
|
|
|