Index: include/llvm/BinaryFormat/Wasm.h =================================================================== --- include/llvm/BinaryFormat/Wasm.h +++ include/llvm/BinaryFormat/Wasm.h @@ -309,13 +309,13 @@ }; struct WasmSignature { - SmallVector Returns; - SmallVector Params; + SmallVector Returns; + SmallVector Params; // Support empty and tombstone instances, needed by DenseMap. enum { Plain, Empty, Tombstone } State = Plain; - WasmSignature(SmallVector &&InReturns, - SmallVector &&InParams) + WasmSignature(SmallVector &&InReturns, + SmallVector &&InParams) : Returns(InReturns), Params(InParams) {} WasmSignature() = default; }; @@ -338,7 +338,7 @@ return !(LHS == RHS); } -std::string toString(wasm::WasmSymbolType type); +std::string toString(WasmSymbolType type); std::string relocTypetoString(uint32_t type); } // end namespace wasm