mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-19 19:31:50 +00:00
Single characters should be printed out as chars, not strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20515 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4f6b17642
commit
23ba0c5cf3
@ -1683,7 +1683,7 @@ void CWriter::visitLoadInst(LoadInst &I) {
|
||||
writeOperand(I.getOperand(0));
|
||||
|
||||
if (I.isVolatile())
|
||||
Out << ")";
|
||||
Out << ')';
|
||||
}
|
||||
|
||||
void CWriter::visitStoreInst(StoreInst &I) {
|
||||
@ -1694,7 +1694,7 @@ void CWriter::visitStoreInst(StoreInst &I) {
|
||||
Out << " volatile*)";
|
||||
}
|
||||
writeOperand(I.getPointerOperand());
|
||||
if (I.isVolatile()) Out << ")";
|
||||
if (I.isVolatile()) Out << ')';
|
||||
Out << " = ";
|
||||
writeOperand(I.getOperand(0));
|
||||
}
|
||||
|
@ -1683,7 +1683,7 @@ void CWriter::visitLoadInst(LoadInst &I) {
|
||||
writeOperand(I.getOperand(0));
|
||||
|
||||
if (I.isVolatile())
|
||||
Out << ")";
|
||||
Out << ')';
|
||||
}
|
||||
|
||||
void CWriter::visitStoreInst(StoreInst &I) {
|
||||
@ -1694,7 +1694,7 @@ void CWriter::visitStoreInst(StoreInst &I) {
|
||||
Out << " volatile*)";
|
||||
}
|
||||
writeOperand(I.getPointerOperand());
|
||||
if (I.isVolatile()) Out << ")";
|
||||
if (I.isVolatile()) Out << ')';
|
||||
Out << " = ";
|
||||
writeOperand(I.getOperand(0));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user