OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 12 matching lines...) Expand all Loading... |
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #ifndef V8_ISOLATE_H_ | 28 #ifndef V8_ISOLATE_H_ |
29 #define V8_ISOLATE_H_ | 29 #define V8_ISOLATE_H_ |
30 | 30 |
31 #include "../include/v8-debug.h" | 31 #include "../include/v8-debug.h" |
32 #include "allocation.h" | 32 #include "allocation.h" |
33 #include "apiutils.h" | |
34 #include "assert-scope.h" | 33 #include "assert-scope.h" |
35 #include "atomicops.h" | 34 #include "atomicops.h" |
36 #include "builtins.h" | 35 #include "builtins.h" |
37 #include "contexts.h" | 36 #include "contexts.h" |
38 #include "execution.h" | 37 #include "execution.h" |
39 #include "frames.h" | 38 #include "frames.h" |
40 #include "date.h" | 39 #include "date.h" |
41 #include "global-handles.h" | 40 #include "global-handles.h" |
42 #include "handles.h" | 41 #include "handles.h" |
43 #include "hashmap.h" | 42 #include "hashmap.h" |
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 } | 878 } |
880 | 879 |
881 ContextSlotCache* context_slot_cache() { | 880 ContextSlotCache* context_slot_cache() { |
882 return context_slot_cache_; | 881 return context_slot_cache_; |
883 } | 882 } |
884 | 883 |
885 DescriptorLookupCache* descriptor_lookup_cache() { | 884 DescriptorLookupCache* descriptor_lookup_cache() { |
886 return descriptor_lookup_cache_; | 885 return descriptor_lookup_cache_; |
887 } | 886 } |
888 | 887 |
889 v8::ImplementationUtilities::HandleScopeData* handle_scope_data() { | 888 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } |
890 return &handle_scope_data_; | 889 |
891 } | |
892 HandleScopeImplementer* handle_scope_implementer() { | 890 HandleScopeImplementer* handle_scope_implementer() { |
893 ASSERT(handle_scope_implementer_); | 891 ASSERT(handle_scope_implementer_); |
894 return handle_scope_implementer_; | 892 return handle_scope_implementer_; |
895 } | 893 } |
896 Zone* runtime_zone() { return &runtime_zone_; } | 894 Zone* runtime_zone() { return &runtime_zone_; } |
897 | 895 |
898 UnicodeCache* unicode_cache() { | 896 UnicodeCache* unicode_cache() { |
899 return unicode_cache_; | 897 return unicode_cache_; |
900 } | 898 } |
901 | 899 |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 StubCache* stub_cache_; | 1265 StubCache* stub_cache_; |
1268 DeoptimizerData* deoptimizer_data_; | 1266 DeoptimizerData* deoptimizer_data_; |
1269 ThreadLocalTop thread_local_top_; | 1267 ThreadLocalTop thread_local_top_; |
1270 bool capture_stack_trace_for_uncaught_exceptions_; | 1268 bool capture_stack_trace_for_uncaught_exceptions_; |
1271 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1269 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1272 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1270 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1273 MemoryAllocator* memory_allocator_; | 1271 MemoryAllocator* memory_allocator_; |
1274 KeyedLookupCache* keyed_lookup_cache_; | 1272 KeyedLookupCache* keyed_lookup_cache_; |
1275 ContextSlotCache* context_slot_cache_; | 1273 ContextSlotCache* context_slot_cache_; |
1276 DescriptorLookupCache* descriptor_lookup_cache_; | 1274 DescriptorLookupCache* descriptor_lookup_cache_; |
1277 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; | 1275 HandleScopeData handle_scope_data_; |
1278 HandleScopeImplementer* handle_scope_implementer_; | 1276 HandleScopeImplementer* handle_scope_implementer_; |
1279 UnicodeCache* unicode_cache_; | 1277 UnicodeCache* unicode_cache_; |
1280 Zone runtime_zone_; | 1278 Zone runtime_zone_; |
1281 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1279 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
1282 ConsStringIteratorOp* write_iterator_; | 1280 ConsStringIteratorOp* write_iterator_; |
1283 GlobalHandles* global_handles_; | 1281 GlobalHandles* global_handles_; |
1284 EternalHandles* eternal_handles_; | 1282 EternalHandles* eternal_handles_; |
1285 ThreadManager* thread_manager_; | 1283 ThreadManager* thread_manager_; |
1286 RuntimeState runtime_state_; | 1284 RuntimeState runtime_state_; |
1287 bool fp_stubs_generated_; | 1285 bool fp_stubs_generated_; |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 } | 1563 } |
1566 | 1564 |
1567 EmbeddedVector<char, 128> filename_; | 1565 EmbeddedVector<char, 128> filename_; |
1568 FILE* file_; | 1566 FILE* file_; |
1569 int scope_depth_; | 1567 int scope_depth_; |
1570 }; | 1568 }; |
1571 | 1569 |
1572 } } // namespace v8::internal | 1570 } } // namespace v8::internal |
1573 | 1571 |
1574 #endif // V8_ISOLATE_H_ | 1572 #endif // V8_ISOLATE_H_ |
OLD | NEW |