diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-09-27 20:52:44 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-09-27 20:52:44 +0000 | 
| commit | 5635cc069f3af8a4002cb62fc66c90f3757b0400 (patch) | |
| tree | b32f7a16007db68133b67eef38a1c6629296a4c5 /llvm | |
| parent | e338f05ba660c93243de5907c448a9767c1b0ef8 (diff) | |
| download | bcm5719-llvm-5635cc069f3af8a4002cb62fc66c90f3757b0400.tar.gz bcm5719-llvm-5635cc069f3af8a4002cb62fc66c90f3757b0400.zip  | |
fix CBackend/2005-09-27-VolatileFuncPtr.ll
llvm-svn: 23475
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/CBackend/Writer.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/CBackend/Writer.cpp b/llvm/lib/Target/CBackend/Writer.cpp index df06c7ca24d..8ff23b7008b 100644 --- a/llvm/lib/Target/CBackend/Writer.cpp +++ b/llvm/lib/Target/CBackend/Writer.cpp @@ -1683,8 +1683,8 @@ void CWriter::visitLoadInst(LoadInst &I) {    Out << '*';    if (I.isVolatile()) {      Out << "(("; -    printType(Out, I.getType()); -    Out << " volatile*)"; +    printType(Out, I.getType(), "volatile*"); +    Out << ")";    }    writeOperand(I.getOperand(0)); @@ -1697,8 +1697,8 @@ void CWriter::visitStoreInst(StoreInst &I) {    Out << '*';    if (I.isVolatile()) {      Out << "(("; -    printType(Out, I.getOperand(0)->getType()); -    Out << " volatile*)"; +    printType(Out, I.getOperand(0)->getType(), " volatile*"); +    Out << ")";    }    writeOperand(I.getPointerOperand());    if (I.isVolatile()) Out << ')';  | 

