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

Unified Diff: test/cctest/test-ast.cc

Issue 12866: Fixed regexp zone issue (Closed)
Patch Set: Created 12 years 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/zone-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-ast.cc
diff --git a/test/cctest/test-ast.cc b/test/cctest/test-ast.cc
index 7d10c82224b922c03032f1f88d8402400394ecb9..86462897029d15497bd519aa9bc24aeef798fb19 100644
--- a/test/cctest/test-ast.cc
+++ b/test/cctest/test-ast.cc
@@ -38,6 +38,7 @@ TEST(List) {
List<Node*>* list = new List<Node*>(0);
CHECK_EQ(0, list->length());
+ ZoneScope zone_scope(DELETE_ON_EXIT);
Node* node = new EmptyStatement();
list->Add(node);
CHECK_EQ(1, list->length());
« no previous file with comments | « src/zone-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698