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