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

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

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mrege Created 4 years, 6 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
Index: src/wasm/wasm-js.h
diff --git a/src/wasm/wasm-js.h b/src/wasm/wasm-js.h
index ded9a1a90bad13ffadb6ec8ba085d0a8ecad737c..79836693b46439d58903f3f9822c3a0b812f8979 100644
--- a/src/wasm/wasm-js.h
+++ b/src/wasm/wasm-js.h
@@ -12,6 +12,7 @@
#include "include/v8.h"
#include "src/base/compiler-specific.h"
#endif // !V8_SHARED
+#include "src/parsing/parser.h"
namespace v8 {
namespace internal {
@@ -20,6 +21,13 @@ class WasmJs {
public:
static void Install(Isolate* isolate, Handle<JSGlobalObject> global_object);
static void InstallWasmFunctionMap(Isolate* isolate, Handle<Context> context);
+ static bool ConvertAsmToWasm(i::ParseInfo* info,
+ Handle<FixedArray>* wasm_data);
+ static bool InstantiateAsmWasm(i::Isolate* isolate,
+ Handle<FixedArray> wasm_data,
+ Handle<JSArrayBuffer> memory,
+ Handle<JSObject> foreign,
+ Handle<Object>* result);
};
} // namespace internal
« src/objects-debug.cc ('K') | « src/objects-inl.h ('k') | src/wasm/wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698