OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 29 matching lines...) Expand all Loading... |
40 #include "handles.h" | 40 #include "handles.h" |
41 #include "heap.h" | 41 #include "heap.h" |
42 #include "regexp-stack.h" | 42 #include "regexp-stack.h" |
43 #include "runtime-profiler.h" | 43 #include "runtime-profiler.h" |
44 #include "runtime.h" | 44 #include "runtime.h" |
45 #include "zone.h" | 45 #include "zone.h" |
46 | 46 |
47 namespace v8 { | 47 namespace v8 { |
48 namespace internal { | 48 namespace internal { |
49 | 49 |
50 class AstSentinels; | |
51 class Bootstrapper; | 50 class Bootstrapper; |
52 class CodeGenerator; | 51 class CodeGenerator; |
53 class CodeRange; | 52 class CodeRange; |
54 class CompilationCache; | 53 class CompilationCache; |
55 class ContextSlotCache; | 54 class ContextSlotCache; |
56 class ContextSwitcher; | 55 class ContextSwitcher; |
57 class Counters; | 56 class Counters; |
58 class CpuFeatures; | 57 class CpuFeatures; |
59 class CpuProfiler; | 58 class CpuProfiler; |
60 class DeoptimizerData; | 59 class DeoptimizerData; |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 } | 870 } |
872 | 871 |
873 StringInputBuffer* objects_string_compare_buffer_b() { | 872 StringInputBuffer* objects_string_compare_buffer_b() { |
874 return &objects_string_compare_buffer_b_; | 873 return &objects_string_compare_buffer_b_; |
875 } | 874 } |
876 | 875 |
877 StaticResource<StringInputBuffer>* objects_string_input_buffer() { | 876 StaticResource<StringInputBuffer>* objects_string_input_buffer() { |
878 return &objects_string_input_buffer_; | 877 return &objects_string_input_buffer_; |
879 } | 878 } |
880 | 879 |
881 AstSentinels* ast_sentinels() { return ast_sentinels_; } | |
882 | |
883 RuntimeState* runtime_state() { return &runtime_state_; } | 880 RuntimeState* runtime_state() { return &runtime_state_; } |
884 | 881 |
885 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() { | 882 StaticResource<SafeStringInputBuffer>* compiler_safe_string_input_buffer() { |
886 return &compiler_safe_string_input_buffer_; | 883 return &compiler_safe_string_input_buffer_; |
887 } | 884 } |
888 | 885 |
889 Builtins* builtins() { return &builtins_; } | 886 Builtins* builtins() { return &builtins_; } |
890 | 887 |
891 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 888 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
892 regexp_macro_assembler_canonicalize() { | 889 regexp_macro_assembler_canonicalize() { |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 UnicodeCache* unicode_cache_; | 1128 UnicodeCache* unicode_cache_; |
1132 Zone zone_; | 1129 Zone zone_; |
1133 PreallocatedStorage in_use_list_; | 1130 PreallocatedStorage in_use_list_; |
1134 PreallocatedStorage free_list_; | 1131 PreallocatedStorage free_list_; |
1135 bool preallocated_storage_preallocated_; | 1132 bool preallocated_storage_preallocated_; |
1136 PcToCodeCache* pc_to_code_cache_; | 1133 PcToCodeCache* pc_to_code_cache_; |
1137 StringInputBuffer* write_input_buffer_; | 1134 StringInputBuffer* write_input_buffer_; |
1138 GlobalHandles* global_handles_; | 1135 GlobalHandles* global_handles_; |
1139 ContextSwitcher* context_switcher_; | 1136 ContextSwitcher* context_switcher_; |
1140 ThreadManager* thread_manager_; | 1137 ThreadManager* thread_manager_; |
1141 AstSentinels* ast_sentinels_; | |
1142 RuntimeState runtime_state_; | 1138 RuntimeState runtime_state_; |
1143 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; | 1139 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; |
1144 Builtins builtins_; | 1140 Builtins builtins_; |
1145 StringTracker* string_tracker_; | 1141 StringTracker* string_tracker_; |
1146 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1142 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1147 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1143 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1148 StringInputBuffer objects_string_compare_buffer_a_; | 1144 StringInputBuffer objects_string_compare_buffer_a_; |
1149 StringInputBuffer objects_string_compare_buffer_b_; | 1145 StringInputBuffer objects_string_compare_buffer_b_; |
1150 StaticResource<StringInputBuffer> objects_string_input_buffer_; | 1146 StaticResource<StringInputBuffer> objects_string_input_buffer_; |
1151 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1147 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1357 | 1353 |
1358 // Mark the global context with out of memory. | 1354 // Mark the global context with out of memory. |
1359 inline void Context::mark_out_of_memory() { | 1355 inline void Context::mark_out_of_memory() { |
1360 global_context()->set_out_of_memory(HEAP->true_value()); | 1356 global_context()->set_out_of_memory(HEAP->true_value()); |
1361 } | 1357 } |
1362 | 1358 |
1363 | 1359 |
1364 } } // namespace v8::internal | 1360 } } // namespace v8::internal |
1365 | 1361 |
1366 #endif // V8_ISOLATE_H_ | 1362 #endif // V8_ISOLATE_H_ |
OLD | NEW |