[StackMaps] Use CurrentFnSymForSize
authorHal Finkel <hfinkel@anl.gov>
Tue, 13 Jan 2015 17:48:07 +0000 (17:48 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 13 Jan 2015 17:48:07 +0000 (17:48 +0000)
commitc4ee2c5188872b5a7a4e0d6379141f65cc7356bd
treefe7c3d56e1ace6711eb82ecf18c79f20ff91152e
parent0ad96c818cc5fd086c820b3b15650222020f4ebf
[StackMaps] Use CurrentFnSymForSize

When computing the call-site offset, use AP.CurrentFnSymForSize instead of
AP.CurrentFnSym. There should be no change for other targets, but this is
necessary for generating valid expressions for PPC64/ELF.

llvm-svn: 225807
llvm/lib/CodeGen/StackMaps.cpp