Index: src/IceTargetLoweringX8632.cpp |
diff --git a/src/IceTargetLoweringX8632.cpp b/src/IceTargetLoweringX8632.cpp |
index 4a719d447c26eeb3e59bc6cee1d1c5971d38ee45..fa43b7db3f964638417948fde0952f7eaebc44ce 100644 |
--- a/src/IceTargetLoweringX8632.cpp |
+++ b/src/IceTargetLoweringX8632.cpp |
@@ -128,11 +128,10 @@ const unsigned X86_CHAR_BIT = 8; |
IceString typeIdentString(const Type Ty) { |
IceString Str; |
llvm::raw_string_ostream BaseOS(Str); |
- Ostream OS(&BaseOS); |
if (isVectorType(Ty)) { |
- OS << "v" << typeNumElements(Ty) << typeElementType(Ty); |
+ BaseOS << "v" << typeNumElements(Ty) << typeElementType(Ty); |
} else { |
- OS << Ty; |
+ BaseOS << Ty; |
} |
return BaseOS.str(); |
} |