diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2009-09-09 05:04:01 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2009-09-09 05:04:01 +0000 |
commit | 509ea0c591607793cc3fdf076b80c5743b72ef17 (patch) | |
tree | c8225ef9578297ee6afe1a1f170aef18e222384c /include/llvm/Support/PassNameParser.h | |
parent | 00b667ca7c080da239365c2b129fa85854005ecb (diff) | |
download | external_llvm-509ea0c591607793cc3fdf076b80c5743b72ef17.zip external_llvm-509ea0c591607793cc3fdf076b80c5743b72ef17.tar.gz external_llvm-509ea0c591607793cc3fdf076b80c5743b72ef17.tar.bz2 |
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/trunk@81316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PassNameParser.h')
0 files changed, 0 insertions, 0 deletions