diff gen/classes.cpp @ 1231:212ec2d9d176

Fixed some minitest regressions.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Thu, 16 Apr 2009 19:21:30 +0200
parents fafe7c8d6734
children ff1b4cc2e9be
line wrap: on
line diff
--- a/gen/classes.cpp	Thu Apr 16 13:18:56 2009 +0200
+++ b/gen/classes.cpp	Thu Apr 16 19:21:30 2009 +0200
@@ -486,8 +486,7 @@
 
     LLValue* funcval = vthis;
     // get the vtbl for objects
-    if (!fdecl->isMember()->isInterfaceDeclaration())
-        funcval = DtoGEPi(funcval, 0, 0, "tmp");
+    funcval = DtoGEPi(funcval, 0, 0, "tmp");
     // load vtbl ptr
     funcval = DtoLoad(funcval);
     // index vtbl