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

Unified Diff: src/objects.h

Issue 2063013004: [wasm] Disassemble wasm code from script (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-frame-inspection
Patch Set: remove unimplemented wasm SetBreakPoint method Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/debug.js ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 66ec7f0f968e04f8e157bcb5271193682d8e039d..cdc1c993ff5b7f536302fea0a68f4209f7c63884 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6447,9 +6447,17 @@ class Script: public Struct {
// [source_url]: sourceURL from magic comment
DECL_ACCESSORS(source_url, Object)
- // [source_url]: sourceMappingURL magic comment
+ // [source_mapping_url]: sourceMappingURL magic comment
DECL_ACCESSORS(source_mapping_url, Object)
+ // [wasm_object]: the wasm object this script belongs to.
+ // This must only be called if the type of this script is TYPE_WASM.
+ DECL_ACCESSORS(wasm_object, JSObject)
+
+ // [wasm_function_index]: the wasm function index this script belongs to.
+ // This must only be called if the type of this script is TYPE_WASM.
+ DECL_INT_ACCESSORS(wasm_function_index)
+
// [compilation_type]: how the the script was compiled. Encoded in the
// 'flags' field.
inline CompilationType compilation_type();
« no previous file with comments | « src/debug/debug.js ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698