Commit 299c72bc authored by adamk's avatar adamk Committed by Commit bot

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}
parent 542662e8
...@@ -458,14 +458,6 @@ class Block final : public BreakableStatement { ...@@ -458,14 +458,6 @@ class Block final : public BreakableStatement {
public: public:
DECLARE_NODE_TYPE(Block) 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_; } ZoneList<Statement*>* statements() { return &statements_; }
bool ignore_completion_value() const { return ignore_completion_value_; } bool ignore_completion_value() const { return ignore_completion_value_; }
......
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