Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/isolate.h

Issue 298863011: Merge the classes Debug and Debugger. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rename EnterDebugger Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/debug-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
923 return &regexp_macro_assembler_canonicalize_; 923 return &regexp_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
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
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_
OLDNEW
« no previous file with comments | « src/ia32/debug-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698