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

Unified Diff: src/wasm/wasm-module.h

Issue 2096863003: [wasm] prototype for breakpoint support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@extend-script-functionality
Patch Set: 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/wasm/wasm-interpreter.cc ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index 0cdab7f8c4aa9bfd156c9d1502a62f07e9c72af7..348550aeaf7c5195c9b7583a7b0dfe62bacad3dc 100644
--- a/src/wasm/wasm-module.h
+++ b/src/wasm/wasm-module.h
@@ -352,7 +352,7 @@ SeqOneByteString* GetWasmBytes(JSObject* wasm);
// Get the debug info associated with the given wasm object.
// If no debug info exists yet, it is created automatically.
-WasmDebugInfo* GetDebugInfo(JSObject* wasm);
+WasmDebugInfo* GetDebugInfo(Handle<JSObject> wasm);
// Return the number of functions in the given wasm object.
int GetNumberOfFunctions(JSObject* wasm);
@@ -364,6 +364,12 @@ int GetNumberOfFunctions(JSObject* wasm);
// else.
bool IsWasmObject(Object* object);
+// Get the array buffer used as memory for the given wasm object.
+JSArrayBuffer* GetWasmMemoryBuffer(JSObject* wasm);
+
+// Get the code object for a specific wasm function.
+Code* GetWasmFunctionCode(JSObject* wasm, uint32_t func_index);
+
namespace testing {
// Decode, verify, and run the function labeled "main" in the
« no previous file with comments | « src/wasm/wasm-interpreter.cc ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698