about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-10-07Make 1-1 parse againMarijn Haverbeke-34/+76
Issue #954 This is not a very elegant fix -- we should probably do something with constant folding to handle negative-int alt patterns in the future.
2011-10-07Stop registering cleanups for types that don't need themMarijn Haverbeke-0/+3
2011-10-07Make it possible to have locals that don't live on the stackMarijn Haverbeke-149/+172
Local values that are not mutated, don't need to be cleaned up, and are immediate, don't need to be spilled. (All immediate args, and non-pointer immediate let locals.)
2011-10-07Forbid passing dynamically-sized types by valueMarijn Haverbeke-2/+11
Issue #1008
2011-10-07Actually pass parameters specified as by-val by valueMarijn Haverbeke-31/+49
Issue #1008
2011-10-07Give up on providing a by-value version of map, convert fold over toMarijn Haverbeke-99/+98
passing pointers by ref Issue #1008
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-184/+204
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-10-06Hopefully make test_prefix_rpath_abs work on win32Brian Anderson-1/+1
2011-10-06Mac uses @executable_path instead of $ORIGINBrian Anderson-2/+2
2011-10-06Always use an absolute path for the backup install prefix rpathBrian Anderson-5/+12
2011-10-06Mac doesn't seem to support rpath $ORIGINBrian Anderson-9/+28
2011-10-06Configure out rpath tests when not testingBrian Anderson-0/+1
2011-10-06Remove an unnecessary linking flag. Add comments about linkingBrian Anderson-1/+4
2011-10-06rpathing is based on the target, not host OSBrian Anderson-7/+5
2011-10-06Make rpath work on macBrian Anderson-0/+7
2011-10-06Revert "rustc: Add a workaround for a segfault with --time-passes (issue ↵Marijn Haverbeke-24/+9
#1005)." This reverts commit 100e0264b2a2e4e7d8f27b4ed25af8cb7b4a8c3c.
2011-10-06Ignore && and + before argument names.Marijn Haverbeke-1/+7
Issue #1008
2011-10-06Fix problem with polymorphic return value being instantiated as nilMarijn Haverbeke-1/+1
Closes #1005
2011-10-05rpath all the things!Brian Anderson-2/+1
2011-10-05Add a FIXME about test exports to rustc::back::rpathBrian Anderson-0/+2
2011-10-05rpath the path to the runtimeBrian Anderson-1/+14
We don't currently rpath native libs, but we do know where rustrt is located and everything needs to link to it.
2011-10-05Fix some remaining rpath bugsBrian Anderson-16/+59
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