diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-03-19 00:59:33 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-03-19 00:59:33 +0000 |
commit | fb200e30a48c3e682742174453d9550d1dc589d5 (patch) | |
tree | bb23fb60de904d011dee513cc7090832f3b41e80 /lib/CodeGen/RenderMachineFunction.h | |
parent | f6325b9700e4157c2b20e50e02b41b07b13ab1b4 (diff) |
Tweak CrashRecoveryContext::GetCurrent() to return quickly if 'gCrsahRecoveryEnabled' is false. This avoids us needing to go to thread local storage for
the performance sensitive case where we are compiling code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127928 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RenderMachineFunction.h')
0 files changed, 0 insertions, 0 deletions