about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-10-05Figure out the relative path from output to each crateBrian Anderson-15/+62
2011-10-05Begin work on rpathBrian Anderson-2/+218
2011-10-05rustc: Add a workaround for a segfault with --time-passes (issue #1005).Patrick Walton-9/+24
2011-10-05Tie up the last ends in destination-passing-conversionMarijn Haverbeke-33/+26
Closes #667
2011-10-05Make trans_lval lval-onlyMarijn Haverbeke-59/+15
Call trans_temp_lval if you want the old fallback-to-temporary behaviour. Issue #667
2011-10-05Add trans_temp_expr for what used to be trans_expr, rename t_e_dps to trans_exprMarijn Haverbeke-68/+65
Issue #667
2011-10-05Lose the by_ref destination styleMarijn Haverbeke-33/+25
It's not needed. Issue #667
2011-10-05Revert "Revert "Reorganize translation of expr_field""Marijn Haverbeke-56/+54
This reverts commit 11e407aaa917dbd646f80aaff2457942481877c8.
2011-10-05Revert "Revert "Get rid of 'overwrite' destination kind""Marijn Haverbeke-102/+62
This reverts commit ce9e0fc94f4a74594e7b342d128b3713b53ef0d7.
2011-10-05Revert "Revert "Move trans_call to destination_passing style""Marijn Haverbeke-56/+57
This reverts commit 276dfc6133f3c7d3b40778789f72379800f62176.
2011-10-04Use std::os::get_exe_path to determine sysrootBrian Anderson-16/+16
2011-10-04Use util::filesearch to locate intrinsics.bc and main.oBrian Anderson-4/+20
2011-10-04Move the library search into util::filesearchBrian Anderson-25/+42
2011-10-04Fix some comment driftBrian Anderson-2/+2
2011-10-04Remove some redundancy in metadata::creaderBrian Anderson-13/+12
2011-10-04Encapsulate current sysroot and lib path handling into util::filesearchBrian Anderson-54/+92
2011-10-04rustc: Allow calling native functions on the C stack that take generic ↵Patrick Walton-6/+20
arguments. They get turned into i8 pointers.
2011-10-04Revert "Move trans_call to destination_passing style"Patrick Walton-57/+56
This reverts commit 6e56ec0066b3cc8d18365370f0b856670dc748bd.
2011-10-04Revert "Get rid of 'overwrite' destination kind"Patrick Walton-62/+102
This reverts commit 6e652588bfb3edea298026f56648057677b0fa3f.
2011-10-04Revert "Reorganize translation of expr_field"Patrick Walton-54/+56
This reverts commit 007ec666ad4a529682c35936d85ac81f7979f1b6.
2011-10-04Reorganize translation of expr_fieldMarijn Haverbeke-56/+54
Issue #667
2011-10-04Get rid of 'overwrite' destination kindMarijn Haverbeke-102/+62
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-10-04Move trans_call to destination_passing styleMarijn Haverbeke-56/+57
Issue #667 The retptr passed to a function will now often be the actual destination of the returned value (as in `{field1: func1()}`).
2011-10-03rustc: Implement C stack stdcallPatrick Walton-2/+19
2011-10-02rustc: Fix link error on Ubuntu Oneiric. Issue #903Haitao Li-2/+4
2011-09-30rustc: Call LLVM on the C stackPatrick Walton-1/+1
2011-09-30rustc: Stub a --stack-growth option; it's behind a flag for now because it ↵Patrick Walton-8/+21
requires patches to LLVM.
2011-09-30Change the directory for target libsBrian Anderson-5/+11
This pushes them down from stageN/lib/rustc/$(target) to stageN/lib/rustc/$(target)/lib in order to make room for a target bin dir
2011-09-30rustc: Remove some debug codePatrick Walton-2/+0
2011-09-30rustc: Track link_args attributes on C stack cdecl natives as wellPatrick Walton-1/+2
2011-09-30trans: Use inttoptr as appropriate when casting return values of C stack ↵Patrick Walton-1/+9
functions
2011-09-29Remove legacy library search pathsBrian Anderson-1/+1
2011-09-29Make rustc's host triple agree with the build system'sBrian Anderson-1/+9
2011-09-29Reorganize structure of build directoryBrian Anderson-14/+28
Each stage is organized more according to Unix standards and to accommodate multiple target architectures. stageN/ bin - rustc lives here lib - libraries that rustc needs lib/rustc/$(target_triple/ - target libraries
2011-09-29rustc: Remove some debug codePatrick Walton-2/+0
2011-09-29rustc: Make the generic C stack function signature include a usable return valuePatrick Walton-2/+2
2011-09-29rustc: Translate calls on the C stackPatrick Walton-26/+98
2011-09-29rustc: Fix call signature for call_c_stackPatrick Walton-18/+7
2011-09-29rustc: Add upcall stubs for the new C stack upcallsPatrick Walton-0/+5
2011-09-29rustc: Generate types in trans for the C-stack native ABIPatrick Walton-2/+21
2011-09-29Don't build up results for ignored expressions.Marijn Haverbeke-1/+1
Issue #667
2011-09-29Fail with an informative error when trying to bind a methodMarijn Haverbeke-11/+11
Issue #435
2011-09-29Move last remaining expression types out of trans_exprMarijn Haverbeke-79/+58
Issue #667
2011-09-29Move expr_cast and expr_copy to DPS styleMarijn Haverbeke-18/+12
Issue #667
2011-09-29Move closure construction over to DPS styleMarijn Haverbeke-148/+159
Issue #667
2011-09-29Reduce move ops to a construct-in-place when possibleMarijn Haverbeke-20/+35
2011-09-28Eliminate glue.o. Closes #990Brian Anderson-47/+2
2011-09-28Don't allow vectors of pinned kindsBrian Anderson-0/+10
Vectors of pinned kinds can't be safe because most interesting uses of vector perform copies
2011-09-28rustc: Add a new "C stack cdecl" native ABIPatrick Walton-1/+14
2011-09-28Revert "Revert "Implement pattern ranges for all numeric types.""Brian Anderson-26/+345
This reverts commit a034f87146e60e1db2327c6f6807c47406a1bb0b. Conflicts: src/comp/middle/check_alt.rs src/comp/middle/trans_alt.rs src/comp/syntax/ast.rs src/comp/syntax/ast_util.rs src/comp/syntax/fold.rs src/comp/syntax/print/pprust.rs Conflicts: src/comp/middle/trans_alt.rs