Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 4a9faf0b000f63efbdabf051d0afbd4ee7a789d6..4d476a8b433d584a57a5757613d2cded423a57b8 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -236,17 +236,15 @@ struct WasmModuleInstance { |
mem_start(nullptr), |
mem_size(0), |
globals_start(nullptr) {} |
+ void PopulateExportTable(const std::vector<Handle<Code>>& compiled_functions, |
+ const std::vector<uint16_t>& functions); |
}; |
-// forward declaration. |
-class WasmLinker; |
- |
// Interface provided to the decoder/graph builder which contains only |
// minimal information about the globals, functions, and function tables. |
struct ModuleEnv { |
const WasmModule* module; |
WasmModuleInstance* instance; |
- WasmLinker* linker; |
ModuleOrigin origin; |
bool IsValidGlobal(uint32_t index) { |
@@ -283,15 +281,13 @@ struct ModuleEnv { |
bool asm_js() { return origin == kAsmJsOrigin; } |
- Handle<Code> GetCodeOrPlaceholder(uint32_t index) const; |
- Handle<Code> GetImportCode(uint32_t index); |
Handle<FixedArray> GetFunctionTable(); |
static compiler::CallDescriptor* GetWasmCallDescriptor(Zone* zone, |
- FunctionSig* sig); |
+ FunctionSig* sig, |
+ bool internal = false); |
static compiler::CallDescriptor* GetI32WasmCallDescriptor( |
Zone* zone, compiler::CallDescriptor* descriptor); |
- compiler::CallDescriptor* GetCallDescriptor(Zone* zone, uint32_t index); |
}; |
// A helper for printing out the names of functions. |