Index: src/wasm/asm-wasm-builder.h |
diff --git a/src/wasm/asm-wasm-builder.h b/src/wasm/asm-wasm-builder.h |
index cb568db77c6b0d42f52f8170a4f7f30f22461138..9b761f9040808f88e578c908572f2fea99077e13 100644 |
--- a/src/wasm/asm-wasm-builder.h |
+++ b/src/wasm/asm-wasm-builder.h |
@@ -6,6 +6,7 @@ |
#define V8_WASM_ASM_WASM_BUILDER_H_ |
#include "src/allocation.h" |
+#include "src/objects.h" |
#include "src/wasm/encoder.h" |
#include "src/zone.h" |
@@ -18,13 +19,15 @@ namespace wasm { |
class AsmWasmBuilder { |
public: |
- explicit AsmWasmBuilder(Isolate* isolate, Zone* zone, FunctionLiteral* root); |
+ explicit AsmWasmBuilder(Isolate* isolate, Zone* zone, FunctionLiteral* root, |
+ Handle<Object> foreign); |
WasmModuleIndex* Run(); |
private: |
Isolate* isolate_; |
Zone* zone_; |
FunctionLiteral* literal_; |
+ Handle<Object> foreign_; |
}; |
} // namespace wasm |
} // namespace internal |