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

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

Issue 2443353002: [wasm] Add support for exporting WebAssembly.Table instances. (Closed)
Patch Set: Fix identity of exported JSFunctions 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 3c56e1415a5c6b955dab8f30bb3cdf79624e7a53..c7e11ce924453d62b11fe43cc0ec00255a4d47f3 100644
--- a/src/wasm/wasm-js.h
+++ b/src/wasm/wasm-js.h
@@ -28,6 +28,12 @@ class WasmJs {
Handle<JSArrayBuffer> buffer,
bool has_maximum, int maximum);
+ static Handle<JSObject> CreateWasmTableObject(Isolate* isolate,
+ uint32_t initial,
+ bool has_maximum,
+ uint32_t maximum,
+ Handle<FixedArray>* array);
+
static bool IsWasmMemoryObject(Isolate* isolate, Handle<Object> value);
static Handle<JSArrayBuffer> GetWasmMemoryArrayBuffer(Isolate* isolate,
« 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