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

Side by Side Diff: src/debug/debug-interface.h

Issue 2655653003: [inspector] Expose GetPossibleBreakpoints for wasm (Closed)
Patch Set: Introduce Init method and clang-format wasm-translation.cc Created 3 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
« no previous file with comments | « src/api.cc ('k') | src/inspector/v8-debugger-agent-impl.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_ 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_
6 #define V8_DEBUG_DEBUG_INTERFACE_H_ 6 #define V8_DEBUG_DEBUG_INTERFACE_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "include/v8-debug.h" 10 #include "include/v8-debug.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 }; 132 };
133 133
134 // Specialization for wasm Scripts. 134 // Specialization for wasm Scripts.
135 class WasmScript : public Script { 135 class WasmScript : public Script {
136 public: 136 public:
137 static WasmScript* Cast(Script* script); 137 static WasmScript* Cast(Script* script);
138 138
139 int NumFunctions() const; 139 int NumFunctions() const;
140 int NumImportedFunctions() const; 140 int NumImportedFunctions() const;
141 141
142 std::pair<int, int> GetFunctionRange(int function_index) const;
143
142 debug::WasmDisassembly DisassembleFunction(int function_index) const; 144 debug::WasmDisassembly DisassembleFunction(int function_index) const;
143 }; 145 };
144 146
145 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts); 147 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts);
146 148
147 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, 149 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
148 Local<String> source); 150 Local<String> source);
149 151
150 class DebugDelegate { 152 class DebugDelegate {
151 public: 153 public:
(...skipping 18 matching lines...) Expand all
170 172
171 void SetDebugDelegate(Isolate* isolate, DebugDelegate* listener); 173 void SetDebugDelegate(Isolate* isolate, DebugDelegate* listener);
172 174
173 void ResetBlackboxedStateCache(Isolate* isolate, 175 void ResetBlackboxedStateCache(Isolate* isolate,
174 v8::Local<debug::Script> script); 176 v8::Local<debug::Script> script);
175 177
176 } // namespace debug 178 } // namespace debug
177 } // namespace v8 179 } // namespace v8
178 180
179 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 181 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/inspector/v8-debugger-agent-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698