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

Side by Side Diff: src/isolate.h

Issue 2687933003: [Parser] Cache and clone initial AstValueFactory string_table_. (Closed)
Patch Set: Address comments Created 3 years, 10 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
« no previous file with comments | « src/base/hashmap.h ('k') | no next file » | 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 <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 v8::ArrayBuffer::Allocator* array_buffer_allocator() const { 1152 v8::ArrayBuffer::Allocator* array_buffer_allocator() const {
1153 return array_buffer_allocator_; 1153 return array_buffer_allocator_;
1154 } 1154 }
1155 1155
1156 FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; } 1156 FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; }
1157 1157
1158 CancelableTaskManager* cancelable_task_manager() { 1158 CancelableTaskManager* cancelable_task_manager() {
1159 return cancelable_task_manager_; 1159 return cancelable_task_manager_;
1160 } 1160 }
1161 1161
1162 AstStringConstants* ast_string_constants() const { 1162 const AstStringConstants* ast_string_constants() const {
1163 return ast_string_constants_; 1163 return ast_string_constants_;
1164 } 1164 }
1165 1165
1166 interpreter::Interpreter* interpreter() const { return interpreter_; } 1166 interpreter::Interpreter* interpreter() const { return interpreter_; }
1167 1167
1168 AccountingAllocator* allocator() { return allocator_; } 1168 AccountingAllocator* allocator() { return allocator_; }
1169 1169
1170 CompilerDispatcher* compiler_dispatcher() const { 1170 CompilerDispatcher* compiler_dispatcher() const {
1171 return compiler_dispatcher_; 1171 return compiler_dispatcher_;
1172 } 1172 }
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 HistogramInfo heap_histograms_[LAST_TYPE + 1]; 1402 HistogramInfo heap_histograms_[LAST_TYPE + 1];
1403 JSObject::SpillInformation js_spill_information_; 1403 JSObject::SpillInformation js_spill_information_;
1404 #endif 1404 #endif
1405 1405
1406 Debug* debug_; 1406 Debug* debug_;
1407 CpuProfiler* cpu_profiler_; 1407 CpuProfiler* cpu_profiler_;
1408 HeapProfiler* heap_profiler_; 1408 HeapProfiler* heap_profiler_;
1409 std::unique_ptr<CodeEventDispatcher> code_event_dispatcher_; 1409 std::unique_ptr<CodeEventDispatcher> code_event_dispatcher_;
1410 FunctionEntryHook function_entry_hook_; 1410 FunctionEntryHook function_entry_hook_;
1411 1411
1412 AstStringConstants* ast_string_constants_; 1412 const AstStringConstants* ast_string_constants_;
1413 1413
1414 interpreter::Interpreter* interpreter_; 1414 interpreter::Interpreter* interpreter_;
1415 1415
1416 CompilerDispatcher* compiler_dispatcher_; 1416 CompilerDispatcher* compiler_dispatcher_;
1417 1417
1418 typedef std::pair<InterruptCallback, void*> InterruptEntry; 1418 typedef std::pair<InterruptCallback, void*> InterruptEntry;
1419 std::queue<InterruptEntry> api_interrupts_queue_; 1419 std::queue<InterruptEntry> api_interrupts_queue_;
1420 1420
1421 #define GLOBAL_BACKING_STORE(type, name, initialvalue) \ 1421 #define GLOBAL_BACKING_STORE(type, name, initialvalue) \
1422 type name##_; 1422 type name##_;
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 1710
1711 EmbeddedVector<char, 128> filename_; 1711 EmbeddedVector<char, 128> filename_;
1712 FILE* file_; 1712 FILE* file_;
1713 int scope_depth_; 1713 int scope_depth_;
1714 }; 1714 };
1715 1715
1716 } // namespace internal 1716 } // namespace internal
1717 } // namespace v8 1717 } // namespace v8
1718 1718
1719 #endif // V8_ISOLATE_H_ 1719 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/base/hashmap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698