commit | 8be7707c14f9eafd5e6eebd1a167c706a2f998f1 | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Thu Apr 14 21:59:01 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Thu Apr 14 21:59:01 2016 +0000 |
tree | 7ba1fe5ff65c10c7398fe83e76283fc2b5e04eda | |
parent | 6d955a1d6dfb81f23dd8fd1829635eed96652b22 [diff] |
Remove every uses of getGlobalContext() in LLVM (but the C API) At the same time, fixes InstructionsTest::CastInst unittest: yes you can leave the IR in an invalid state and exit when you don't destroy the context (like the global one), no longer now. This is the first part of http://reviews.llvm.org/D19094 From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266379 91177308-0d34-0410-b5e6-96231b3b80d8