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

Side by Side Diff: src/isolate.cc

Issue 11727003: Reland r13275 and 13276 (Remove most uses of StringInputBuffer). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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/isolate.h ('k') | src/objects.h » ('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 // 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 1616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 keyed_lookup_cache_(NULL), 1627 keyed_lookup_cache_(NULL),
1628 context_slot_cache_(NULL), 1628 context_slot_cache_(NULL),
1629 descriptor_lookup_cache_(NULL), 1629 descriptor_lookup_cache_(NULL),
1630 handle_scope_implementer_(NULL), 1630 handle_scope_implementer_(NULL),
1631 unicode_cache_(NULL), 1631 unicode_cache_(NULL),
1632 runtime_zone_(this), 1632 runtime_zone_(this),
1633 in_use_list_(0), 1633 in_use_list_(0),
1634 free_list_(0), 1634 free_list_(0),
1635 preallocated_storage_preallocated_(false), 1635 preallocated_storage_preallocated_(false),
1636 inner_pointer_to_code_cache_(NULL), 1636 inner_pointer_to_code_cache_(NULL),
1637 write_input_buffer_(NULL), 1637 write_iterator_(NULL),
1638 global_handles_(NULL), 1638 global_handles_(NULL),
1639 context_switcher_(NULL), 1639 context_switcher_(NULL),
1640 thread_manager_(NULL), 1640 thread_manager_(NULL),
1641 fp_stubs_generated_(false), 1641 fp_stubs_generated_(false),
1642 has_installed_extensions_(false), 1642 has_installed_extensions_(false),
1643 string_tracker_(NULL), 1643 string_tracker_(NULL),
1644 regexp_stack_(NULL), 1644 regexp_stack_(NULL),
1645 date_cache_(NULL), 1645 date_cache_(NULL),
1646 code_stub_interface_descriptors_(NULL), 1646 code_stub_interface_descriptors_(NULL),
1647 context_exit_happened_(false), 1647 context_exit_happened_(false),
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1838 break_access_ = NULL; 1838 break_access_ = NULL;
1839 delete debugger_access_; 1839 delete debugger_access_;
1840 debugger_access_ = NULL; 1840 debugger_access_ = NULL;
1841 1841
1842 delete compilation_cache_; 1842 delete compilation_cache_;
1843 compilation_cache_ = NULL; 1843 compilation_cache_ = NULL;
1844 delete bootstrapper_; 1844 delete bootstrapper_;
1845 bootstrapper_ = NULL; 1845 bootstrapper_ = NULL;
1846 delete inner_pointer_to_code_cache_; 1846 delete inner_pointer_to_code_cache_;
1847 inner_pointer_to_code_cache_ = NULL; 1847 inner_pointer_to_code_cache_ = NULL;
1848 delete write_input_buffer_; 1848 delete write_iterator_;
1849 write_input_buffer_ = NULL; 1849 write_iterator_ = NULL;
1850 1850
1851 delete context_switcher_; 1851 delete context_switcher_;
1852 context_switcher_ = NULL; 1852 context_switcher_ = NULL;
1853 delete thread_manager_; 1853 delete thread_manager_;
1854 thread_manager_ = NULL; 1854 thread_manager_ = NULL;
1855 1855
1856 delete string_tracker_; 1856 delete string_tracker_;
1857 string_tracker_ = NULL; 1857 string_tracker_ = NULL;
1858 1858
1859 delete memory_allocator_; 1859 delete memory_allocator_;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1957 1957
1958 string_tracker_ = new StringTracker(); 1958 string_tracker_ = new StringTracker();
1959 string_tracker_->isolate_ = this; 1959 string_tracker_->isolate_ = this;
1960 compilation_cache_ = new CompilationCache(this); 1960 compilation_cache_ = new CompilationCache(this);
1961 transcendental_cache_ = new TranscendentalCache(); 1961 transcendental_cache_ = new TranscendentalCache();
1962 keyed_lookup_cache_ = new KeyedLookupCache(); 1962 keyed_lookup_cache_ = new KeyedLookupCache();
1963 context_slot_cache_ = new ContextSlotCache(); 1963 context_slot_cache_ = new ContextSlotCache();
1964 descriptor_lookup_cache_ = new DescriptorLookupCache(); 1964 descriptor_lookup_cache_ = new DescriptorLookupCache();
1965 unicode_cache_ = new UnicodeCache(); 1965 unicode_cache_ = new UnicodeCache();
1966 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this); 1966 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this);
1967 write_input_buffer_ = new StringInputBuffer(); 1967 write_iterator_ = new ConsStringIteratorOp();
1968 global_handles_ = new GlobalHandles(this); 1968 global_handles_ = new GlobalHandles(this);
1969 bootstrapper_ = new Bootstrapper(); 1969 bootstrapper_ = new Bootstrapper();
1970 handle_scope_implementer_ = new HandleScopeImplementer(this); 1970 handle_scope_implementer_ = new HandleScopeImplementer(this);
1971 stub_cache_ = new StubCache(this, runtime_zone()); 1971 stub_cache_ = new StubCache(this, runtime_zone());
1972 regexp_stack_ = new RegExpStack(); 1972 regexp_stack_ = new RegExpStack();
1973 regexp_stack_->isolate_ = this; 1973 regexp_stack_->isolate_ = this;
1974 date_cache_ = new DateCache(); 1974 date_cache_ = new DateCache();
1975 code_stub_interface_descriptors_ = 1975 code_stub_interface_descriptors_ =
1976 new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS]; 1976 new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS];
1977 memset(code_stub_interface_descriptors_, 0, 1977 memset(code_stub_interface_descriptors_, 0,
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
2210 2210
2211 #ifdef DEBUG 2211 #ifdef DEBUG
2212 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2212 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2213 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2213 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2214 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2214 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2215 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2215 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2216 #undef ISOLATE_FIELD_OFFSET 2216 #undef ISOLATE_FIELD_OFFSET
2217 #endif 2217 #endif
2218 2218
2219 } } // namespace v8::internal 2219 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698