commit | 4a38930a4595d94b1f379d6955c531c48e5c2aa0 | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@google.com> | Wed Sep 09 05:04:01 2009 +0000 |
committer | Jeffrey Yasskin <jyasskin@google.com> | Wed Sep 09 05:04:01 2009 +0000 |
tree | c8225ef9578297ee6afe1a1f170aef18e222384c | |
parent | 6be47fba53d3650ff9c1e4b7f8aea0e642186fc4 [diff] |
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