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

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

Issue 2137993003: [wasm] Adding feature to JIT a wasm function at runtime and hook up the compiled code into the indi… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Changed casting Created 4 years, 5 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.cc
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc
index 27d9e63bc60cb00c4fbfea63c61680081f9dacfd..e836e6fc99330fc08e04408060963c7dea98731f 100644
--- a/src/wasm/wasm-module.cc
+++ b/src/wasm/wasm-module.cc
@@ -408,8 +408,8 @@ void LinkImports(Isolate* isolate, std::vector<Handle<Code>>& functions,
} // namespace
-WasmModule::WasmModule()
- : module_start(nullptr),
+WasmModule::WasmModule(byte* module_start)
+ : module_start(module_start),
module_end(nullptr),
min_mem_pages(0),
max_mem_pages(0),

Powered by Google App Engine
This is Rietveld 408576698