mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
JSSpecCompiler: Add if branch merging pass
It merges standalone IfBranch/ElseIfBranch nodes into IfElseIfChain nodes. This will ease CFG generation later.
This commit is contained in:
parent
092ed1cc8a
commit
4c4e1e1aed
8 changed files with 184 additions and 0 deletions
|
@ -29,6 +29,7 @@ class ReturnExpression;
|
|||
class AssertExpression;
|
||||
class IfBranch;
|
||||
class ElseIfBranch;
|
||||
class IfElseIfChain;
|
||||
class TreeList;
|
||||
class RecordDirectListInitialization;
|
||||
class FunctionCall;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue