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

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

Issue 17826004: Get rid of the ZoneScopeMode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « test/cctest/test-regexp.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-strings.cc
diff --git a/test/cctest/test-strings.cc b/test/cctest/test-strings.cc
index 12d71e91441613c8fd66cb977ebf68e38b3be826..29fb80fc37640abc746a69b7b7421342aa9bdaaf 100644
--- a/test/cctest/test-strings.cc
+++ b/test/cctest/test-strings.cc
@@ -570,7 +570,7 @@ TEST(Traverse) {
printf("TestTraverse\n");
CcTest::InitializeVM();
v8::HandleScope scope(CcTest::isolate());
- ZoneScope zone(Isolate::Current()->runtime_zone(), DELETE_ON_EXIT);
+ ZoneScope zone(Isolate::Current()->runtime_zone());
ConsStringGenerationData data(false);
Handle<String> flat = ConstructBalanced(&data);
FlattenString(flat);
@@ -660,7 +660,7 @@ void TestStringCharacterStream(BuildString build, int test_cases) {
CcTest::InitializeVM();
Isolate* isolate = Isolate::Current();
HandleScope outer_scope(isolate);
- ZoneScope zone(Isolate::Current()->runtime_zone(), DELETE_ON_EXIT);
+ ZoneScope zone(Isolate::Current()->runtime_zone());
ConsStringGenerationData data(true);
for (int i = 0; i < test_cases; i++) {
printf("%d\n", i);
@@ -929,7 +929,7 @@ TEST(Utf8Conversion) {
TEST(ExternalShortStringAdd) {
- ZoneScope zonescope(Isolate::Current()->runtime_zone(), DELETE_ON_EXIT);
+ ZoneScope zonescope(Isolate::Current()->runtime_zone());
CcTest::InitializeVM();
v8::HandleScope handle_scope(CcTest::isolate());
@@ -1021,7 +1021,7 @@ TEST(CachedHashOverflow) {
// values didn't fit in the hash field.
// See http://code.google.com/p/v8/issues/detail?id=728
Isolate* isolate = Isolate::Current();
- ZoneScope zone(isolate->runtime_zone(), DELETE_ON_EXIT);
+ ZoneScope zone(isolate->runtime_zone());
CcTest::InitializeVM();
v8::HandleScope handle_scope(CcTest::isolate());
« no previous file with comments | « test/cctest/test-regexp.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698