| 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 <queue> | 8 #include <queue> |
| 9 #include "include/v8-debug.h" | 9 #include "include/v8-debug.h" |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // assembler.h, where it is defined, here. | 77 // assembler.h, where it is defined, here. |
| 78 typedef void* ExternalReferenceRedirectorPointer(); | 78 typedef void* ExternalReferenceRedirectorPointer(); |
| 79 | 79 |
| 80 | 80 |
| 81 class Debug; | 81 class Debug; |
| 82 class Debugger; | 82 class Debugger; |
| 83 class PromiseOnStack; | 83 class PromiseOnStack; |
| 84 class Redirection; | 84 class Redirection; |
| 85 class Simulator; | 85 class Simulator; |
| 86 | 86 |
| 87 namespace interpreter { |
| 88 class Interpreter; |
| 89 } |
| 87 | 90 |
| 88 // Static indirection table for handles to constants. If a frame | 91 // Static indirection table for handles to constants. If a frame |
| 89 // element represents a constant, the data contains an index into | 92 // element represents a constant, the data contains an index into |
| 90 // this table of handles to the actual constants. | 93 // this table of handles to the actual constants. |
| 91 // Static indirection table for handles to constants. If a Result | 94 // Static indirection table for handles to constants. If a Result |
| 92 // represents a constant, the data contains an index into this table | 95 // represents a constant, the data contains an index into this table |
| 93 // of handles to the actual constants. | 96 // of handles to the actual constants. |
| 94 typedef ZoneList<Handle<Object> > ZoneObjectList; | 97 typedef ZoneList<Handle<Object> > ZoneObjectList; |
| 95 | 98 |
| 96 #define RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate) \ | 99 #define RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate) \ |
| (...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1310 // A static array of histogram info for each type. | 1313 // A static array of histogram info for each type. |
| 1311 HistogramInfo heap_histograms_[LAST_TYPE + 1]; | 1314 HistogramInfo heap_histograms_[LAST_TYPE + 1]; |
| 1312 JSObject::SpillInformation js_spill_information_; | 1315 JSObject::SpillInformation js_spill_information_; |
| 1313 #endif | 1316 #endif |
| 1314 | 1317 |
| 1315 Debug* debug_; | 1318 Debug* debug_; |
| 1316 CpuProfiler* cpu_profiler_; | 1319 CpuProfiler* cpu_profiler_; |
| 1317 HeapProfiler* heap_profiler_; | 1320 HeapProfiler* heap_profiler_; |
| 1318 FunctionEntryHook function_entry_hook_; | 1321 FunctionEntryHook function_entry_hook_; |
| 1319 | 1322 |
| 1323 interpreter::Interpreter* interpreter_; |
| 1324 |
| 1320 typedef std::pair<InterruptCallback, void*> InterruptEntry; | 1325 typedef std::pair<InterruptCallback, void*> InterruptEntry; |
| 1321 std::queue<InterruptEntry> api_interrupts_queue_; | 1326 std::queue<InterruptEntry> api_interrupts_queue_; |
| 1322 | 1327 |
| 1323 #define GLOBAL_BACKING_STORE(type, name, initialvalue) \ | 1328 #define GLOBAL_BACKING_STORE(type, name, initialvalue) \ |
| 1324 type name##_; | 1329 type name##_; |
| 1325 ISOLATE_INIT_LIST(GLOBAL_BACKING_STORE) | 1330 ISOLATE_INIT_LIST(GLOBAL_BACKING_STORE) |
| 1326 #undef GLOBAL_BACKING_STORE | 1331 #undef GLOBAL_BACKING_STORE |
| 1327 | 1332 |
| 1328 #define GLOBAL_ARRAY_BACKING_STORE(type, name, length) \ | 1333 #define GLOBAL_ARRAY_BACKING_STORE(type, name, length) \ |
| 1329 type name##_[length]; | 1334 type name##_[length]; |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1584 } | 1589 } |
| 1585 | 1590 |
| 1586 EmbeddedVector<char, 128> filename_; | 1591 EmbeddedVector<char, 128> filename_; |
| 1587 FILE* file_; | 1592 FILE* file_; |
| 1588 int scope_depth_; | 1593 int scope_depth_; |
| 1589 }; | 1594 }; |
| 1590 | 1595 |
| 1591 } } // namespace v8::internal | 1596 } } // namespace v8::internal |
| 1592 | 1597 |
| 1593 #endif // V8_ISOLATE_H_ | 1598 #endif // V8_ISOLATE_H_ |
| OLD | NEW |