mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 09:00:33 +03:00
IntegerType is now contextifed.
Requires llvm >= 78969. resistor says this will be the last context API change :)
This commit is contained in:
parent
f3aad137c5
commit
c220dcac05
31 changed files with 290 additions and 289 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "ir/irtypefunction.h"
|
||||
|
||||
IrTypeFunction::IrTypeFunction(Type * dt)
|
||||
: IrType(dt, llvm::OpaqueType::get())
|
||||
: IrType(dt, llvm::OpaqueType::get(gIR->context()))
|
||||
{
|
||||
irfty = NULL;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ const llvm::Type * IrTypeFunction::buildType()
|
|||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
IrTypeDelegate::IrTypeDelegate(Type * dt)
|
||||
: IrType(dt, llvm::OpaqueType::get())
|
||||
: IrType(dt, llvm::OpaqueType::get(gIR->context()))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue