Index: src/wasm/wasm-js.h |
diff --git a/src/wasm/wasm-js.h b/src/wasm/wasm-js.h |
index c7e11ce924453d62b11fe43cc0ec00255a4d47f3..3cd7bacaa4027eece52cec25b9c94dec382c7ad4 100644 |
--- a/src/wasm/wasm-js.h |
+++ b/src/wasm/wasm-js.h |
@@ -24,16 +24,25 @@ class WasmJs { |
Handle<JSGlobalObject> global, |
Handle<Context> context); |
+ // WebAssembly.Table. |
+ static Handle<JSObject> CreateWasmTableObject( |
+ Isolate* isolate, uint32_t initial, bool has_maximum, uint32_t maximum, |
+ Handle<FixedArray>* js_functions); |
+ |
+ static bool IsWasmTableObject(Isolate* isolate, Handle<Object> value); |
+ |
+ static Handle<FixedArray> GetWasmTableFunctions(Isolate* isolate, |
+ Handle<JSObject> object); |
+ |
+ static Handle<FixedArray> AddWasmTableDispatchTable( |
+ Isolate* isolate, Handle<JSObject> table_obj, Handle<JSObject> instance, |
+ int table_index, Handle<FixedArray> dispatch_table); |
+ |
+ // WebAssembly.Memory |
static Handle<JSObject> CreateWasmMemoryObject(Isolate* isolate, |
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, |