| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 class EmptyStatement; | 62 class EmptyStatement; |
| 63 class ExternalReferenceTable; | 63 class ExternalReferenceTable; |
| 64 class Factory; | 64 class Factory; |
| 65 class FunctionInfoListener; | 65 class FunctionInfoListener; |
| 66 class HandleScopeImplementer; | 66 class HandleScopeImplementer; |
| 67 class HeapProfiler; | 67 class HeapProfiler; |
| 68 class InlineRuntimeFunctionsTable; | 68 class InlineRuntimeFunctionsTable; |
| 69 class NoAllocationStringAllocator; | 69 class NoAllocationStringAllocator; |
| 70 class PcToCodeCache; | 70 class PcToCodeCache; |
| 71 class PreallocatedMemoryThread; | 71 class PreallocatedMemoryThread; |
| 72 class ProducerHeapProfile; | |
| 73 class RegExpStack; | 72 class RegExpStack; |
| 74 class SaveContext; | 73 class SaveContext; |
| 75 class UnicodeCache; | 74 class UnicodeCache; |
| 76 class StringInputBuffer; | 75 class StringInputBuffer; |
| 77 class StringTracker; | 76 class StringTracker; |
| 78 class StubCache; | 77 class StubCache; |
| 79 class ThreadManager; | 78 class ThreadManager; |
| 80 class ThreadState; | 79 class ThreadState; |
| 81 class ThreadVisitor; // Defined in v8threads.h | 80 class ThreadVisitor; // Defined in v8threads.h |
| 82 class VMState; | 81 class VMState; |
| (...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 void PreallocatedStorageDelete(void* p); | 899 void PreallocatedStorageDelete(void* p); |
| 901 void PreallocatedStorageInit(size_t size); | 900 void PreallocatedStorageInit(size_t size); |
| 902 | 901 |
| 903 #ifdef ENABLE_DEBUGGER_SUPPORT | 902 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 904 Debugger* debugger() { return debugger_; } | 903 Debugger* debugger() { return debugger_; } |
| 905 Debug* debug() { return debug_; } | 904 Debug* debug() { return debug_; } |
| 906 #endif | 905 #endif |
| 907 | 906 |
| 908 inline bool DebuggerHasBreakPoints(); | 907 inline bool DebuggerHasBreakPoints(); |
| 909 | 908 |
| 910 #ifdef ENABLE_LOGGING_AND_PROFILING | |
| 911 ProducerHeapProfile* producer_heap_profile() { | |
| 912 return producer_heap_profile_; | |
| 913 } | |
| 914 #endif | |
| 915 | |
| 916 #ifdef DEBUG | 909 #ifdef DEBUG |
| 917 HistogramInfo* heap_histograms() { return heap_histograms_; } | 910 HistogramInfo* heap_histograms() { return heap_histograms_; } |
| 918 | 911 |
| 919 JSObject::SpillInformation* js_spill_information() { | 912 JSObject::SpillInformation* js_spill_information() { |
| 920 return &js_spill_information_; | 913 return &js_spill_information_; |
| 921 } | 914 } |
| 922 | 915 |
| 923 int* code_kind_statistics() { return code_kind_statistics_; } | 916 int* code_kind_statistics() { return code_kind_statistics_; } |
| 924 #endif | 917 #endif |
| 925 | 918 |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1165 HistogramInfo heap_histograms_[LAST_TYPE + 1]; | 1158 HistogramInfo heap_histograms_[LAST_TYPE + 1]; |
| 1166 JSObject::SpillInformation js_spill_information_; | 1159 JSObject::SpillInformation js_spill_information_; |
| 1167 int code_kind_statistics_[Code::NUMBER_OF_KINDS]; | 1160 int code_kind_statistics_[Code::NUMBER_OF_KINDS]; |
| 1168 #endif | 1161 #endif |
| 1169 | 1162 |
| 1170 #ifdef ENABLE_DEBUGGER_SUPPORT | 1163 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 1171 Debugger* debugger_; | 1164 Debugger* debugger_; |
| 1172 Debug* debug_; | 1165 Debug* debug_; |
| 1173 #endif | 1166 #endif |
| 1174 | 1167 |
| 1175 #ifdef ENABLE_LOGGING_AND_PROFILING | |
| 1176 ProducerHeapProfile* producer_heap_profile_; | |
| 1177 #endif | |
| 1178 | |
| 1179 #define GLOBAL_BACKING_STORE(type, name, initialvalue) \ | 1168 #define GLOBAL_BACKING_STORE(type, name, initialvalue) \ |
| 1180 type name##_; | 1169 type name##_; |
| 1181 ISOLATE_INIT_LIST(GLOBAL_BACKING_STORE) | 1170 ISOLATE_INIT_LIST(GLOBAL_BACKING_STORE) |
| 1182 #undef GLOBAL_BACKING_STORE | 1171 #undef GLOBAL_BACKING_STORE |
| 1183 | 1172 |
| 1184 #define GLOBAL_ARRAY_BACKING_STORE(type, name, length) \ | 1173 #define GLOBAL_ARRAY_BACKING_STORE(type, name, length) \ |
| 1185 type name##_[length]; | 1174 type name##_[length]; |
| 1186 ISOLATE_INIT_ARRAY_LIST(GLOBAL_ARRAY_BACKING_STORE) | 1175 ISOLATE_INIT_ARRAY_LIST(GLOBAL_ARRAY_BACKING_STORE) |
| 1187 #undef GLOBAL_ARRAY_BACKING_STORE | 1176 #undef GLOBAL_ARRAY_BACKING_STORE |
| 1188 | 1177 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 | 1354 |
| 1366 } } // namespace v8::internal | 1355 } } // namespace v8::internal |
| 1367 | 1356 |
| 1368 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1357 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
| 1369 // they're needed. | 1358 // they're needed. |
| 1370 #include "allocation-inl.h" | 1359 #include "allocation-inl.h" |
| 1371 #include "zone-inl.h" | 1360 #include "zone-inl.h" |
| 1372 #include "frames-inl.h" | 1361 #include "frames-inl.h" |
| 1373 | 1362 |
| 1374 #endif // V8_ISOLATE_H_ | 1363 #endif // V8_ISOLATE_H_ |
| OLD | NEW |