mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
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:
parent
055a636e28
commit
1cc05dd904
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user