projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce a string_ostream string builder facilty
[oota-llvm.git]
/
lib
/
Target
/
XCore
/
XCoreAsmPrinter.cpp
diff --git
a/lib/Target/XCore/XCoreAsmPrinter.cpp
b/lib/Target/XCore/XCoreAsmPrinter.cpp
index e98d4f933dfbde525c747950a066a32045164508..7b5da3349654f5080654ee882f91ef6974edc215 100644
(file)
--- a/
lib/Target/XCore/XCoreAsmPrinter.cpp
+++ b/
lib/Target/XCore/XCoreAsmPrinter.cpp
@@
-267,8
+267,7
@@
PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNum,
}
void XCoreAsmPrinter::EmitInstruction(const MachineInstr *MI) {
- SmallString<128> Str;
- raw_svector_ostream O(Str);
+ small_string_ostream<128> O;
switch (MI->getOpcode()) {
case XCore::DBG_VALUE: