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

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

Issue 2392943006: [wasm] Implement importing of WebAssembly.Memory. (Closed)
Patch Set: Address review comments 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 | « src/wasm/module-decoder.cc ('k') | 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 4f264946249eaf9a1b603ba3b2c678d364c2b8b9..9970dc92d8da421df06b47460dc742df08acdf6d 100644
--- a/src/wasm/wasm-js.h
+++ b/src/wasm/wasm-js.h
@@ -27,6 +27,11 @@ class WasmJs {
static Handle<JSObject> CreateWasmMemoryObject(Isolate* isolate,
Handle<JSArrayBuffer> buffer,
bool has_maximum, int maximum);
+
+ static bool IsWasmMemoryObject(Isolate* isolate, Handle<Object> value);
+
+ static Handle<JSArrayBuffer> GetWasmMemoryArrayBuffer(Isolate* isolate,
+ Handle<Object> value);
};
} // namespace internal
« no previous file with comments | « src/wasm/module-decoder.cc ('k') | src/wasm/wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698