Index: src/wasm/wasm-js.h |
diff --git a/src/wasm/wasm-js.h b/src/wasm/wasm-js.h |
index ded9a1a90bad13ffadb6ec8ba085d0a8ecad737c..a21398d269fca9043fa051a5fc864a4ed156488d 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, bool fixed_signature, |
+ 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 |