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

Side by Side Diff: src/debug.h

Issue 7575013: Merge r8833 "Minimize malloc heap allocation on process startup" to 3.2. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.2/
Patch Set: '' Created 9 years, 4 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/api.cc ('k') | src/debug.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 void set_compiling_natives(bool compiling_natives) { 802 void set_compiling_natives(bool compiling_natives) {
803 Debugger::compiling_natives_ = compiling_natives; 803 Debugger::compiling_natives_ = compiling_natives;
804 } 804 }
805 bool compiling_natives() const { return compiling_natives_; } 805 bool compiling_natives() const { return compiling_natives_; }
806 void set_loading_debugger(bool v) { is_loading_debugger_ = v; } 806 void set_loading_debugger(bool v) { is_loading_debugger_ = v; }
807 bool is_loading_debugger() const { return is_loading_debugger_; } 807 bool is_loading_debugger() const { return is_loading_debugger_; }
808 808
809 bool IsDebuggerActive(); 809 bool IsDebuggerActive();
810 810
811 private: 811 private:
812 Debugger(); 812 explicit Debugger(Isolate* isolate);
813 813
814 void CallEventCallback(v8::DebugEvent event, 814 void CallEventCallback(v8::DebugEvent event,
815 Handle<Object> exec_state, 815 Handle<Object> exec_state,
816 Handle<Object> event_data, 816 Handle<Object> event_data,
817 v8::Debug::ClientData* client_data); 817 v8::Debug::ClientData* client_data);
818 void CallCEventCallback(v8::DebugEvent event, 818 void CallCEventCallback(v8::DebugEvent event,
819 Handle<Object> exec_state, 819 Handle<Object> exec_state,
820 Handle<Object> event_data, 820 Handle<Object> event_data,
821 v8::Debug::ClientData* client_data); 821 v8::Debug::ClientData* client_data);
822 void CallJSEventCallback(v8::DebugEvent event, 822 void CallJSEventCallback(v8::DebugEvent event,
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 1046
1047 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1047 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1048 }; 1048 };
1049 1049
1050 1050
1051 } } // namespace v8::internal 1051 } } // namespace v8::internal
1052 1052
1053 #endif // ENABLE_DEBUGGER_SUPPORT 1053 #endif // ENABLE_DEBUGGER_SUPPORT
1054 1054
1055 #endif // V8_DEBUG_H_ 1055 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698