| Index: src/wasm/wasm-module.h
|
| diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
|
| index 4dffe6d46811a766456461c696517bae0aa1d194..f3b9b8c15c68784dfabd493e0ee7826a6ce0234e 100644
|
| --- a/src/wasm/wasm-module.h
|
| +++ b/src/wasm/wasm-module.h
|
| @@ -399,7 +399,14 @@ void PopulateFunctionTable(Handle<FixedArray> table, uint32_t table_size,
|
| const std::vector<Handle<Code>>* code_table);
|
|
|
| Handle<JSObject> CreateCompiledModuleObject(Isolate* isolate,
|
| - Handle<FixedArray> compiled_module);
|
| + Handle<FixedArray> compiled_module,
|
| + ModuleOrigin origin);
|
| +
|
| +MaybeHandle<JSObject> CreateModuleObjectFromBytes(Isolate* isolate,
|
| + const byte* start,
|
| + const byte* end,
|
| + ErrorThrower* thrower,
|
| + ModuleOrigin origin);
|
|
|
| // Assumed to be called with a code object associated to a wasm module instance.
|
| // Intended to be called from runtime functions.
|
|
|