| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |