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

Side by Side Diff: src/debug.h

Issue 2120009: IA32: Use the full compiler when debugging... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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/compiler.cc ('k') | src/flag-definitions.h » ('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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 return !compiling_natives_ && Debugger::IsDebuggerActive(); 686 return !compiling_natives_ && Debugger::IsDebuggerActive();
687 } 687 }
688 688
689 static void set_compiling_natives(bool compiling_natives) { 689 static void set_compiling_natives(bool compiling_natives) {
690 Debugger::compiling_natives_ = compiling_natives; 690 Debugger::compiling_natives_ = compiling_natives;
691 } 691 }
692 static bool compiling_natives() { return Debugger::compiling_natives_; } 692 static bool compiling_natives() { return Debugger::compiling_natives_; }
693 static void set_loading_debugger(bool v) { is_loading_debugger_ = v; } 693 static void set_loading_debugger(bool v) { is_loading_debugger_ = v; }
694 static bool is_loading_debugger() { return Debugger::is_loading_debugger_; } 694 static bool is_loading_debugger() { return Debugger::is_loading_debugger_; }
695 695
696 static bool IsDebuggerActive();
697
696 private: 698 private:
697 static bool IsDebuggerActive();
698 static void ListenersChanged(); 699 static void ListenersChanged();
699 700
700 static Mutex* debugger_access_; // Mutex guarding debugger variables. 701 static Mutex* debugger_access_; // Mutex guarding debugger variables.
701 static Handle<Object> event_listener_; // Global handle to listener. 702 static Handle<Object> event_listener_; // Global handle to listener.
702 static Handle<Object> event_listener_data_; 703 static Handle<Object> event_listener_data_;
703 static bool compiling_natives_; // Are we compiling natives? 704 static bool compiling_natives_; // Are we compiling natives?
704 static bool is_loading_debugger_; // Are we loading the debugger? 705 static bool is_loading_debugger_; // Are we loading the debugger?
705 static bool never_unload_debugger_; // Can we unload the debugger? 706 static bool never_unload_debugger_; // Can we unload the debugger?
706 static v8::Debug::MessageHandler2 message_handler_; 707 static v8::Debug::MessageHandler2 message_handler_;
707 static bool debugger_unload_pending_; // Was message handler cleared? 708 static bool debugger_unload_pending_; // Was message handler cleared?
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 906
906 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 907 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
907 }; 908 };
908 909
909 910
910 } } // namespace v8::internal 911 } } // namespace v8::internal
911 912
912 #endif // ENABLE_DEBUGGER_SUPPORT 913 #endif // ENABLE_DEBUGGER_SUPPORT
913 914
914 #endif // V8_DEBUG_H_ 915 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698