Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index fdca7370809034bb0467177d57a472442666bd02..dcc51440fed2f7d26a1a3b8f80e6b4e2cbe28696 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -68,6 +68,11 @@ struct MemoryAccess { |
typedef Signature<LocalType> FunctionSig; |
std::ostream& operator<<(std::ostream& os, const FunctionSig& function); |
+struct WasmName { |
+ const char* name; |
+ uint32_t length; |
+}; |
+ |
// TODO(titzer): Renumber all the opcodes to fill in holes. |
// Control expressions and blocks. |