| Index: src/wasm/wasm-module.h
|
| diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
|
| index 019dc56af6478d6826172c11af2a7f3d5c6dc3ec..0cdab7f8c4aa9bfd156c9d1502a62f07e9c72af7 100644
|
| --- a/src/wasm/wasm-module.h
|
| +++ b/src/wasm/wasm-module.h
|
| @@ -354,6 +354,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
|
|
|