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

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

Issue 2051043002: Implement Wasm GrowMemory opcode as a wasm runtime call (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review changes Created 4 years, 6 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
« no previous file with comments | « src/wasm/ast-decoder.cc ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index 019dc56af6478d6826172c11af2a7f3d5c6dc3ec..163f092c7d774ddc478839dffd5d6c9e18704c1d 100644
--- a/src/wasm/wasm-module.h
+++ b/src/wasm/wasm-module.h
@@ -361,6 +361,11 @@ WasmDebugInfo* GetDebugInfo(JSObject* wasm);
// else.
bool IsWasmObject(Object* object);
+// Update memory references of code objects associated with the module
+bool UpdateWasmModuleMemory(JSObject* object, Address old_start,
+ Address new_start, uint32_t old_size,
+ uint32_t new_size);
+
namespace testing {
// Decode, verify, and run the function labeled "main" in the
@@ -369,7 +374,6 @@ int32_t CompileAndRunWasmModule(Isolate* isolate, const byte* module_start,
const byte* module_end, bool asm_js = false);
} // namespace testing
-
} // namespace wasm
} // namespace internal
} // namespace v8
« no previous file with comments | « src/wasm/ast-decoder.cc ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698