Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index beb94316c3297a583a08e257949fcdac9c82307f..2b161d6cf41876ea1271aea0370c1cba3893cde6 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -16,8 +16,11 @@ |
#define WASM_MODULE_HEADER U32_LE(kWasmMagic), U32_LE(kWasmVersion) |
#define SIG_INDEX(v) U16_LE(v) |
+// TODO(binji): make SIG_INDEX match this. |
+#define IMPORT_SIG_INDEX(v) U32V_1(v) |
#define FUNC_INDEX(v) U32V_1(v) |
-#define NAME_OFFSET(v) U32_LE(v) |
+#define NO_NAME U32V_1(0) |
+#define NAME_LENGTH(v) U32V_1(v) |
#define BR_TARGET(v) U32_LE(v) |