summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-07-17 06:58:08 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-07-17 06:58:08 +0000
commitd25ea831b2bd55aeec3481e690d624fdb229f59a (patch)
tree145c6aed19b221bd0e6f5d59f2f1e3ae842a55e9 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parentaeb44a31f6fd67ae4c24c8d1841d15461a581335 (diff)
downloadbcm5719-llvm-d25ea831b2bd55aeec3481e690d624fdb229f59a.tar.gz
bcm5719-llvm-d25ea831b2bd55aeec3481e690d624fdb229f59a.zip
Relax the assertion in ASTLocation's ctor: if the decl is not the immediate
parent of the stmt, find the immediate parent for the stmt. This is because sometimes we cannot get the immediate decl of the stmt when creating the ASTLocation. We can only get a parent of the stmt. llvm-svn: 76159
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud