From ef1be160d66b7da8bc2da857b1c33c6f680d86f1 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 15 Jul 2011 17:47:20 -0700 Subject: Upgrade V8 to 3.4.12.1 --- deps/v8/src/heap-profiler.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'deps/v8/src/heap-profiler.cc') diff --git a/deps/v8/src/heap-profiler.cc b/deps/v8/src/heap-profiler.cc index fb1ea8a641..7e613e9173 100644 --- a/deps/v8/src/heap-profiler.cc +++ b/deps/v8/src/heap-profiler.cc @@ -34,7 +34,6 @@ namespace v8 { namespace internal { -#ifdef ENABLE_LOGGING_AND_PROFILING HeapProfiler::HeapProfiler() : snapshots_(new HeapSnapshotsCollection()), next_snapshot_uid_(1) { @@ -52,29 +51,21 @@ void HeapProfiler::ResetSnapshots() { } -#endif // ENABLE_LOGGING_AND_PROFILING - void HeapProfiler::Setup() { -#ifdef ENABLE_LOGGING_AND_PROFILING Isolate* isolate = Isolate::Current(); if (isolate->heap_profiler() == NULL) { isolate->set_heap_profiler(new HeapProfiler()); } -#endif } void HeapProfiler::TearDown() { -#ifdef ENABLE_LOGGING_AND_PROFILING Isolate* isolate = Isolate::Current(); delete isolate->heap_profiler(); isolate->set_heap_profiler(NULL); -#endif } -#ifdef ENABLE_LOGGING_AND_PROFILING - HeapSnapshot* HeapProfiler::TakeSnapshot(const char* name, int type, v8::ActivityControl* control) { @@ -179,7 +170,5 @@ void HeapProfiler::ObjectMoveEvent(Address from, Address to) { snapshots_->ObjectMoveEvent(from, to); } -#endif // ENABLE_LOGGING_AND_PROFILING - } } // namespace v8::internal -- cgit v1.2.1