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 2224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2235 heap_profiler_ = NULL; | 2235 heap_profiler_ = NULL; |
2236 | 2236 |
2237 cancelable_task_manager()->CancelAndWait(); | 2237 cancelable_task_manager()->CancelAndWait(); |
2238 | 2238 |
2239 heap_.TearDown(); | 2239 heap_.TearDown(); |
2240 logger_->TearDown(); | 2240 logger_->TearDown(); |
2241 | 2241 |
2242 delete interpreter_; | 2242 delete interpreter_; |
2243 interpreter_ = NULL; | 2243 interpreter_ = NULL; |
2244 | 2244 |
2245 | |
2246 delete compiler_dispatcher_tracer_; | 2245 delete compiler_dispatcher_tracer_; |
2247 compiler_dispatcher_tracer_ = nullptr; | 2246 compiler_dispatcher_tracer_ = nullptr; |
2248 | 2247 |
2249 delete cpu_profiler_; | 2248 delete cpu_profiler_; |
2250 cpu_profiler_ = NULL; | 2249 cpu_profiler_ = NULL; |
2251 | 2250 |
2252 code_event_dispatcher_.reset(); | 2251 code_event_dispatcher_.reset(); |
2253 | 2252 |
2254 delete root_index_map_; | 2253 delete root_index_map_; |
2255 root_index_map_ = NULL; | 2254 root_index_map_ = NULL; |
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3464 // Then check whether this scope intercepts. | 3463 // Then check whether this scope intercepts. |
3465 if ((flag & intercept_mask_)) { | 3464 if ((flag & intercept_mask_)) { |
3466 intercepted_flags_ |= flag; | 3465 intercepted_flags_ |= flag; |
3467 return true; | 3466 return true; |
3468 } | 3467 } |
3469 return false; | 3468 return false; |
3470 } | 3469 } |
3471 | 3470 |
3472 } // namespace internal | 3471 } // namespace internal |
3473 } // namespace v8 | 3472 } // namespace v8 |
OLD | NEW |