mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 16:39:24 +01: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
 | 
			
		||||
              result:=cloadvmtaddrnode.create(ctypenode.create(def))
 | 
			
		||||
            else
 | 
			
		||||
              result:=cloadvmtaddrnode.create(ctypenode.create(tobjectdef(def).childof))
 | 
			
		||||
              result:=cloadvmtaddrnode.create(ctypenode.create(tobjectdef(def).childof));
 | 
			
		||||
            tloadvmtaddrnode(result).forcall:=true;
 | 
			
		||||
          end;
 | 
			
		||||
 | 
			
		||||
{$if defined(onlymacosx10_6) or defined(arm) }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user