Index: src/asmjs/asm-js.h |
diff --git a/src/asmjs/asm-js.h b/src/asmjs/asm-js.h |
index 44bf04df9eee130bb262fa4b055b0b983f8d26f3..a2c5cec28019c2aa59eaf133482df8205a002efa 100644 |
--- a/src/asmjs/asm-js.h |
+++ b/src/asmjs/asm-js.h |
@@ -5,24 +5,21 @@ |
#ifndef V8_ASMJS_ASM_JS_H_ |
#define V8_ASMJS_ASM_JS_H_ |
-#ifndef V8_SHARED |
-#include "src/allocation.h" |
-#include "src/base/hashmap.h" |
-#else |
-#include "include/v8.h" |
-#include "src/base/compiler-specific.h" |
-#endif // !V8_SHARED |
-#include "src/parsing/parser.h" |
+#include "src/globals.h" |
namespace v8 { |
namespace internal { |
+ |
+class JSArrayBuffer; |
+class ParseInfo; |
+ |
// Interface to compile and instantiate for asmjs. |
class AsmJs { |
public: |
- static MaybeHandle<FixedArray> ConvertAsmToWasm(i::ParseInfo* info); |
- static bool IsStdlibValid(i::Isolate* isolate, Handle<FixedArray> wasm_data, |
+ static MaybeHandle<FixedArray> ConvertAsmToWasm(ParseInfo* info); |
+ static bool IsStdlibValid(Isolate* isolate, Handle<FixedArray> wasm_data, |
Handle<JSReceiver> stdlib); |
- static MaybeHandle<Object> InstantiateAsmWasm(i::Isolate* isolate, |
+ static MaybeHandle<Object> InstantiateAsmWasm(Isolate* isolate, |
Handle<FixedArray> wasm_data, |
Handle<JSArrayBuffer> memory, |
Handle<JSReceiver> foreign); |