Chromium Code Reviews| Index: src/wasm/wasm-module.h |
| diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
| index 4dffe6d46811a766456461c696517bae0aa1d194..09362063bc1ef6b53d967752a7a2f72fafec2fda 100644 |
| --- a/src/wasm/wasm-module.h |
| +++ b/src/wasm/wasm-module.h |
| @@ -401,6 +401,10 @@ void PopulateFunctionTable(Handle<FixedArray> table, uint32_t table_size, |
| Handle<JSObject> CreateCompiledModuleObject(Isolate* isolate, |
| Handle<FixedArray> compiled_module); |
| +MaybeHandle<JSObject> CreateModuleObjectFromBytes( |
| + Isolate* isolate, const byte* start, const byte* end, ErrorThrower* thrower, |
| + bool verify, ModuleOrigin origin); |
|
bradnelson
2016/09/01 03:48:31
None of the callers use the verify option being tr
Mircea Trofin
2016/09/01 04:36:18
Done.
|
| + |
| // Assumed to be called with a code object associated to a wasm module instance. |
| // Intended to be called from runtime functions. |
| // Returns undefined if the runtime support was not setup, nullptr if the |