зеркало из https://github.com/mozilla/pjs.git
Adjusted the be instruction to now branch to .invoke and not invoke (was
a missing symbol at link time). a=leaf r=rogerl Bug id #15604
This commit is contained in:
Родитель
f95d22562f
Коммит
2e312b673e
|
@ -35,7 +35,7 @@ XPTC_InvokeByIndex:
|
||||||
sll %i2,3,%l0 ! assume the worst case
|
sll %i2,3,%l0 ! assume the worst case
|
||||||
! paramCount * 2 * 4 bytes
|
! paramCount * 2 * 4 bytes
|
||||||
cmp %l0, 0 ! are there any args? If not,
|
cmp %l0, 0 ! are there any args? If not,
|
||||||
be invoke ! no need to copy args to stack
|
be .invoke ! no need to copy args to stack
|
||||||
|
|
||||||
sub %sp,%l0,%sp ! create the additional stack space
|
sub %sp,%l0,%sp ! create the additional stack space
|
||||||
add %sp,72,%o0 ! step past the register window, the
|
add %sp,72,%o0 ! step past the register window, the
|
||||||
|
|
Загрузка…
Ссылка в новой задаче