projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UseListOrder: Guarantee that shuffles change use-list order
[oota-llvm.git]
/
lib
/
IR
/
DataLayout.cpp
diff --git
a/lib/IR/DataLayout.cpp
b/lib/IR/DataLayout.cpp
index 3aa775097dfd0c5399842ab296cc93b9c308c3d6..dea05fbef4ab426756b06805a643078341c6124c 100644
(file)
--- a/
lib/IR/DataLayout.cpp
+++ b/
lib/IR/DataLayout.cpp
@@
-519,7
+519,8
@@
const StructLayout *DataLayout::getStructLayout(StructType *Ty) const {
}
std::string DataLayout::getStringRepresentation() const {
- string_ostream OS;
+ std::string Result;
+ raw_string_ostream OS(Result);
OS << (LittleEndian ? "e" : "E");