Remove STRUCTTHISREF

This commit is contained in:
kai
2013-03-05 18:44:32 +01:00
parent aa4fe6a748
commit 0fd586a818
3 changed files with 1 additions and 27 deletions

View File

@@ -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;