Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index 7b5ed9cbf4d460a2ef70f9be4cfdd3665db32c22..c6bebf1c19d34cdabf982b4d26e9186b84bb6bc5 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -49,14 +49,7 @@ const LocalType kAstEnd = MachineRepresentation::kTagged; |
typedef Signature<LocalType> FunctionSig; |
std::ostream& operator<<(std::ostream& os, const FunctionSig& function); |
-struct WasmName { |
- const char* name; |
- uint32_t length; |
- // TODO(clemensh): Remove whole WasmName, replace by Vector<const char> |
- inline Vector<const char> toVec() const { |
- return Vector<const char>(name, length); |
- } |
-}; |
+typedef Vector<const char> WasmName; |
// TODO(titzer): Renumber all the opcodes to fill in holes. |