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 |