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

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

Issue 2493773003: [inspector] Introduce translation of wasm frames (Closed)
Patch Set: Address Alexey's comments Created 4 years, 1 month 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
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 "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "include/v8-util.h" 9 #include "include/v8-util.h"
10 #include "include/v8.h" 10 #include "include/v8.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 private: 196 private:
197 int GetSourcePosition(const Location& location) const; 197 int GetSourcePosition(const Location& location) const;
198 }; 198 };
199 199
200 /** 200 /**
201 * Return array of compiled scripts. 201 * Return array of compiled scripts.
202 */ 202 */
203 static void GetLoadedScripts(Isolate* isolate, 203 static void GetLoadedScripts(Isolate* isolate,
204 PersistentValueVector<Script>& scripts); 204 PersistentValueVector<Script>& scripts);
205
206 static std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>>
dgozman 2016/11/16 19:00:09 Let's have a comment describing this structure at
Clemens Hammacher 2016/11/16 20:31:30 Ups, I thought I did this, but it was only on the
207 DisassembleWasmFunction(Isolate* isolate, v8::Local<v8::Object> script,
208 int function_index);
205 }; 209 };
206 210
207 } // namespace v8 211 } // namespace v8
208 212
209 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 213 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698