Commit 0c80fdc6 authored by titzer's avatar titzer Committed by Commit bot

[turbofan] Use FrameStatesBeforeAndAfter to simplify handling of before/after...

[turbofan] Use FrameStatesBeforeAndAfter to simplify handling of before/after frame states in AstGraphBuilder.

R=jarin@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1128193005

Cr-Commit-Position: refs/heads/master@{#28361}
parent 7fcbeb28
This diff is collapsed.
......@@ -67,6 +67,7 @@ class AstGraphBuilder : public AstVisitor {
class ControlScopeForCatch;
class ControlScopeForFinally;
class Environment;
class FrameStateBeforeAndAfter;
friend class ControlBuilder;
Zone* local_zone_;
......@@ -212,9 +213,6 @@ class AstGraphBuilder : public AstVisitor {
void PrepareFrameState(
Node* node, BailoutId ast_id,
OutputFrameStateCombine combine = OutputFrameStateCombine::Ignore());
void PrepareFrameStateAfterAndBefore(Node* node, BailoutId ast_id,
OutputFrameStateCombine combine,
Node* frame_state_before);
BitVector* GetVariablesAssignedInLoop(IterationStatement* stmt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment