diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-05-02 22:21:05 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-05-02 22:21:05 +0000 |
| commit | 10c37a012ea11596d44cd9059fe09c959caf30c8 (patch) | |
| tree | 955db5387148bd67f33970646c9229d65f74d4fa /lib/CodeGen/BasicTargetTransformInfo.cpp | |
| parent | c7b30d80a2078d4e3b51efcef1644c3a13f62de8 (diff) | |
| download | llvm-10c37a012ea11596d44cd9059fe09c959caf30c8.tar.gz llvm-10c37a012ea11596d44cd9059fe09c959caf30c8.tar.bz2 llvm-10c37a012ea11596d44cd9059fe09c959caf30c8.tar.xz | |
Try simplifying LexicalScopes ownership again.
Committed initially in r207724-r207726 and reverted due to compiler-rt
crashes in r207732.
Instead, fix this harder with unordered_map and store the LexicalScopes
by value in the map. This did necessitate moving the definition of
LexicalScope above the definition of LexicalScopes.
Let's see how the buildbots/compilers tolerate unordered_map::emplace +
std::piecewise_construct + std::forward_as_tuple...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BasicTargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions
