Mercurial > projects > ldc
comparison gen/metadata.h @ 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 | 3297edb697eb |
children | c88b16d4a13c |
comparison
equal
deleted
inserted
replaced
1520:1a93c3da09ef | 1521:982eb70e83b2 |
---|