Changes in directory llvm/projects/Stacker/lib/compiler:

StackerCompiler.cpp updated: 1.18.2.1 -> 1.18.2.2
---
Log message:

Remove useless conversions.


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

 StackerCompiler.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.18.2.1 
llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.18.2.2
--- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.18.2.1     Wed Oct 
18 22:57:56 2006
+++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp      Thu Oct 19 
16:06:26 2006
@@ -721,7 +721,7 @@
 
     // Compare the condition against 0
     SetCondInst* cond_inst = new SetCondInst( Instruction::SetNE, cond,
-        ConstantInt::get( Type::LongTy, uint32_t(0)) );
+        ConstantInt::get( Type::LongTy, 0) );
     bb->getInstList().push_back( cond_inst );
 
     // Create an exit block
@@ -805,7 +805,7 @@
 
     // Compare the condition against 0
     SetCondInst* cond_inst = new SetCondInst(
-        Instruction::SetNE, cond, ConstantInt::get( Type::LongTy, 
uint32_t(0)));
+        Instruction::SetNE, cond, ConstantInt::get( Type::LongTy, 0));
     test->getInstList().push_back( cond_inst );
 
     // Add the branch instruction



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

Reply via email to