diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/alloca.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloca.s b/src/alloca.s index 0bcc950f85e..4cae6ab3bfb 100644 --- a/src/alloca.s +++ b/src/alloca.s | |||
| @@ -181,7 +181,7 @@ _alloca: | |||
| 181 | move.l sp,d1 ; get current SP value | 181 | move.l sp,d1 ; get current SP value |
| 182 | sub.l d0,d1 ; adjust to reflect required size... | 182 | sub.l d0,d1 ; adjust to reflect required size... |
| 183 | sub.l #MAXREG*4,d1 ; ...and space needed for registers | 183 | sub.l #MAXREG*4,d1 ; ...and space needed for registers |
| 184 | and.l #-4,d1 ; backup to longword boundry | 184 | and.l #-4,d1 ; backup to longword boundary |
| 185 | move.l sp,a0 ; save old SP value for register copy | 185 | move.l sp,a0 ; save old SP value for register copy |
| 186 | move.l d1,sp ; set the new SP value | 186 | move.l d1,sp ; set the new SP value |
| 187 | tst.b -4096(sp) ; grab an extra page (to cover caller) | 187 | tst.b -4096(sp) ; grab an extra page (to cover caller) |