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

Unified Diff: src/ast-inl.h

Issue 7374002: Refactor allocation policies. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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 | « src/ast.cc ('k') | src/compiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-inl.h
diff --git a/src/ast-inl.h b/src/ast-inl.h
index c2bd6134449f43b09ba05da273d81074d3ecdf86..fe62c7bee56989de1b0bdde2772c172b537e4456 100644
--- a/src/ast-inl.h
+++ b/src/ast-inl.h
@@ -43,9 +43,12 @@ SwitchStatement::SwitchStatement(ZoneStringList* labels)
}
-Block::Block(ZoneStringList* labels, int capacity, bool is_initializer_block)
+Block::Block(Zone* zone,
+ ZoneStringList* labels,
+ int capacity,
+ bool is_initializer_block)
: BreakableStatement(labels, TARGET_FOR_NAMED_ONLY),
- statements_(capacity),
+ statements_(zone, capacity),
is_initializer_block_(is_initializer_block) {
}
« no previous file with comments | « src/ast.cc ('k') | src/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698