fixing AIX's problem with dealing with multiple inheritence

this fixes editor and mailnews startup crashing bugs
submitted by hhoetzel@us.ibm.com
r= jdunn@netscape.com,cls@seawood.org
a= blizzard@mozilla.org
# 24458
This commit is contained in:
jdunn%netscape.com 2001-06-15 12:19:18 +00:00
parent 055a636e28
commit 1cc05dd904

View File

@ -114,8 +114,7 @@
addi r5,r5,8 # step over junk at start of vTable !
lwzx r11,r5,r4 # get function pointer
addi r5,r5,-4 # We need to manually adjust the 'that' pointer, this is CFRONT based
lwzx r5,r4,r5 # offset = r4(vtable) + r5(methodIndex offset) - 4
lwz r5,12(r4) # Value at r4(vtable) + offset 12 is used to adjust r3 ('that' pointer)
add r3,r5,r3 # adjust 'that' r3 = r3 + r5
lwz r4,28(sp)