Changes in directory llvm/lib/Target/CBackend:

Writer.cpp updated: 1.275 -> 1.276
---
Log message:

Enclose a case in { and } so that the pickier compilers don't complain.


---
Diffs of the changes:  (+2 -0)

 Writer.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/CBackend/Writer.cpp
diff -u llvm/lib/Target/CBackend/Writer.cpp:1.275 
llvm/lib/Target/CBackend/Writer.cpp:1.276
--- llvm/lib/Target/CBackend/Writer.cpp:1.275   Thu Oct 26 01:15:43 2006
+++ llvm/lib/Target/CBackend/Writer.cpp Thu Oct 26 01:17:40 2006
@@ -605,6 +605,7 @@
     case Instruction::SetGE:
     case Instruction::Shl:
     case Instruction::Shr:
+    {
       Out << '(';
       bool NeedsClosingParens = printConstExprCast(CE); 
       printConstantWithCast(CE->getOperand(0), CE->getOpcode());
@@ -634,6 +635,7 @@
         Out << "))";
       Out << ')';
       return;
+    }
 
     default:
       std::cerr << "CWriter Error: Unhandled constant expression: "



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to