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

Side by Side Diff: src/debug.cc

Issue 303693010: Remove unused debug API. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « include/v8-debug.h ('k') | 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 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 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "api.h" 7 #include "api.h"
8 #include "arguments.h" 8 #include "arguments.h"
9 #include "bootstrapper.h" 9 #include "bootstrapper.h"
10 #include "code-stubs.h" 10 #include "code-stubs.h"
(...skipping 2846 matching lines...) Expand 10 before | Expand all | Expand 10 after
2857 CallJSEventCallback(event, exec_state, event_data); 2857 CallJSEventCallback(event, exec_state, event_data);
2858 } 2858 }
2859 } 2859 }
2860 2860
2861 2861
2862 void Debug::CallCEventCallback(v8::DebugEvent event, 2862 void Debug::CallCEventCallback(v8::DebugEvent event,
2863 Handle<Object> exec_state, 2863 Handle<Object> exec_state,
2864 Handle<Object> event_data, 2864 Handle<Object> event_data,
2865 v8::Debug::ClientData* client_data) { 2865 v8::Debug::ClientData* client_data) {
2866 Handle<Foreign> callback_obj(Handle<Foreign>::cast(event_listener_)); 2866 Handle<Foreign> callback_obj(Handle<Foreign>::cast(event_listener_));
2867 v8::Debug::EventCallback2 callback = 2867 v8::Debug::EventCallback callback =
2868 FUNCTION_CAST<v8::Debug::EventCallback2>( 2868 FUNCTION_CAST<v8::Debug::EventCallback>(
2869 callback_obj->foreign_address()); 2869 callback_obj->foreign_address());
2870 EventDetailsImpl event_details( 2870 EventDetailsImpl event_details(
2871 event, 2871 event,
2872 Handle<JSObject>::cast(exec_state), 2872 Handle<JSObject>::cast(exec_state),
2873 Handle<JSObject>::cast(event_data), 2873 Handle<JSObject>::cast(event_data),
2874 event_listener_data_, 2874 event_listener_data_,
2875 client_data); 2875 client_data);
2876 callback(event_details); 2876 callback(event_details);
2877 } 2877 }
2878 2878
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
3462 logger_->DebugEvent("Put", message.text()); 3462 logger_->DebugEvent("Put", message.text());
3463 } 3463 }
3464 3464
3465 3465
3466 void LockingCommandMessageQueue::Clear() { 3466 void LockingCommandMessageQueue::Clear() {
3467 LockGuard<Mutex> lock_guard(&mutex_); 3467 LockGuard<Mutex> lock_guard(&mutex_);
3468 queue_.Clear(); 3468 queue_.Clear();
3469 } 3469 }
3470 3470
3471 } } // namespace v8::internal 3471 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8-debug.h ('k') | test/cctest/test-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698