mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-18 13:53:14 +01:00
Eliminate the need for TypeFunction::funcdecl
This commit is contained in:
@@ -101,6 +101,10 @@ LLValue* DSliceValue::getRVal()
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
DFuncValue::DFuncValue(Type *t, FuncDeclaration* fd, llvm::Value* v, llvm::Value* vt)
|
||||
: DValue(t), func(fd), val(v), vthis(vt)
|
||||
{}
|
||||
|
||||
DFuncValue::DFuncValue(FuncDeclaration* fd, LLValue* v, LLValue* vt)
|
||||
: DValue(fd->type), func(fd), val(v), vthis(vt)
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user