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 | 4a38930a4595d94b1f379d6955c531c48e5c2aa0 (patch) | |
tree | c8225ef9578297ee6afe1a1f170aef18e222384c /lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp | |
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
Diffstat (limited to 'lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp')
0 files changed, 0 insertions, 0 deletions