about summary refs log tree commit diff
path: root/src/comp/middle/trans_uniq.rs
AgeCommit message (Collapse)AuthorLines
2011-12-14translate unique closure env betterNiko Matsakis-1/+2
2011-10-12Simplify copying of uniquesMarijn Haverbeke-15/+1
We can call take glue, rather than duplicating it inline.
2011-10-10Don't spill immediates in order to drop themMarijn Haverbeke-5/+3
Issue #1012
2011-10-10Make free glue take a pointer to the heap part (box)Marijn Haverbeke-4/+1
This way, it can be used to drop values without first spilling them. Issue #1012
2011-10-05Make trans_lval lval-onlyMarijn Haverbeke-1/+0
Call trans_temp_lval if you want the old fallback-to-temporary behaviour. Issue #667
2011-10-05Revert "Revert "Get rid of 'overwrite' destination kind""Marijn Haverbeke-1/+1
This reverts commit ce9e0fc94f4a74594e7b342d128b3713b53ef0d7.
2011-10-04Revert "Get rid of 'overwrite' destination kind"Patrick Walton-1/+1
This reverts commit 6e652588bfb3edea298026f56648057677b0fa3f.
2011-10-04Get rid of 'overwrite' destination kindMarijn Haverbeke-1/+1
It wasn't safe (computing the rval might invalidate the lval addr), and needlessly complicating things (code was already building up intermediary results to work around other unsafeties). Issue #667
2011-09-29Move closure construction over to DPS styleMarijn Haverbeke-1/+0
Issue #667
2011-09-28Use DPS for assignment and local initializationMarijn Haverbeke-1/+1
Issue #667
2011-09-27Revert "Use DPS for assignment and local initialization"Brian Anderson-1/+1
This reverts commit b1b202d302d1e84886360f9c8f146b9562db5f23.
2011-09-27Use DPS for assignment and local initializationMarijn Haverbeke-1/+1
Issue #667
2011-09-27Move expr_unary to DPS styleMarijn Haverbeke-24/+9
Issue #667
2011-09-24Handle ~fail. Closes #968Brian Anderson-0/+7
2011-09-24Support non-immediates in trans_uniq::copy_valBrian Anderson-1/+1
Issue #409
2011-09-24Mark some fns as pure so type_is_unique_box doesn't need to be uncheckedJesse Ruderman-3/+1
2011-09-24Tweak the type allocated for unique pointersBrian Anderson-2/+4
Seems to be more correctish... Issue #409
2011-09-24Support non-immediates in unique-box type glueBrian Anderson-2/+4
Issue #409
2011-09-22Add take glue for unique boxesBrian Anderson-1/+15
Closes #962 Issue #409
2011-09-22Remove nonsensical load and store from trans_uniq::copy_valBrian Anderson-2/+1
Issue #409
2011-09-22Autoderef indexes and fields of unique boxesBrian Anderson-1/+8
Issue #409
2011-09-22Initialize unique box locals from other localsBrian Anderson-3/+17
Issue #409
2011-09-22Convert trans_uniq asserts to preconditionsBrian Anderson-10/+18
Issue #409
2011-09-22Sprinkle some asserts through trans_uniqBrian Anderson-0/+7
2011-09-22Move uniq trans code to trans_uniq moduleBrian Anderson-0/+74
Issue #409