aboutsummaryrefslogtreecommitdiff
path: root/src/boot/be/macho.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-11-16 13:51:32 -0800
committerGraydon Hoare <[email protected]>2010-11-16 13:51:32 -0800
commit26ecec4e123781c6e99e92cf42ce585e33a861ef (patch)
tree3da15ea6afe073b2b29e657749f9d53534030e4a /src/boot/be/macho.ml
parentFix typo in x86 backend glue that was, by luck, only crashing on OSX. (diff)
downloadrust-26ecec4e123781c6e99e92cf42ce585e33a861ef.tar.xz
rust-26ecec4e123781c6e99e92cf42ce585e33a861ef.zip
Update frame logic to be compatible with SysV x86 ABI. Improves diagnostics.
Diffstat (limited to 'src/boot/be/macho.ml')
-rw-r--r--src/boot/be/macho.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/be/macho.ml b/src/boot/be/macho.ml
index da3c8550..5d02b2c2 100644
--- a/src/boot/be/macho.ml
+++ b/src/boot/be/macho.ml
@@ -987,7 +987,7 @@ let emit_file
Il.emit e (Il.umov edx_pointee (X86.ro X86.eax));
Il.emit e (Il.Push (X86.ro X86.eax));
- (* Calculte and store envp. *)
+ (* Calculate and store envp. *)
Il.emit e (Il.binary Il.ADD
(X86.rc X86.eax) (X86.ro X86.eax)
(X86.imm (Asm.IMM 1L)));