aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-06-30 20:21:12 +0000
committerDan Gohman <gohman@apple.com>2010-06-30 20:21:12 +0000
commitf638f4ff84b5711082b2c30ce506e8ea5180bd99 (patch)
tree57a6798165f7d6a690787ffec2b25cfd5bf6d7ac /clang/lib/CodeGen/CodeGenFunction.cpp
parent8ab6c54ce29d15e6c60fb4fdb0ca8a9b62da5c7a (diff)
downloadllvm-f638f4ff84b5711082b2c30ce506e8ea5180bd99.zip
llvm-f638f4ff84b5711082b2c30ce506e8ea5180bd99.tar.gz
llvm-f638f4ff84b5711082b2c30ce506e8ea5180bd99.tar.bz2
In ScalarEvolution::forgetValue, eliminate any SCEVUnknown
entries associated with the value being erased in the folding set map. These entries used to be harmless, because a SCEVUnknown doesn't store any information about its Value*, so having a new Value allocated at the old Value's address wasn't a problem. But now that ScalarEvolution is storing more information about values, this is no longer safe. llvm-svn: 107316
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions