diff options
| author | Graydon Hoare <[email protected]> | 2011-03-08 13:20:16 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-08 13:20:16 -0800 |
| commit | 27547c6514cf4f358ef2c8d935bd296eb0312ac1 (patch) | |
| tree | 94f4949ba5a65a56633e374aee0e1851b4f42ffc /src/comp/middle | |
| parent | Move the glue asm code to a .o file. This reduces how much asm we print (diff) | |
| download | rust-27547c6514cf4f358ef2c8d935bd296eb0312ac1.tar.xz rust-27547c6514cf4f358ef2c8d935bd296eb0312ac1.zip | |
Revert "Move the glue asm code to a .o file. This reduces how much asm we print"
This reverts commit 55c80e763bfd850682b3217fcfc5cdb516eafae0.
Diffstat (limited to 'src/comp/middle')
| -rw-r--r-- | src/comp/middle/trans.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index e4512a47..7457a532 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -5708,6 +5708,8 @@ fn trans_crate(session.session sess, @ast.crate crate, str output, let ValueRef crate_ptr = llvm.LLVMAddGlobal(llmod, T_crate(tn), _str.buf("rust_crate")); + llvm.LLVMSetModuleInlineAsm(llmod, _str.buf(x86.get_module_asm())); + auto intrinsics = declare_intrinsics(llmod); auto glues = make_glues(llmod, tn); |