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

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: Fixing unit test- 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 7123a127e648b3e58c3c03c0d6c1899a27e1e1b6..90bd6cee6e19a981bb20c6a22f46c7a394c5bdc4 100644
--- a/src/wasm/wasm-module.cc
+++ b/src/wasm/wasm-module.cc
@@ -449,8 +449,8 @@ void FlushAssemblyCache(Isolate* isolate, Handle<FixedArray> 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