diff options
author | Tanya Lattner <tonic@nondot.org> | 2009-09-13 19:02:05 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2009-09-13 19:02:05 +0000 |
commit | bb16ea96ac99afc79ebcbc4557b7ba4f617ca066 (patch) | |
tree | df1d103e8e417cb5ade7ec4a833043330ba5854f /unittests/Support/MathExtrasTest.cpp | |
parent | ac591b8155ae4ab2a65ca78c2e79987104e85f13 (diff) |
Merge 81316 from mainline.
Make TypeBuilder's result depend on the LLVMContext it's passed.
TypeBuilder was using a local static variable to cache its result. This made it
ignore changes in its LLVMContext argument and always return a type constructed
from the argument to the first call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_26@81694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions