Fix compile error

llvm-svn: 236921
This commit is contained in:
Arnold Schwaighofer 2015-05-09 00:10:25 +00:00
parent 17ec3a51c3
commit dc2711446e
1 changed files with 1 additions and 1 deletions

View File

@ -4215,7 +4215,7 @@ PPCTargetLowering::FinishCall(CallingConv::ID CallConv, SDLoc dl,
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);
}