Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: src/wasm/wasm-module.h

Issue 2021323003: [wasm] remove faux code objects Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index 4a9faf0b000f63efbdabf051d0afbd4ee7a789d6..8d131878964f8c15495d743defbbffcd42841b5c 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) {

Powered by Google App Engine
This is Rietveld 408576698