Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: src/isolate.h

Issue 663313003: Cleanup ConsStringIteratorOp. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 22 matching lines...) Expand all
33 namespace internal { 33 namespace internal {
34 34
35 class BasicBlockProfiler; 35 class BasicBlockProfiler;
36 class Bootstrapper; 36 class Bootstrapper;
37 class CallInterfaceDescriptorData; 37 class CallInterfaceDescriptorData;
38 class CodeGenerator; 38 class CodeGenerator;
39 class CodeRange; 39 class CodeRange;
40 class CodeStubDescriptor; 40 class CodeStubDescriptor;
41 class CodeTracer; 41 class CodeTracer;
42 class CompilationCache; 42 class CompilationCache;
43 class ConsStringIteratorOp;
44 class ContextSlotCache; 43 class ContextSlotCache;
45 class Counters; 44 class Counters;
46 class CpuFeatures; 45 class CpuFeatures;
47 class CpuProfiler; 46 class CpuProfiler;
48 class DeoptimizerData; 47 class DeoptimizerData;
49 class Deserializer; 48 class Deserializer;
50 class EmptyStatement; 49 class EmptyStatement;
51 class ExternalCallbackScope; 50 class ExternalCallbackScope;
52 class ExternalReferenceTable; 51 class ExternalReferenceTable;
53 class Factory; 52 class Factory;
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 Zone* runtime_zone() { return &runtime_zone_; } 914 Zone* runtime_zone() { return &runtime_zone_; }
916 915
917 UnicodeCache* unicode_cache() { 916 UnicodeCache* unicode_cache() {
918 return unicode_cache_; 917 return unicode_cache_;
919 } 918 }
920 919
921 InnerPointerToCodeCache* inner_pointer_to_code_cache() { 920 InnerPointerToCodeCache* inner_pointer_to_code_cache() {
922 return inner_pointer_to_code_cache_; 921 return inner_pointer_to_code_cache_;
923 } 922 }
924 923
925 ConsStringIteratorOp* write_iterator() { return write_iterator_; }
926
927 GlobalHandles* global_handles() { return global_handles_; } 924 GlobalHandles* global_handles() { return global_handles_; }
928 925
929 EternalHandles* eternal_handles() { return eternal_handles_; } 926 EternalHandles* eternal_handles() { return eternal_handles_; }
930 927
931 ThreadManager* thread_manager() { return thread_manager_; } 928 ThreadManager* thread_manager() { return thread_manager_; }
932 929
933 StringTracker* string_tracker() { return string_tracker_; } 930 StringTracker* string_tracker() { return string_tracker_; }
934 931
935 unibrow::Mapping<unibrow::Ecma262UnCanonicalize>* jsregexp_uncanonicalize() { 932 unibrow::Mapping<unibrow::Ecma262UnCanonicalize>* jsregexp_uncanonicalize() {
936 return &jsregexp_uncanonicalize_; 933 return &jsregexp_uncanonicalize_;
937 } 934 }
938 935
939 unibrow::Mapping<unibrow::CanonicalizationRange>* jsregexp_canonrange() { 936 unibrow::Mapping<unibrow::CanonicalizationRange>* jsregexp_canonrange() {
940 return &jsregexp_canonrange_; 937 return &jsregexp_canonrange_;
941 } 938 }
942 939
943 ConsStringIteratorOp* objects_string_compare_iterator_a() {
944 return &objects_string_compare_iterator_a_;
945 }
946
947 ConsStringIteratorOp* objects_string_compare_iterator_b() {
948 return &objects_string_compare_iterator_b_;
949 }
950
951 StaticResource<ConsStringIteratorOp>* objects_string_iterator() {
952 return &objects_string_iterator_;
953 }
954
955 RuntimeState* runtime_state() { return &runtime_state_; } 940 RuntimeState* runtime_state() { return &runtime_state_; }
956 941
957 Builtins* builtins() { return &builtins_; } 942 Builtins* builtins() { return &builtins_; }
958 943
959 void NotifyExtensionInstalled() { 944 void NotifyExtensionInstalled() {
960 has_installed_extensions_ = true; 945 has_installed_extensions_ = true;
961 } 946 }
962 947
963 bool has_installed_extensions() { return has_installed_extensions_; } 948 bool has_installed_extensions() { return has_installed_extensions_; }
964 949
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; 1229 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_;
1245 MemoryAllocator* memory_allocator_; 1230 MemoryAllocator* memory_allocator_;
1246 KeyedLookupCache* keyed_lookup_cache_; 1231 KeyedLookupCache* keyed_lookup_cache_;
1247 ContextSlotCache* context_slot_cache_; 1232 ContextSlotCache* context_slot_cache_;
1248 DescriptorLookupCache* descriptor_lookup_cache_; 1233 DescriptorLookupCache* descriptor_lookup_cache_;
1249 HandleScopeData handle_scope_data_; 1234 HandleScopeData handle_scope_data_;
1250 HandleScopeImplementer* handle_scope_implementer_; 1235 HandleScopeImplementer* handle_scope_implementer_;
1251 UnicodeCache* unicode_cache_; 1236 UnicodeCache* unicode_cache_;
1252 Zone runtime_zone_; 1237 Zone runtime_zone_;
1253 InnerPointerToCodeCache* inner_pointer_to_code_cache_; 1238 InnerPointerToCodeCache* inner_pointer_to_code_cache_;
1254 ConsStringIteratorOp* write_iterator_;
1255 GlobalHandles* global_handles_; 1239 GlobalHandles* global_handles_;
1256 EternalHandles* eternal_handles_; 1240 EternalHandles* eternal_handles_;
1257 ThreadManager* thread_manager_; 1241 ThreadManager* thread_manager_;
1258 RuntimeState runtime_state_; 1242 RuntimeState runtime_state_;
1259 Builtins builtins_; 1243 Builtins builtins_;
1260 bool has_installed_extensions_; 1244 bool has_installed_extensions_;
1261 StringTracker* string_tracker_; 1245 StringTracker* string_tracker_;
1262 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; 1246 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_;
1263 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1247 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1264 ConsStringIteratorOp objects_string_compare_iterator_a_;
1265 ConsStringIteratorOp objects_string_compare_iterator_b_;
1266 StaticResource<ConsStringIteratorOp> objects_string_iterator_;
1267 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1248 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1268 regexp_macro_assembler_canonicalize_; 1249 regexp_macro_assembler_canonicalize_;
1269 RegExpStack* regexp_stack_; 1250 RegExpStack* regexp_stack_;
1270 DateCache* date_cache_; 1251 DateCache* date_cache_;
1271 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; 1252 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
1272 CallInterfaceDescriptorData* call_descriptor_data_; 1253 CallInterfaceDescriptorData* call_descriptor_data_;
1273 base::RandomNumberGenerator* random_number_generator_; 1254 base::RandomNumberGenerator* random_number_generator_;
1274 1255
1275 // Whether the isolate has been created for snapshotting. 1256 // Whether the isolate has been created for snapshotting.
1276 bool serializer_enabled_; 1257 bool serializer_enabled_;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1551 } 1532 }
1552 1533
1553 EmbeddedVector<char, 128> filename_; 1534 EmbeddedVector<char, 128> filename_;
1554 FILE* file_; 1535 FILE* file_;
1555 int scope_depth_; 1536 int scope_depth_;
1556 }; 1537 };
1557 1538
1558 } } // namespace v8::internal 1539 } } // namespace v8::internal
1559 1540
1560 #endif // V8_ISOLATE_H_ 1541 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698