[llvm] r236921 - Fix compile error

Arnold Schwaighofer aschwaighofer at apple.com
Fri May 8 17:10:25 PDT 2015


Author: arnolds
Date: Fri May  8 19:10:25 2015
New Revision: 236921

URL: http://llvm.org/viewvc/llvm-project?rev=236921&view=rev
Log:
Fix compile error

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=236921&r1=236920&r2=236921&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Fri May  8 19:10:25 2015
@@ -4215,7 +4215,7 @@ PPCTargetLowering::FinishCall(CallingCon
             isa<ConstantSDNode>(Callee)) &&
     "Expecting an global address, external symbol, absolute value or register");
 
-    MF.getFrameInfo()->setHasTailCall();
+    DAG.getMachineFunction().getFrameInfo()->setHasTailCall();
     return DAG.getNode(PPCISD::TC_RETURN, dl, MVT::Other, Ops);
   }
 





More information about the llvm-commits mailing list