diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-21 15:10:42 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-21 19:10:32 -0700 |
| commit | 9ea3bc614e79aab86288ff6cbff64c9ea7bebe0f (patch) | |
| tree | 26d877ca383ff42c67e2ee25339d8f0d6fe4831e /src/rt | |
| parent | 9f89cc9d15cafc3d6bc36ed98b2b816adec81e83 (diff) | |
| download | rust-9ea3bc614e79aab86288ff6cbff64c9ea7bebe0f.tar.gz rust-9ea3bc614e79aab86288ff6cbff64c9ea7bebe0f.zip | |
rt: Shave 16 bytes off the __morestack frame
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/arch/x86_64/morestack.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/arch/x86_64/morestack.S b/src/rt/arch/x86_64/morestack.S index a535f6388c0..84340d26791 100644 --- a/src/rt/arch/x86_64/morestack.S +++ b/src/rt/arch/x86_64/morestack.S @@ -49,7 +49,7 @@ MORESTACK: // Calculate the CFA as on offset from %ebp .cfi_def_cfa_register %rbp - subq $200, %rsp + subq $184, %rsp // FIXME: libgcc also saves rax. not sure if we need to @@ -107,7 +107,7 @@ MORESTACK: movdqa 144(%rsp), %xmm6 movdqa 160(%rsp), %xmm7 - addq $200, %rsp + addq $184, %rsp movq 8(%rbp),%r10 // Grab the return pointer. incq %r10 // Skip past the `ret` in our parent frame |
