Mercurial > projects > ldc
comparison gen/dwarftypes.cpp @ 1521:982eb70e83b2
Fix build for LLVM >= r74640
Some LLVM objects now take a 'Context' to make multi-threaded apps easier.
Since we're not multi-threaded it's safe to use llvm::getGlobalContext()
which gives us the same behavior as we had before.
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Fri, 03 Jul 2009 17:24:35 +0200 |
parents | 18ad5601dff7 |
children | 755abafbf25d |
comparison
equal
deleted
inserted
replaced
1520:1a93c3da09ef | 1521:982eb70e83b2 |
---|