Brian Anderson
|
cee7b4caee
|
Add test for issue #511. Closes #511
|
2011-09-22 22:50:12 -07:00 |
|
Brian Anderson
|
dbd2ee015a
|
Remove is_stateful flag from tydesc. Closes #136
|
2011-09-22 22:15:25 -07:00 |
|
Brian Anderson
|
33dd7cc854
|
Add a test for negative constants. Closes #358
|
2011-09-22 21:59:09 -07:00 |
|
Brian Anderson
|
0e5f76a718
|
Fix ty_uniq case in maybe_auto_unbox
Closes #961
Issue #409
|
2011-09-22 18:14:18 -07:00 |
|
Brian Anderson
|
1a48023a79
|
Add take glue for unique boxes
Closes #962
Issue #409
|
2011-09-22 18:05:36 -07:00 |
|
Brian Anderson
|
77fcab043e
|
Remove nonsensical load and store from trans_uniq::copy_val
Issue #409
|
2011-09-22 17:50:27 -07:00 |
|
Brian Anderson
|
f628003da6
|
Adda test for returning unique boxes
Issue #409
|
2011-09-22 17:00:53 -07:00 |
|
Brian Anderson
|
7a76323459
|
Allow vectors to contain unique boxes. Closes #952
Issue #409
|
2011-09-22 17:00:53 -07:00 |
|
Patrick Walton
|
e372f943e2
|
rustc: Write raw type parameters instead of linearized type parameters in object body shapes
|
2011-09-22 16:13:03 -07:00 |
|
Brian Anderson
|
dfa5bd1114
|
XFAIL task-comm
|
2011-09-22 16:09:10 -07:00 |
|
Brian Anderson
|
30a4eab380
|
Autoderef indexes and fields of unique boxes
Issue #409
|
2011-09-22 16:06:25 -07:00 |
|
Brian Anderson
|
dff4986f9e
|
Add tests for moving unique boxes
Issue #409
|
2011-09-22 15:43:08 -07:00 |
|
Brian Anderson
|
d174d917e2
|
Calculate the correct kind for unique boxes
Issue #409
|
2011-09-22 15:28:49 -07:00 |
|
Brian Anderson
|
61a14f3df0
|
Add a test for mutable references to unique boxes as function arguments
Issue #409
|
2011-09-22 15:03:44 -07:00 |
|
Brian Anderson
|
1367f2b63e
|
Add a test for unique boxes as fn args
Issue #409
|
2011-09-22 14:55:08 -07:00 |
|
Brian Anderson
|
3bb7035914
|
Add a test for unique boxes containing shared boxes
Issue #409
|
2011-09-22 14:39:57 -07:00 |
|
Brian Anderson
|
3f41563cc9
|
Drop the previous value when copying one unique box local to another
Issue #409
|
2011-09-22 13:53:34 -07:00 |
|
Brian Anderson
|
7c4fe10f02
|
Add a test that assignment of unique boxes to locals does a copy
Issue #409
|
2011-09-22 13:53:34 -07:00 |
|
Brian Anderson
|
67bac873e0
|
Add assignment to unique box locals
Issue #409
|
2011-09-22 13:53:33 -07:00 |
|
Brian Anderson
|
268a9fe5fb
|
Initialize unique box locals from other locals
Issue #409
|
2011-09-22 13:53:33 -07:00 |
|
Brian Anderson
|
5d5136df9f
|
Convert trans_uniq asserts to preconditions
Issue #409
|
2011-09-22 13:53:33 -07:00 |
|
Brian Anderson
|
c4f02a7925
|
Sprinkle some asserts through trans_uniq
|
2011-09-22 13:53:33 -07:00 |
|
Brian Anderson
|
8492eed137
|
Move uniq trans code to trans_uniq module
Issue #409
|
2011-09-22 13:53:30 -07:00 |
|
Brian Anderson
|
0f0ba33d82
|
Factor alloc_uniq from trans_uniq
Issue #409
|
2011-09-22 13:52:30 -07:00 |
|
Graydon Hoare
|
f2b49b8309
|
Remove -i for real.
|
2011-09-22 11:32:53 -07:00 |
|
Brian Anderson
|
f6ab12a3b1
|
Don't unify unique boxes with different mutability
Issue #409
|
2011-09-22 11:10:48 -07:00 |
|
Brian Anderson
|
5ab0840353
|
XFAIL spawnfail and task-comm-15
|
2011-09-22 11:06:26 -07:00 |
|
Brian Anderson
|
ea67099234
|
Add support for mutable unique boxes
Issue #409
|
2011-09-22 10:26:34 -07:00 |
|
Brian Anderson
|
1b3023e4d0
|
Convert ty::ty_uniq to contain a mutable type
Issue #409
|
2011-09-22 10:26:34 -07:00 |
|
Brian Anderson
|
4d088bd528
|
Call drop glue on the thing in a unique box
Issue #409
|
2011-09-22 10:26:34 -07:00 |
|
Marijn Haverbeke
|
aad1342e13
|
Fix long line
|
2011-09-22 09:23:07 +02:00 |
|
Marijn Haverbeke
|
5e3d0e304f
|
Fix missing cast in do_cc
Apparently not needed on Mac (clang?), but breaking the win and linux boxes.
|
2011-09-22 09:17:26 +02:00 |
|
Patrick Walton
|
8c02adc630
|
rustc: Port the fn and obj traversal logic over from the GC branch. Doesn't actually do anything yet due to lack of support in trans.
|
2011-09-21 19:08:26 -07:00 |
|
Patrick Walton
|
ad3b9c41b4
|
rt: Implement cycle collection marking. Simple cycles can now be detected.
|
2011-09-21 18:14:23 -07:00 |
|
Brian Anderson
|
a993621e43
|
Log and compare unique boxes
Issue #409
|
2011-09-21 17:08:40 -07:00 |
|
Brian Anderson
|
42fd2a9d89
|
Remove unused arg from revoke_clean
|
2011-09-21 15:39:46 -07:00 |
|
Brian Anderson
|
92af552956
|
Add an unwind test for failure during unique box construction
|
2011-09-21 14:45:08 -07:00 |
|
Brian Anderson
|
2cc01e2ca2
|
Add ability to deref unique boxes. Make unique boxes immediates.
Issue #409
|
2011-09-21 14:40:55 -07:00 |
|
Brian Anderson
|
956bc69330
|
Add more unwind tests for failure during construction of allocated things
|
2011-09-21 14:14:17 -07:00 |
|
Marijn Haverbeke
|
80778f642f
|
Revert "rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935."
This reverts commit f19ab1ff3c .
|
2011-09-21 21:39:31 +02:00 |
|
Graydon Hoare
|
31c04a53e9
|
One little 'n', so much harm!
|
2011-09-21 12:34:30 -07:00 |
|
Graydon Hoare
|
13215809a8
|
Expand our own config.guess-like logic in configure, rather than only asking LLVM. We have to decide some things before we get an LLVM to ask.
|
2011-09-21 11:24:59 -07:00 |
|
Patrick Walton
|
f19ab1ff3c
|
rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935.
|
2011-09-21 10:55:28 -07:00 |
|
Patrick Walton
|
fcd17731cf
|
rustc: Don't try to spill bottom types, since we can't make any assumptions about the type of the ValueRef
|
2011-09-21 10:55:27 -07:00 |
|
Marijn Haverbeke
|
a034f87146
|
Revert "Implement pattern ranges for all numeric types."
This reverts commit ce0f054f9d .
|
2011-09-21 18:42:09 +02:00 |
|
Marijn Haverbeke
|
410f73fdb2
|
Don't write to retptr when returning nil, pass undef for unused params
|
2011-09-21 17:57:19 +02:00 |
|
Graydon Hoare
|
68d50b5928
|
Add target_triple to session::options. Use host triple by default, accept --target on command line.
|
2011-09-21 08:46:44 -07:00 |
|
Marijn Haverbeke
|
07eb29dbce
|
Revert "rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935."
This reverts commit e6a84f252a .
|
2011-09-21 11:05:54 +02:00 |
|
Josh Matthews
|
ce0f054f9d
|
Implement pattern ranges for all numeric types.
|
2011-09-21 09:36:12 +02:00 |
|
Patrick Walton
|
e6a84f252a
|
rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935.
|
2011-09-20 22:52:26 -07:00 |
|