mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 03:13:13 +01:00
Don't use llvm::getGlobalContext() anymore
This commit is contained in:
@@ -22,7 +22,7 @@ TargetABI* gABI = 0;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
IRScope::IRScope()
|
||||
: builder(llvm::getGlobalContext())
|
||||
: builder(gIR->context())
|
||||
{
|
||||
begin = end = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user