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

Side by Side Diff: src/debug/debug.cc

Issue 2531543002: [debug] mark more unused debug API as deprecated. (Closed)
Patch Set: . Created 4 years 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
« no previous file with comments | « src/debug/debug.h ('k') | src/debug/debug.js » ('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 "src/debug/debug.h" 5 #include "src/debug/debug.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "src/api.h" 9 #include "src/api.h"
10 #include "src/arguments.h" 10 #include "src/arguments.h"
(...skipping 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 // Process debug event. 1766 // Process debug event.
1767 ProcessDebugEvent(v8::Break, Handle<JSObject>::cast(event_data)); 1767 ProcessDebugEvent(v8::Break, Handle<JSObject>::cast(event_data));
1768 } 1768 }
1769 1769
1770 1770
1771 void Debug::OnCompileError(Handle<Script> script) { 1771 void Debug::OnCompileError(Handle<Script> script) {
1772 ProcessCompileEvent(v8::CompileError, script); 1772 ProcessCompileEvent(v8::CompileError, script);
1773 } 1773 }
1774 1774
1775 1775
1776 void Debug::OnBeforeCompile(Handle<Script> script) {
1777 ProcessCompileEvent(v8::BeforeCompile, script);
1778 }
1779
1780
1781 // Handle debugger actions when a new script is compiled. 1776 // Handle debugger actions when a new script is compiled.
1782 void Debug::OnAfterCompile(Handle<Script> script) { 1777 void Debug::OnAfterCompile(Handle<Script> script) {
1783 ProcessCompileEvent(v8::AfterCompile, script); 1778 ProcessCompileEvent(v8::AfterCompile, script);
1784 } 1779 }
1785 1780
1786 void Debug::OnAsyncTaskEvent(Handle<String> type, Handle<Object> id, 1781 void Debug::OnAsyncTaskEvent(Handle<String> type, Handle<Object> id,
1787 Handle<String> name) { 1782 Handle<String> name) {
1788 DCHECK(id->IsNumber()); 1783 DCHECK(id->IsNumber());
1789 if (in_debug_scope() || ignore_events()) return; 1784 if (in_debug_scope() || ignore_events()) return;
1790 1785
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
2130 v8::Debug::ClientData* EventDetailsImpl::GetClientData() const { 2125 v8::Debug::ClientData* EventDetailsImpl::GetClientData() const {
2131 return client_data_; 2126 return client_data_;
2132 } 2127 }
2133 2128
2134 v8::Isolate* EventDetailsImpl::GetIsolate() const { 2129 v8::Isolate* EventDetailsImpl::GetIsolate() const {
2135 return reinterpret_cast<v8::Isolate*>(exec_state_->GetIsolate()); 2130 return reinterpret_cast<v8::Isolate*>(exec_state_->GetIsolate());
2136 } 2131 }
2137 2132
2138 } // namespace internal 2133 } // namespace internal
2139 } // namespace v8 2134 } // namespace v8
OLDNEW
« no previous file with comments | « src/debug/debug.h ('k') | src/debug/debug.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698