Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 019dc56af6478d6826172c11af2a7f3d5c6dc3ec..7a62ee9a5935d5dde53a229cdef91185c1b229bb 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -361,6 +361,10 @@ WasmDebugInfo* GetDebugInfo(JSObject* wasm); |
// else. |
bool IsWasmObject(Object* object); |
+// Update memory references of code objects associated with the module |
+bool UpdateWasmModuleMemory(JSObject* object, byte* old_start, byte* new_start, |
+ uint32_t old_size, uint32_t new_size); |
+ |
namespace testing { |
// Decode, verify, and run the function labeled "main" in the |
@@ -369,7 +373,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 |