diff options
| author | Alexei Sholik <alcosholik@gmail.com> | 2013-06-06 10:38:41 +0300 |
|---|---|---|
| committer | Alexei Sholik <alcosholik@gmail.com> | 2013-06-06 10:48:27 +0300 |
| commit | e75572c879a5fb9d95e4fe95465a5bf19c7db076 (patch) | |
| tree | 5e0f82a1394c2acc0429db7b1df8e51794e17a24 /src/rt/arch | |
| parent | c7b19b04cbde053f0cf7a15b989bc6546cd2e265 (diff) | |
| download | rust-e75572c879a5fb9d95e4fe95465a5bf19c7db076.tar.gz rust-e75572c879a5fb9d95e4fe95465a5bf19c7db076.zip | |
Deduplicate words in code comments
Diffstat (limited to 'src/rt/arch')
| -rw-r--r-- | src/rt/arch/i386/morestack.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rt/arch/i386/morestack.S b/src/rt/arch/i386/morestack.S index c1cd11fa432..1b276820805 100644 --- a/src/rt/arch/i386/morestack.S +++ b/src/rt/arch/i386/morestack.S @@ -20,7 +20,7 @@ Each Rust function contains an LLVM-generated prologue that compares the stack space required for the current function to - the space space remaining in the current stack segment, + the space remaining in the current stack segment, maintained in a platform-specific TLS slot. The stack limit is strategically maintained by the Rust runtime so that it is always in place whenever a Rust function is running. @@ -55,7 +55,7 @@ tiny fraction of a frame (containing just a return pointer and, on 32-bit, the arguments to __morestack). - We deal with this by claiming that that little bit of stack + We deal with this by claiming that little bit of stack is actually part of the __morestack frame, encoded as DWARF call frame instructions (CFI) by .cfi assembler pseudo-ops. @@ -119,7 +119,7 @@ MORESTACK: // telling the unwinder to consider the Canonical Frame // Address (CFA) for this frame to be the value of the stack // pointer prior to entry to the original function, whereas - // the CFA would typically be the the value of the stack + // the CFA would typically be the value of the stack // pointer prior to entry to this function. This will allow // the unwinder to understand how to skip the tiny partial // frame that the original function created by calling @@ -167,7 +167,7 @@ MORESTACK: // The arguments to upcall_new_stack // The size of the stack arguments to copy to the new stack, - // ane of the the arguments to __morestack + // and of the arguments to __morestack movl 40(%esp),%eax movl %eax,8(%esp) // The address of the stack arguments to the original function |
