Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: src/ast.h

Issue 1388813002: Remove dead helper methods from Block AST node (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index 81545cd72af03ac530ad1be0523ef2eb01c19891..af6ecb8d10647d27faf9d01f5dc37928b30b77aa 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -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_; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698