mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 05:25:58 +02:00
* don't generate a classClass call for objc loadvmtaddrnodes generated
for inherited calls (that is only required when not using them for dispatch purposes, and calling an inherited method is obviously a dispatch situation) git-svn-id: trunk@20664 -
This commit is contained in:
parent
dabcfc2806
commit
8525a30d9f
@ -164,7 +164,8 @@ end;
|
|||||||
if not(oo_is_classhelper in tobjectdef(def).objectoptions) then
|
if not(oo_is_classhelper in tobjectdef(def).objectoptions) then
|
||||||
result:=cloadvmtaddrnode.create(ctypenode.create(def))
|
result:=cloadvmtaddrnode.create(ctypenode.create(def))
|
||||||
else
|
else
|
||||||
result:=cloadvmtaddrnode.create(ctypenode.create(tobjectdef(def).childof))
|
result:=cloadvmtaddrnode.create(ctypenode.create(tobjectdef(def).childof));
|
||||||
|
tloadvmtaddrnode(result).forcall:=true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$if defined(onlymacosx10_6) or defined(arm) }
|
{$if defined(onlymacosx10_6) or defined(arm) }
|
||||||
|
Loading…
Reference in New Issue
Block a user