mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
JSSpecCompiler: Make nodes inherit from Statement or Expression
The distinction between them will become important during CFG building.
This commit is contained in:
committed by
Andrew Kaster
parent
ed5ef4da6d
commit
326bac19d9
@@ -49,7 +49,7 @@ Vector<NodeSubtreePointer> IsOneOfOperation::subtrees()
|
||||
return result;
|
||||
}
|
||||
|
||||
Vector<NodeSubtreePointer> ReturnExpression::subtrees()
|
||||
Vector<NodeSubtreePointer> ReturnNode::subtrees()
|
||||
{
|
||||
return { { &m_return_value } };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user