[llvm-commits] [llvm] r124426 - /llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp

Benjamin Kramer benny.kra at googlemail.com
Thu Jan 27 12:30:55 PST 2011


Author: d0k
Date: Thu Jan 27 14:30:54 2011
New Revision: 124426

URL: http://llvm.org/viewvc/llvm-project?rev=124426&view=rev
Log:
Unbreak the build.

Modified:
    llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp

Modified: llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp?rev=124426&r1=124425&r2=124426&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp Thu Jan 27 14:30:54 2011
@@ -460,7 +460,7 @@
   if (V1 == F2 && V2 == F1)
     return true;
 
-  if (Constant *C1 = dyn_cast<Constant>(V1)) {
+  if (const Constant *C1 = dyn_cast<Constant>(V1)) {
     if (V1 == V2) return true;
     const Constant *C2 = dyn_cast<Constant>(V2);
     if (!C2) return false;





More information about the llvm-commits mailing list