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 1774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1785 initialized_from_snapshot_(false), | 1785 initialized_from_snapshot_(false), |
1786 cpu_profiler_(NULL), | 1786 cpu_profiler_(NULL), |
1787 heap_profiler_(NULL), | 1787 heap_profiler_(NULL), |
1788 function_entry_hook_(NULL), | 1788 function_entry_hook_(NULL), |
1789 deferred_handles_head_(NULL), | 1789 deferred_handles_head_(NULL), |
1790 optimizing_compile_dispatcher_(NULL), | 1790 optimizing_compile_dispatcher_(NULL), |
1791 stress_deopt_count_(0), | 1791 stress_deopt_count_(0), |
1792 virtual_handler_register_(NULL), | 1792 virtual_handler_register_(NULL), |
1793 virtual_slot_register_(NULL), | 1793 virtual_slot_register_(NULL), |
1794 next_optimization_id_(0), | 1794 next_optimization_id_(0), |
| 1795 js_calls_from_api_counter_(0), |
1795 #if TRACE_MAPS | 1796 #if TRACE_MAPS |
1796 next_unique_sfi_id_(0), | 1797 next_unique_sfi_id_(0), |
1797 #endif | 1798 #endif |
1798 use_counter_callback_(NULL), | 1799 use_counter_callback_(NULL), |
1799 basic_block_profiler_(NULL), | 1800 basic_block_profiler_(NULL), |
1800 abort_on_uncaught_exception_callback_(NULL) { | 1801 abort_on_uncaught_exception_callback_(NULL) { |
1801 { | 1802 { |
1802 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); | 1803 base::LockGuard<base::Mutex> lock_guard(thread_data_table_mutex_.Pointer()); |
1803 CHECK(thread_data_table_); | 1804 CHECK(thread_data_table_); |
1804 } | 1805 } |
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2850 // Then check whether this scope intercepts. | 2851 // Then check whether this scope intercepts. |
2851 if ((flag & intercept_mask_)) { | 2852 if ((flag & intercept_mask_)) { |
2852 intercepted_flags_ |= flag; | 2853 intercepted_flags_ |= flag; |
2853 return true; | 2854 return true; |
2854 } | 2855 } |
2855 return false; | 2856 return false; |
2856 } | 2857 } |
2857 | 2858 |
2858 } // namespace internal | 2859 } // namespace internal |
2859 } // namespace v8 | 2860 } // namespace v8 |
OLD | NEW |