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

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

Issue 2410763002: [wasm] GrowMemory should use maximum size declared in WebAssembly.Memory (Closed)
Patch Set: Fix trybots, Brad's review Created 4 years, 2 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 | « no previous file | src/wasm/wasm-js.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-js.h
diff --git a/src/wasm/wasm-js.h b/src/wasm/wasm-js.h
index 9970dc92d8da421df06b47460dc742df08acdf6d..51c7c6b82170e4824d7bda8ea0075ce94b75975c 100644
--- a/src/wasm/wasm-js.h
+++ b/src/wasm/wasm-js.h
@@ -32,6 +32,12 @@ class WasmJs {
static Handle<JSArrayBuffer> GetWasmMemoryArrayBuffer(Isolate* isolate,
Handle<Object> value);
+
+ static uint32_t GetWasmMemoryMaximumSize(Isolate* isolate,
+ Handle<Object> value);
+
+ static void SetWasmMemoryInstance(Isolate* isolate, Handle<Object> value,
+ Handle<JSObject> instance);
};
} // namespace internal
« no previous file with comments | « no previous file | src/wasm/wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698