aboutsummaryrefslogtreecommitdiff
path: root/src/boot/llvm/lltrans.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-11-05 18:45:06 -0700
committerGraydon Hoare <[email protected]>2010-11-05 18:45:06 -0700
commit049072db824b7eeb4246fd75fa82b2837c00f9d3 (patch)
tree5561d47944e2a8178c3be429c0fed20c74f01e35 /src/boot/llvm/lltrans.ml
parentTranslate ast.box unary expressions and support extraction of TypeRefs from A... (diff)
downloadrust-049072db824b7eeb4246fd75fa82b2837c00f9d3.tar.xz
rust-049072db824b7eeb4246fd75fa82b2837c00f9d3.zip
Update lltrans to also emit WinMain@16 on windows.
Diffstat (limited to 'src/boot/llvm/lltrans.ml')
-rw-r--r--src/boot/llvm/lltrans.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/llvm/lltrans.ml b/src/boot/llvm/lltrans.ml
index c3b097af..22c1557e 100644
--- a/src/boot/llvm/lltrans.ml
+++ b/src/boot/llvm/lltrans.ml
@@ -1132,7 +1132,7 @@ let trans_crate
Hashtbl.iter declare_mod_item items;
Hashtbl.iter trans_mod_item items;
Llfinal.finalize_module
- llctx llmod abi asm_glue exit_task_glue crate_ptr;
+ sess llctx llmod abi asm_glue exit_task_glue crate_ptr;
llmod
with e -> Llvm.dispose_module llmod; raise e
;;