[llvm-commits] [llvm] r101335 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Anders Carlsson andersca at mac.com
Wed Apr 14 20:11:29 PDT 2010


Author: andersca
Date: Wed Apr 14 22:11:28 2010
New Revision: 101335

URL: http://llvm.org/viewvc/llvm-project?rev=101335&view=rev
Log:
Fix build.

Modified:
    llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=101335&r1=101334&r2=101335&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Wed Apr 14 22:11:28 2010
@@ -1041,7 +1041,7 @@
     // those, the target's already in a register, so we don't need to do
     // anything extra.
     if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
-      GlobalValue *GV = G->getGlobal();
+      const GlobalValue *GV = G->getGlobal();
       // Create a constant pool entry for the callee address
       unsigned ARMPCLabelIndex = AFI->createConstPoolEntryUId();
       ARMConstantPoolValue *CPV = new ARMConstantPoolValue(GV,





More information about the llvm-commits mailing list