Patrick Walton
|
2e6197aa95
|
rustc: Report how much time was spent to translate each function when --stats is on
|
2011-07-19 11:57:15 -07:00 |
|
Erick Tryzelaar
|
b82c9c9e79
|
xfail simple-qsort.rs test at stage0.
|
2011-07-19 11:39:04 -07:00 |
|
Brian Anderson
|
b022dde587
|
Refactor std::run
|
2011-07-19 10:15:16 -07:00 |
|
Brian Anderson
|
fb9a117743
|
Fix an invalid memory access in run_program and friends
|
2011-07-19 10:15:16 -07:00 |
|
Marijn Haverbeke
|
a0ab57b3f6
|
Fix trans_alt to handle unreachable branches without blowing up
|
2011-07-19 17:07:51 +02:00 |
|
Patrick Walton
|
ce3d6339e0
|
rustc: Translate locals in DPS style
|
2011-07-18 18:28:36 -07:00 |
|
Patrick Walton
|
242ec22032
|
rustc: Remove obsolete TODO
|
2011-07-18 18:02:11 -07:00 |
|
Patrick Walton
|
07a68df3b7
|
rustc: Skip null when translating string concatenation
|
2011-07-18 18:00:45 -07:00 |
|
Patrick Walton
|
08eabde97b
|
rustc: First stab at implementing interior vector concat in the DPS engine
|
2011-07-18 17:43:24 -07:00 |
|
Lindsey Kuper
|
7d4903544e
|
Don't use 'obj_info' as an identifier for things not of type obj_info.
|
2011-07-18 17:05:41 -07:00 |
|
Brian Anderson
|
7e55061def
|
Add str::replace
|
2011-07-18 16:16:48 -07:00 |
|
Brian Anderson
|
689f5f487c
|
Add str::is_empty, is_not_empty preds
|
2011-07-18 16:16:48 -07:00 |
|
Lindsey Kuper
|
b6fc86ae5a
|
Sane error message for self-call in non-obj context. Closes #707.
|
2011-07-18 15:58:36 -07:00 |
|
Graydon Hoare
|
46b0aa5c5c
|
Enable fuzzer build *when not on windows*. We'll get to windows when we can.
|
2011-07-18 15:57:12 -07:00 |
|
Michael Sullivan
|
71909a64bc
|
Fix qsort to not skip the right side when the pivot element gets put at index 0.
Closes #705.
|
2011-07-18 15:03:31 -07:00 |
|
Brian Anderson
|
ad1c0e6308
|
Reformulate x86stdcall test so it works with check-fast
Hopefully this puts out the burning win32 tinderbox
|
2011-07-18 14:59:44 -07:00 |
|
Brian Anderson
|
b78eee8732
|
Fix native-type-mismatch test on win32
|
2011-07-18 13:56:19 -07:00 |
|
Brian Anderson
|
cc7ae32ba1
|
Add setenv to standard library
|
2011-07-18 13:56:19 -07:00 |
|
Brian Anderson
|
c40d6265ce
|
Support x86 stdcall convention
This allows rust to call the Win32 API
|
2011-07-18 13:56:15 -07:00 |
|
Patrick Walton
|
682875929e
|
rustc: Stub binary operator translation
|
2011-07-18 00:24:21 -07:00 |
|
Patrick Walton
|
437b776100
|
rustc: Simplify the destination format in the DPS backend; optimize aliases to interior strings to require no allocation at all
|
2011-07-17 22:30:13 -07:00 |
|
Brian Anderson
|
09ca57adb0
|
Revert "Revert "Rename Passes2.cpp to Passes.cpp""
This reverts commit 52507f406e .
|
2011-07-17 19:16:23 -07:00 |
|
Brian Anderson
|
20a3adbc08
|
Revert "Add setenv to standard library"
This reverts commit 6fb168b3db .
|
2011-07-17 19:16:18 -07:00 |
|
Brian Anderson
|
52507f406e
|
Revert "Rename Passes2.cpp to Passes.cpp"
This reverts commit c18127b913 .
|
2011-07-17 19:15:27 -07:00 |
|
Brian Anderson
|
6fb168b3db
|
Add setenv to standard library
|
2011-07-17 18:50:01 -07:00 |
|
Brian Anderson
|
c18127b913
|
Rename Passes2.cpp to Passes.cpp
The original Passes.cpp is dead so Passes2 gets promoted
|
2011-07-17 14:57:28 -07:00 |
|
Brian Anderson
|
13f5de0671
|
Remove Passes.cpp from rustllvm
Upstreamed
|
2011-07-17 14:57:28 -07:00 |
|
Brian Anderson
|
b7699b7889
|
Remove Object.h from rustllvm
This file appears to be upstream now
|
2011-07-17 14:57:28 -07:00 |
|
Patrick Walton
|
22db8b1d53
|
rustc: Use memmove instructions more aggressively in DPS mode. LLVM converts these to optimized block transfer instructions, significantly reducing code size.
|
2011-07-17 14:02:39 -07:00 |
|
Brian Anderson
|
4b7884e1fa
|
Removing error logging from test
|
2011-07-16 19:56:12 -07:00 |
|
Brian Anderson
|
64d43be647
|
Sort tests before running them. Issue #428
|
2011-07-16 17:58:32 -07:00 |
|
Brian Anderson
|
f010f79a61
|
Add std::ivec::to_mut, from_mut
|
2011-07-16 17:36:11 -07:00 |
|
Brian Anderson
|
8c4f1652ec
|
Add ivec::zip/unzip
|
2011-07-16 17:36:11 -07:00 |
|
Brian Anderson
|
a52c3e0444
|
Remove unused variable from test tests
|
2011-07-16 16:48:33 -07:00 |
|
Josh Matthews
|
a411c865b2
|
Make clear the differentiation between char pos and byte pos in filemaps. Fix up error printing for files with multi-byte characters.
|
2011-07-16 15:57:24 -07:00 |
|
Josh Matthews
|
3ce43f37d2
|
Fix pre-existing problem with filemap line positions always starting at 0. Fix error line output to only retrieve up to the nearest newline.
|
2011-07-16 15:56:31 -07:00 |
|
Josh Matthews
|
a5ac8f16db
|
Use the actual start position of the file in the codemap rather than the position of the first newline.
|
2011-07-16 15:56:31 -07:00 |
|
Josh Matthews
|
63598248e4
|
Reenable error line printing.
|
2011-07-16 15:56:31 -07:00 |
|
Josh Matthews
|
df74f2cde9
|
Fix error line display slicing.
|
2011-07-16 15:56:28 -07:00 |
|
Patrick Walton
|
652da4ca55
|
rustc: Implement immediates in the DPS engine; it should now always be at least as efficient as the original engine (and typically much more).
|
2011-07-16 10:54:12 -07:00 |
|
Patrick Walton
|
88574c3cea
|
rustc: Implement interior string logging in DPS
|
2011-07-15 18:37:57 -07:00 |
|
Patrick Walton
|
f6f7f61908
|
rustc: Implement logging in DPS
|
2011-07-15 18:00:59 -07:00 |
|
Lindsey Kuper
|
69abf0a5ff
|
Revised plan of attack for backwarding functions.
|
2011-07-15 17:23:20 -07:00 |
|
Patrick Walton
|
0bd7b803f6
|
rustc: Translate literals in DPS style; no constification of strings yet.
|
2011-07-15 16:40:55 -07:00 |
|
Patrick Walton
|
6e114a367f
|
rustc: Write names of local variables into the LLVM IR when debug mode is on
|
2011-07-15 16:40:55 -07:00 |
|
Graydon Hoare
|
fafb42e6b1
|
Merge the stage1,2,3.mk files into a common definition in stageN.mk, more rearrangement of host/target libs.
|
2011-07-15 16:16:51 -07:00 |
|
Lindsey Kuper
|
c4265209a6
|
More tests for anonymous objects. Issues #702, #703.
|
2011-07-15 15:33:40 -07:00 |
|
Michael Sullivan
|
c610d027d9
|
gather_locals shouldn't descend down into fns and items.
|
2011-07-15 14:42:59 -05:00 |
|
Michael Sullivan
|
7caf8a0929
|
Convert gather_locals to use visit.
|
2011-07-15 14:24:09 -05:00 |
|
Patrick Walton
|
9fadab64a2
|
rustc: Introduce a stub destination-passing-style translation engine, accessible via the --dps switch for now
|
2011-07-15 11:38:46 -07:00 |
|