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

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

Issue 2490663002: [wasm] Move all heap-allocated WASM structures into wasm-objects.h. (Closed)
Patch Set: [wasm] Move all heap-allocated WASM structures into wasm-objects.h. Created 4 years, 1 month 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/wasm-debug.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 3cd7bacaa4027eece52cec25b9c94dec382c7ad4..f5b9596ee23603fada919b3c3161bc8ef8788ec1 100644
--- a/src/wasm/wasm-js.h
+++ b/src/wasm/wasm-js.h
@@ -25,37 +25,10 @@ class WasmJs {
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 bool IsWasmMemoryObject(Isolate* isolate, Handle<Object> value);
-
- static Handle<JSArrayBuffer> GetWasmMemoryArrayBuffer(Isolate* isolate,
- Handle<Object> value);
-
- static void SetWasmMemoryArrayBuffer(Isolate* isolate, Handle<Object> value,
- Handle<JSArrayBuffer> buffer);
-
- 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 | « src/wasm/wasm-debug.cc ('k') | src/wasm/wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698