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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include <fstream> // NOLINT(readability/streams) | 7 #include <fstream> // NOLINT(readability/streams) |
8 #include <sstream> | 8 #include <sstream> |
9 | 9 |
10 #include "src/v8.h" | 10 #include "src/v8.h" |
(...skipping 1888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1899 | 1899 |
1900 delete logger_; | 1900 delete logger_; |
1901 logger_ = NULL; | 1901 logger_ = NULL; |
1902 | 1902 |
1903 delete counters_; | 1903 delete counters_; |
1904 counters_ = NULL; | 1904 counters_ = NULL; |
1905 | 1905 |
1906 delete handle_scope_implementer_; | 1906 delete handle_scope_implementer_; |
1907 handle_scope_implementer_ = NULL; | 1907 handle_scope_implementer_ = NULL; |
1908 | 1908 |
| 1909 delete code_tracer(); |
| 1910 set_code_tracer(NULL); |
| 1911 |
1909 delete compilation_cache_; | 1912 delete compilation_cache_; |
1910 compilation_cache_ = NULL; | 1913 compilation_cache_ = NULL; |
1911 delete bootstrapper_; | 1914 delete bootstrapper_; |
1912 bootstrapper_ = NULL; | 1915 bootstrapper_ = NULL; |
1913 delete inner_pointer_to_code_cache_; | 1916 delete inner_pointer_to_code_cache_; |
1914 inner_pointer_to_code_cache_ = NULL; | 1917 inner_pointer_to_code_cache_ = NULL; |
1915 | 1918 |
1916 delete thread_manager_; | 1919 delete thread_manager_; |
1917 thread_manager_ = NULL; | 1920 thread_manager_ = NULL; |
1918 | 1921 |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2633 if (prev_ && prev_->Intercept(flag)) return true; | 2636 if (prev_ && prev_->Intercept(flag)) return true; |
2634 // Then check whether this scope intercepts. | 2637 // Then check whether this scope intercepts. |
2635 if ((flag & intercept_mask_)) { | 2638 if ((flag & intercept_mask_)) { |
2636 intercepted_flags_ |= flag; | 2639 intercepted_flags_ |= flag; |
2637 return true; | 2640 return true; |
2638 } | 2641 } |
2639 return false; | 2642 return false; |
2640 } | 2643 } |
2641 | 2644 |
2642 } } // namespace v8::internal | 2645 } } // namespace v8::internal |
OLD | NEW |