Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 376a2448fc32819e024b7bf1405dbac0331c13b2..21409c1b4fee23c478145a4d0d00b3c9b484844e 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -9,6 +9,8 @@ |
#include "src/api.h" |
#include "src/handles.h" |
+#include "src/parsing/preparse-data.h" |
+ |
#include "src/wasm/wasm-opcodes.h" |
#include "src/wasm/wasm-result.h" |
@@ -395,6 +397,14 @@ Handle<FixedArray> BuildFunctionTable(Isolate* isolate, uint32_t index, |
void PopulateFunctionTable(Handle<FixedArray> table, uint32_t table_size, |
const std::vector<Handle<Code>>* code_table); |
+ScriptData* SerializeWasmCompiledModule(Isolate* isolate, |
+ Handle<FixedArray> compiled_module); |
+ |
+MaybeHandle<FixedArray> DeserializeWasmCompiledModule(Isolate* isolate, |
+ ScriptData* data); |
+Handle<JSObject> CreateCompiledModuleObject(Isolate* isolate, |
+ Handle<FixedArray> compiled_module); |
+ |
namespace testing { |
// Decode, verify, and run the function labeled "main" in the |