commit | f64117ce6ec8fbd96a58d2e2aafffc79840d835c | [log] [tgz] |
---|---|---|
author | David L. Jones <dlj@google.com> | Fri Oct 21 23:30:39 2016 +0000 |
committer | David L. Jones <dlj@google.com> | Fri Oct 21 23:30:39 2016 +0000 |
tree | 84d24d56f3c1e34aa1acbff033ff6b2579697cea | |
parent | 1b0519f03d960fd8bcc90ce3744fda2d2cb7d4df [diff] |
Fix map insertion that is elided in release build. The assert() macro doesn't actually execute its body in Release builds, so using it to check cache invariants requires that the insertion be outside of the assert() statement. This change does that, and also makes sure to return the actual map contents. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284898 91177308-0d34-0410-b5e6-96231b3b80d8