about summary refs log tree commit diff
path: root/src/comp/back
AgeCommit message (Collapse)AuthorLines
2011-04-02Change rust_vec to have a 16-byte header, to 16-byte-align vec-body data. ↵Graydon Hoare-1/+2
Major perf win.
2011-03-25Trans nomenclature tidy-up: upcall vs. native vs. extern.Graydon Hoare-21/+22
2011-03-25Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare-2/+2
2011-03-25Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare-2/+2
build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
2011-03-25Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare-2/+2
off src root.
2011-03-21Every upcall needs a task pointer to find the C stack. It is just that whenRafael Ávila de Espíndola-11/+22
handling cdecl call they should skip it when calling the final function. There is some cleanup to be done on the generated IL, but this gets us running Hello World for real.
2011-03-16Fixed version of my previous patch to rename the upcall functions. This time ↵Rafael Ávila de Espíndola-3/+3
also update the inline assembly.
2011-03-11rustc: Add some stub metadata to each cratePatrick Walton-0/+10
2011-03-09Fix access to the rust stack.Rafael Ávila de Espíndola-15/+32
2011-03-09swap taskptr and callee in preparation for making taskptr optional.Rafael Ávila de Espíndola-8/+10
2011-03-03Assortment of additional work on vec-append. Not done yet.Graydon Hoare-2/+2
2011-03-02Sketch out some more pieces of vec-append.Graydon Hoare-0/+4
2011-02-22Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup ↵Graydon Hoare-2/+5
so access to argv works.
2011-02-08Add the single instruction required in activate glue to fix burning darwin ↵Graydon Hoare-2/+99
tinderbox. And transplant 100 lines of comments from the ML code.
2011-02-03Capture typarams into obj, independent of body tydesc.Graydon Hoare-1/+2
2011-01-18Add bzero glue and preliminary code for dynamic size/align calculations.Graydon Hoare-0/+4
2011-01-17Use homebrew memcpy, not llvm intrinsic. Can't run the latter on a rust stack.Graydon Hoare-0/+8
2011-01-05Sketch closure-forming logic for nontrivial bindings.Graydon Hoare-0/+6
2010-12-20Mop up cases of s/copy/take/, remove 'binding' terminology, whitespace ↵Graydon Hoare-13/+5
police, and make obj/fn structural.
2010-12-20rustc: Build tydescs for types, and make all take and drop operations go ↵Patrick Walton-0/+11
through the tydescs for simplicity (LLVM inlines them).
2010-12-16Remove calltup fields from ABI, add binding fields.Graydon Hoare-6/+17
2010-12-03rustc: Set data layout and target triplePatrick Walton-0/+20
2010-11-15Fix typo in x86 backend glue that was, by luck, only crashing on OSX.Graydon Hoare-1/+1
2010-11-14Switch upcall glues to fastcall as well.Graydon Hoare-10/+11
2010-11-14Remove outptr from module-internal calls; use standard ABI returns.Graydon Hoare-9/+9
2010-11-09Teach rustc about const tag value, begin work on trans_copy_ty, make uint's ↵Graydon Hoare-0/+3
to_str routine less clever and thereby resist overflow.
2010-11-05Move symbol prefix logic into separate function, add underscore prefix for ↵Graydon Hoare-4/+10
windows.
2010-10-22Don't use string == in x86.rs, doesn't work.Graydon Hoare-1/+1
2010-10-22rustc: Add an "_" prefix to assembler-generated symbols on MacPatrick Walton-0/+5
2010-09-27Translate exit-task glue such that rustc's output programs exit properly.Graydon Hoare-0/+4
2010-09-27Fix indexing bug in rustc's indirect-upcall arg-copying loops.Graydon Hoare-3/+4
2010-09-24More work on trans, almost getting to the point of emitting an upcall.Graydon Hoare-3/+15
2010-09-23Declare the global and upcall glues as ValueRefs in rustc's trans.Graydon Hoare-15/+15
2010-09-23Translate a bunch of the material (lltrans, llasm, abi) from rustboot to ↵Graydon Hoare-0/+205
rustc, and move files around.