Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index 2053cb7b7214d18b001f92b7296fe6524c579a6f..dd653c174016c9d7c2346b2abba1db8209856a82 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -104,9 +104,12 @@ |
static_cast<byte>(offset), index, val |
#define WASM_CALL_FUNCTION(index, ...) \ |
kExprCallFunction, static_cast<byte>(index), __VA_ARGS__ |
+#define WASM_CALL_IMPORT(index, ...) \ |
+ kExprCallImport, static_cast<byte>(index), __VA_ARGS__ |
#define WASM_CALL_INDIRECT(index, func, ...) \ |
kExprCallIndirect, static_cast<byte>(index), func, __VA_ARGS__ |
#define WASM_CALL_FUNCTION0(index) kExprCallFunction, static_cast<byte>(index) |
+#define WASM_CALL_IMPORT0(index) kExprCallImport, static_cast<byte>(index) |
#define WASM_CALL_INDIRECT0(index, func) \ |
kExprCallIndirect, static_cast<byte>(index), func |
#define WASM_NOT(x) kExprBoolNot, x |