mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-31 12:03:13 +01:00
Remove STRUCTTHISREF
This commit is contained in:
@@ -640,13 +640,9 @@ void TypeInfoStructDeclaration::llvmDefine()
|
||||
{
|
||||
Scope sc;
|
||||
Parameters *arguments = new Parameters;
|
||||
#if STRUCTTHISREF
|
||||
|
||||
// arg type is ref const T
|
||||
Parameter *arg = new Parameter(STCref, tc->constOf(), NULL, NULL);
|
||||
#else
|
||||
// arg type is const T*
|
||||
Parameter *arg = new Parameter(STCin, tc->pointerTo(), NULL, NULL);
|
||||
#endif
|
||||
arguments->push(arg);
|
||||
tfcmpptr = new TypeFunction(arguments, Type::tint32, 0, LINKd);
|
||||
tfcmpptr->mod = MODconst;
|
||||
|
||||
Reference in New Issue
Block a user