mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Fixed some minitest regressions.
This commit is contained in:
@@ -486,8 +486,7 @@ LLValue* DtoVirtualFunctionPointer(DValue* inst, FuncDeclaration* fdecl)
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user