Upgrade to V8 3.3
Merge V8 at 3.3.10.39
Simple merge required updates to makefiles only.
Bug: 5688872
Change-Id: I14703f418235f5ce6013b9b3e2e502407a9f6dfd
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc
index bd08d4c..d686921 100644
--- a/test/cctest/test-heap-profiler.cc
+++ b/test/cctest/test-heap-profiler.cc
@@ -1,14 +1,16 @@
-// Copyright 2009 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
//
// Tests for heap profiler
#ifdef ENABLE_LOGGING_AND_PROFILING
#include "v8.h"
+
+#include "cctest.h"
#include "heap-profiler.h"
#include "snapshot.h"
#include "string-stream.h"
-#include "cctest.h"
+#include "utils-inl.h"
#include "zone-inl.h"
#include "../include/v8-profiler.h"
@@ -140,7 +142,7 @@
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());
@@ -178,7 +180,7 @@
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());
@@ -208,7 +210,7 @@
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;
@@ -260,7 +262,7 @@
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;