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

Side by Side Diff: src/debug.h

Issue 20493: Fixed Linux build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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 | « no previous file | test/cctest/test-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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 static Handle<Object> event_listener_data_; 412 static Handle<Object> event_listener_data_;
413 static bool debugger_active_; // Are there any active debugger? 413 static bool debugger_active_; // Are there any active debugger?
414 static bool compiling_natives_; // Are we compiling natives? 414 static bool compiling_natives_; // Are we compiling natives?
415 static bool is_loading_debugger_; // Are we loading the debugger? 415 static bool is_loading_debugger_; // Are we loading the debugger?
416 static DebugMessageThread* message_thread_; 416 static DebugMessageThread* message_thread_;
417 static v8::DebugMessageHandler message_handler_; 417 static v8::DebugMessageHandler message_handler_;
418 static void* message_handler_data_; 418 static void* message_handler_data_;
419 static v8::DebugHostDispatchHandler host_dispatch_handler_; 419 static v8::DebugHostDispatchHandler host_dispatch_handler_;
420 static void* host_dispatch_handler_data_; 420 static void* host_dispatch_handler_data_;
421 421
422 friend class DebugMessageThread; 422 friend class DebugMessageThread;
423 }; 423 };
424 424
425 425
426 // A Queue of Vector<uint16_t> objects. A thread-safe version is 426 // A Queue of Vector<uint16_t> objects. A thread-safe version is
427 // LockingMessageQueue, based on this class. 427 // LockingMessageQueue, based on this class.
428 class MessageQueue BASE_EMBEDDED { 428 class MessageQueue BASE_EMBEDDED {
429 public: 429 public:
430 explicit MessageQueue(int size); 430 explicit MessageQueue(int size);
431 ~MessageQueue(); 431 ~MessageQueue();
432 bool IsEmpty() const { return start_ == end_; } 432 bool IsEmpty() const { return start_ == end_; }
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 } 612 }
613 private: 613 private:
614 Debug::AddressId id_; 614 Debug::AddressId id_;
615 int reg_; 615 int reg_;
616 }; 616 };
617 617
618 618
619 } } // namespace v8::internal 619 } } // namespace v8::internal
620 620
621 #endif // V8_V8_DEBUG_H_ 621 #endif // V8_V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698