Marijn Haverbeke
|
f8393cc572
|
Add effect field to ast.ty_fn.
Still not used, except by the pretty-printer.
|
2011-03-31 14:41:40 +00:00 |
|
Marijn Haverbeke
|
e7e6f396d8
|
Preserve comments when pretty-printing.
The patch also includes a number of smaller fixes to the
pretty-printer that were encountered on the way.
|
2011-03-31 14:41:39 +00:00 |
|
Graydon Hoare
|
ffc188a4dd
|
Tweak build command on rustc.
|
2011-03-31 14:41:35 +00:00 |
|
Patrick Walton
|
ab8d200fb0
|
rustc: Read 'y' tags from external crates
|
2011-03-30 18:28:33 -07:00 |
|
Patrick Walton
|
ae5ba62b24
|
rustc: Use the type cache to construct external item references
|
2011-03-30 18:15:29 -07:00 |
|
Patrick Walton
|
cc59cea8b0
|
rustc: Thread an item-to-type mapping throughout the typechecking and translation phases
|
2011-03-30 17:28:06 -07:00 |
|
Graydon Hoare
|
a154c5b656
|
Um, that'd be, align the word *before* retpc. Addresses point to the low part of a word. Un-XFAIL nbody on Darwin.
|
2011-03-30 14:10:06 -07:00 |
|
Graydon Hoare
|
3e7b991d49
|
Ensure task stacks start out with a 16-byte aligned entry frame. Should make OSX behave a bit better.
|
2011-03-30 13:04:18 -07:00 |
|
Graydon Hoare
|
b5a4336487
|
Re-XFAIL lib-int.rs and lib-uint.rs.
|
2011-03-29 23:10:28 -07:00 |
|
Graydon Hoare
|
61e5587eab
|
Re-XFAIL lib-bitv.rs harder
|
2011-03-29 22:58:50 -07:00 |
|
Graydon Hoare
|
51807ad628
|
Re-XFAIL lib-bitv.rs
|
2011-03-29 22:08:35 -07:00 |
|
Graydon Hoare
|
94731fa458
|
Add support for --enable-foo and --disable-foo flags to configure, that Makefile.in respects.
|
2011-03-30 04:45:09 +00:00 |
|
Patrick Walton
|
301cfe1354
|
rustc: Add all items to the item table during translation. lib-vec now compiles, but asserts and then segfaults.
|
2011-03-29 18:16:53 -07:00 |
|
Patrick Walton
|
b09e09c673
|
rustc: Un-XFAIL lib-uint.rs
|
2011-03-29 18:16:53 -07:00 |
|
Graydon Hoare
|
b55c8333cb
|
Beef up the SREQ variables in Makefile.in, make tests depend on libstd.so
|
2011-03-29 17:33:39 -07:00 |
|
Patrick Walton
|
601cf8c97f
|
rustc: Un-XFAIL lib-int.rs.
|
2011-03-29 17:31:48 -07:00 |
|
Patrick Walton
|
626bdaaa1f
|
rustc: Parse parameter IDs in external crate metadata. Un-XFAIL lib-bitv.rs.
|
2011-03-29 17:25:55 -07:00 |
|
Patrick Walton
|
c67eb1a575
|
rustc: Partially resolve external module imports
|
2011-03-29 17:01:27 -07:00 |
|
Patrick Walton
|
6a5feffd6c
|
rustc: Tolerate def id tags inside module tags. Fixes metadata reading.
|
2011-03-29 16:43:27 -07:00 |
|
Lindsey Kuper
|
55fbed3d8d
|
Beginnings of support for magical self prefix; nothing profound happening yet.
|
2011-03-29 15:59:15 -07:00 |
|
Graydon Hoare
|
f6490a6f03
|
Ignore 'mutable foo' in plain field contexts.
|
2011-03-29 15:40:21 -07:00 |
|
Graydon Hoare
|
d7a6c83c8c
|
Apparently I learned to type yesterday.
|
2011-03-29 15:21:39 -07:00 |
|
Graydon Hoare
|
973fd3c4f2
|
Add -lstd to the stage0, 1, 2 test executable link commands.
|
2011-03-29 14:56:57 -07:00 |
|
Patrick Walton
|
94c061729b
|
rustc: Resolve external modules and native modules to definition IDs as well
|
2011-03-29 14:46:42 -07:00 |
|
Graydon Hoare
|
77f85460e6
|
Rename trans_native to trans_native_call, for clarity.
|
2011-03-29 13:23:51 -07:00 |
|
Graydon Hoare
|
734abe593d
|
Teach trans to emit undefined references to 'use'd symbols. Can compile and run a simple 'use std;' example now.
|
2011-03-29 13:23:51 -07:00 |
|
Graydon Hoare
|
6936093992
|
XFAIL nbody on darwin, quiet tinderbox for now.
|
2011-03-29 11:20:58 -07:00 |
|
Brian Anderson
|
8f2a97a562
|
Add partial support for if expressions resulting in generic types
|
2011-03-28 21:14:08 -07:00 |
|
Brian Anderson
|
38d5453584
|
Add an XFAILed test for if expressions resulting in boxes
|
2011-03-28 21:14:06 -07:00 |
|
Brian Anderson
|
aced4ce145
|
Handle structural types as the result of if expressions
|
2011-03-28 21:14:04 -07:00 |
|
Brian Anderson
|
a5a319fa04
|
Teach rustc to use the result of if expressions
|
2011-03-28 21:14:03 -07:00 |
|
Brian Anderson
|
2b27d12ce1
|
Add expr_spawn, spawn parsing, folding, typechecking, ty_task
|
2011-03-28 21:13:53 -07:00 |
|
Lindsey Kuper
|
db5c809c83
|
Add 'self' keyword.
|
2011-03-28 21:13:42 -07:00 |
|
Graydon Hoare
|
268b2140dc
|
Add long-while.rs to check on frame growth.
|
2011-03-28 18:07:29 -07:00 |
|
Graydon Hoare
|
540d29f641
|
Move all allocas to dedicated basic block at top of function, to keep frames finite. Un-comment next size in nbody.rs.
|
2011-03-28 18:07:29 -07:00 |
|
Patrick Walton
|
2809e30d1d
|
rustc: Parse types in external metadata
|
2011-03-28 16:49:26 -07:00 |
|
Patrick Walton
|
ace2c92a96
|
rustc: Populate the item types table with types of items from external crates; remove the redundant typeck.ty_and_params type on the way
|
2011-03-28 14:42:01 -07:00 |
|
Patrick Walton
|
621ab34410
|
rustc: Remove commented out "encode_tag_variant_info" call that sneaked in
|
2011-03-28 13:31:13 -07:00 |
|
Patrick Walton
|
62f4709953
|
rustc: Resolve def ids in external crates
|
2011-03-28 13:29:59 -07:00 |
|
Patrick Walton
|
cc221c472a
|
rustc: Don't include a trailing null when writing out metadata; it corrupts the EBML
|
2011-03-28 13:15:03 -07:00 |
|
Graydon Hoare
|
8b5968165f
|
Fix get_tydesc to alloca enough room for root; remove hack that was attempting to paper over it. Fix from espindola.
|
2011-03-28 11:11:03 -07:00 |
|
Patrick Walton
|
1cb3ce89dd
|
shootout: Hoist out the movement too; switch square root to an LLVM intrinsic
|
2011-03-28 08:24:58 -07:00 |
|
Patrick Walton
|
81695a19f8
|
rustc: Add support for calling LLVM intrinsics as native functions
|
2011-03-28 08:24:58 -07:00 |
|
Marijn Haverbeke
|
6ecdc04788
|
Add support for break and cont to rustc
Testing proper cleanup is hampered by
https://github.com/graydon/rust/issues/293
|
2011-03-27 14:11:23 +02:00 |
|
Patrick Walton
|
9c5affda1a
|
shootout: Hoist out the vector indexing on nbody; don't rely on LICM, which isn't working for some reason (insufficient alias info?) Speeds up nbody a bit.
|
2011-03-26 23:10:28 -07:00 |
|
Graydon Hoare
|
f59e49c9a6
|
Twiddle visibility, start exposing only type-mangled names (64 bit truncated sha1 prefixes).
|
2011-03-26 19:14:07 -07:00 |
|
Lindsey Kuper
|
2650487120
|
Got the nbody demo working, and hopefully faster, too!
|
2011-03-26 17:51:54 -07:00 |
|
Lindsey Kuper
|
1c1c67229a
|
Updates to the nbody demo.
|
2011-03-26 17:51:42 -07:00 |
|
Brian Anderson
|
7571935aed
|
Fix rules for gitignoring in-tree build artifacts to not ignore legitimate parts of the source tree
|
2011-03-26 17:50:08 -07:00 |
|
Graydon Hoare
|
dbc7289a4d
|
Start refactoring name-mangling in trans.
|
2011-03-26 17:36:47 -07:00 |
|