change the st calls to stx since we're using extended words now.

This commit is contained in:
pavlov%netscape.com 2001-09-02 02:17:37 +00:00
parent 0b2d03582b
commit ca7d7f1a5d

View File

@ -39,18 +39,18 @@ SharedStub:
! save off the original incoming parameters that arrived in
! registers, the ABI guarantees the space for us to do this
st %i1, [%fp + 0x7ff + 136]
st %i2, [%fp + 0x7ff + 144]
st %i3, [%fp + 0x7ff + 152]
st %i4, [%fp + 0x7ff + 160]
st %i5, [%fp + 0x7ff + 168]
stx %i1, [%fp + 0x7ff + 136]
stx %i2, [%fp + 0x7ff + 144]
stx %i3, [%fp + 0x7ff + 152]
stx %i4, [%fp + 0x7ff + 160]
stx %i5, [%fp + 0x7ff + 168]
! now we can build our own stack frame
save %sp,-(128 + 64),%sp ! room for the register window and
! struct pointer, rounded up to 0 % 64
! our function now appears to have been called
! as SharedStub(nsISupports* that, PRUint32 index, PRUint32* args)
! so we can just copy these through
mov %i0, %o0
mov %i1, %o1
mov %i2, %o2