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. llvm-svn: 284898
Loading
Please sign in to comment