| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/isolate.h" | 5 #include "src/isolate.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include <fstream> // NOLINT(readability/streams) | 9 #include <fstream> // NOLINT(readability/streams) |
| 10 #include <sstream> | 10 #include <sstream> |
| (...skipping 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1932 bootstrapper_->TearDown(); | 1932 bootstrapper_->TearDown(); |
| 1933 | 1933 |
| 1934 if (runtime_profiler_ != NULL) { | 1934 if (runtime_profiler_ != NULL) { |
| 1935 delete runtime_profiler_; | 1935 delete runtime_profiler_; |
| 1936 runtime_profiler_ = NULL; | 1936 runtime_profiler_ = NULL; |
| 1937 } | 1937 } |
| 1938 | 1938 |
| 1939 delete basic_block_profiler_; | 1939 delete basic_block_profiler_; |
| 1940 basic_block_profiler_ = NULL; | 1940 basic_block_profiler_ = NULL; |
| 1941 | 1941 |
| 1942 delete heap_profiler_; |
| 1943 heap_profiler_ = NULL; |
| 1944 |
| 1942 heap_.TearDown(); | 1945 heap_.TearDown(); |
| 1943 logger_->TearDown(); | 1946 logger_->TearDown(); |
| 1944 | 1947 |
| 1945 cancelable_task_manager()->CancelAndWait(); | 1948 cancelable_task_manager()->CancelAndWait(); |
| 1946 | 1949 |
| 1947 delete heap_profiler_; | |
| 1948 heap_profiler_ = NULL; | |
| 1949 delete cpu_profiler_; | 1950 delete cpu_profiler_; |
| 1950 cpu_profiler_ = NULL; | 1951 cpu_profiler_ = NULL; |
| 1951 | 1952 |
| 1952 delete root_index_map_; | 1953 delete root_index_map_; |
| 1953 root_index_map_ = NULL; | 1954 root_index_map_ = NULL; |
| 1954 | 1955 |
| 1955 ClearSerializerData(); | 1956 ClearSerializerData(); |
| 1956 } | 1957 } |
| 1957 | 1958 |
| 1958 | 1959 |
| (...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2849 // Then check whether this scope intercepts. | 2850 // Then check whether this scope intercepts. |
| 2850 if ((flag & intercept_mask_)) { | 2851 if ((flag & intercept_mask_)) { |
| 2851 intercepted_flags_ |= flag; | 2852 intercepted_flags_ |= flag; |
| 2852 return true; | 2853 return true; |
| 2853 } | 2854 } |
| 2854 return false; | 2855 return false; |
| 2855 } | 2856 } |
| 2856 | 2857 |
| 2857 } // namespace internal | 2858 } // namespace internal |
| 2858 } // namespace v8 | 2859 } // namespace v8 |
| OLD | NEW |