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

Unified Diff: test/cctest/test-heap-profiler.cc

Issue 7066004: Inline more zone stuff. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 7 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-dataflow.cc ('k') | test/cctest/test-liveedit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-heap-profiler.cc
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc
index ee9ee26a2c61743dbad3515b6931121eac742b34..d68692116bff9590396b41095ce5c0544c31f01e 100644
--- a/test/cctest/test-heap-profiler.cc
+++ b/test/cctest/test-heap-profiler.cc
@@ -142,7 +142,7 @@ TEST(ClustersCoarserSimple) {
v8::HandleScope scope;
LocalContext env;
- i::ZoneScope zn_scope(i::DELETE_ON_EXIT);
+ i::ZoneScope zn_scope(i::Isolate::Current(), i::DELETE_ON_EXIT);
JSObjectsRetainerTree tree;
JSObjectsCluster function(HEAP->function_class_symbol());
@@ -180,7 +180,7 @@ TEST(ClustersCoarserMultipleConstructors) {
v8::HandleScope scope;
LocalContext env;
- i::ZoneScope zn_scope(i::DELETE_ON_EXIT);
+ i::ZoneScope zn_scope(i::Isolate::Current(), i::DELETE_ON_EXIT);
JSObjectsRetainerTree tree;
JSObjectsCluster function(HEAP->function_class_symbol());
@@ -210,7 +210,7 @@ TEST(ClustersCoarserPathsTraversal) {
v8::HandleScope scope;
LocalContext env;
- i::ZoneScope zn_scope(i::DELETE_ON_EXIT);
+ i::ZoneScope zn_scope(i::Isolate::Current(), i::DELETE_ON_EXIT);
JSObjectsRetainerTree tree;
@@ -262,7 +262,7 @@ TEST(ClustersCoarserSelf) {
v8::HandleScope scope;
LocalContext env;
- i::ZoneScope zn_scope(i::DELETE_ON_EXIT);
+ i::ZoneScope zn_scope(i::Isolate::Current(), i::DELETE_ON_EXIT);
JSObjectsRetainerTree tree;
« no previous file with comments | « test/cctest/test-dataflow.cc ('k') | test/cctest/test-liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698