Remove dead helper methods from Block AST node
R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1388813002 Cr-Commit-Position: refs/heads/master@{#31119}
This commit is contained in:
parent
542662e8e7
commit
299c72bc88
@ -458,14 +458,6 @@ class Block final : public BreakableStatement {
|
||||
public:
|
||||
DECLARE_NODE_TYPE(Block)
|
||||
|
||||
void AddStatement(Statement* statement, Zone* zone) {
|
||||
statements_.Add(statement, zone);
|
||||
}
|
||||
|
||||
void InsertStatementAt(int index, Statement* statement, Zone* zone) {
|
||||
statements_.InsertAt(index, statement, zone);
|
||||
}
|
||||
|
||||
ZoneList<Statement*>* statements() { return &statements_; }
|
||||
bool ignore_completion_value() const { return ignore_completion_value_; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user