Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 081e7c09e3aa3d35974f8689bc05111215a78ce6..6823896151c7437509148e30ba4194370fcca470 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -356,6 +356,9 @@ SeqOneByteString* GetWasmBytes(JSObject* wasm); |
// If no debug info exists yet, it is created automatically. |
WasmDebugInfo* GetDebugInfo(JSObject* wasm); |
+// Return the number of functions in the given wasm object. |
+int GetNumberOfFunctions(JSObject* wasm); |
+ |
// Check whether the given object is a wasm object. |
// This checks the number and type of internal fields, so it's not 100 percent |
// secure. If it turns out that we need more complete checks, we could add a |