| 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 "../include/v8-debug.h" | 8 #include "../include/v8-debug.h" |
| 9 #include "allocation.h" | 9 #include "allocation.h" |
| 10 #include "assert-scope.h" | 10 #include "assert-scope.h" |
| (...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 return ®exp_macro_assembler_canonicalize_; | 921 return ®exp_macro_assembler_canonicalize_; |
| 922 } | 922 } |
| 923 | 923 |
| 924 RegExpStack* regexp_stack() { return regexp_stack_; } | 924 RegExpStack* regexp_stack() { return regexp_stack_; } |
| 925 | 925 |
| 926 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 926 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
| 927 interp_canonicalize_mapping() { | 927 interp_canonicalize_mapping() { |
| 928 return &interp_canonicalize_mapping_; | 928 return &interp_canonicalize_mapping_; |
| 929 } | 929 } |
| 930 | 930 |
| 931 Debugger* debugger() { return debugger_; } | |
| 932 Debug* debug() { return debug_; } | 931 Debug* debug() { return debug_; } |
| 933 | 932 |
| 934 inline bool DebuggerHasBreakPoints(); | 933 inline bool DebuggerHasBreakPoints(); |
| 935 | 934 |
| 936 CpuProfiler* cpu_profiler() const { return cpu_profiler_; } | 935 CpuProfiler* cpu_profiler() const { return cpu_profiler_; } |
| 937 HeapProfiler* heap_profiler() const { return heap_profiler_; } | 936 HeapProfiler* heap_profiler() const { return heap_profiler_; } |
| 938 | 937 |
| 939 #ifdef DEBUG | 938 #ifdef DEBUG |
| 940 HistogramInfo* heap_histograms() { return heap_histograms_; } | 939 HistogramInfo* heap_histograms() { return heap_histograms_; } |
| 941 | 940 |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1251 | 1250 |
| 1252 // Time stamp at initialization. | 1251 // Time stamp at initialization. |
| 1253 double time_millis_at_init_; | 1252 double time_millis_at_init_; |
| 1254 | 1253 |
| 1255 #ifdef DEBUG | 1254 #ifdef DEBUG |
| 1256 // A static array of histogram info for each type. | 1255 // A static array of histogram info for each type. |
| 1257 HistogramInfo heap_histograms_[LAST_TYPE + 1]; | 1256 HistogramInfo heap_histograms_[LAST_TYPE + 1]; |
| 1258 JSObject::SpillInformation js_spill_information_; | 1257 JSObject::SpillInformation js_spill_information_; |
| 1259 #endif | 1258 #endif |
| 1260 | 1259 |
| 1261 Debugger* debugger_; | |
| 1262 Debug* debug_; | 1260 Debug* debug_; |
| 1263 CpuProfiler* cpu_profiler_; | 1261 CpuProfiler* cpu_profiler_; |
| 1264 HeapProfiler* heap_profiler_; | 1262 HeapProfiler* heap_profiler_; |
| 1265 FunctionEntryHook function_entry_hook_; | 1263 FunctionEntryHook function_entry_hook_; |
| 1266 | 1264 |
| 1267 #define GLOBAL_BACKING_STORE(type, name, initialvalue) \ | 1265 #define GLOBAL_BACKING_STORE(type, name, initialvalue) \ |
| 1268 type name##_; | 1266 type name##_; |
| 1269 ISOLATE_INIT_LIST(GLOBAL_BACKING_STORE) | 1267 ISOLATE_INIT_LIST(GLOBAL_BACKING_STORE) |
| 1270 #undef GLOBAL_BACKING_STORE | 1268 #undef GLOBAL_BACKING_STORE |
| 1271 | 1269 |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1491 } | 1489 } |
| 1492 | 1490 |
| 1493 EmbeddedVector<char, 128> filename_; | 1491 EmbeddedVector<char, 128> filename_; |
| 1494 FILE* file_; | 1492 FILE* file_; |
| 1495 int scope_depth_; | 1493 int scope_depth_; |
| 1496 }; | 1494 }; |
| 1497 | 1495 |
| 1498 } } // namespace v8::internal | 1496 } } // namespace v8::internal |
| 1499 | 1497 |
| 1500 #endif // V8_ISOLATE_H_ | 1498 #endif // V8_ISOLATE_H_ |
| OLD | NEW |