[llvm-commits] CVS: llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 17 12:27:01 PDT 2002


Changes in directory llvm/lib/Reoptimizer/TraceCache:

VirtualMem.cpp updated: 1.1 -> 1.2

---
Log message:

Fix warning from 32 bit compiler


---
Diffs of the changes:

Index: llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp
diff -u llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.1 llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.2
--- llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.1	Sun Sep 15 15:36:20 2002
+++ llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp	Tue Sep 17 12:26:22 2002
@@ -188,7 +188,7 @@
           "br2 must be non-predicated jump!");
   
   //mask with 2^32-1-2^25-2^26-2^27-2^28
-  unsigned int inst = (br2 & 3791650815);
+  unsigned int inst = (br2 & 3791650815U);
 
   //reverse cond
   if(cond<8)





More information about the llvm-commits mailing list