about summary refs log tree commit diff
path: root/src/comp/middle
AgeCommit message (Collapse)AuthorLines
2011-03-25Refactor ast.local to make room for initialization via recvBrian Anderson-11/+14
2011-03-25rustc: Create a crate metadata cachePatrick Walton-5/+1
2011-03-24Start hooking resolve into creater.Graydon Hoare-5/+23
2011-03-24rustc: Emit a better error message when a type is used where a value was ↵Patrick Walton-0/+5
expected
2011-03-23Revert "Change the type of the second argument of upcalls to be a %task*.", ↵Graydon Hoare-13/+13
breaks win32 build. This reverts commit dcf122ede03af71d8a1d892a077a9e2435b64ef3.
2011-03-23Support for 'float' in type signatures.Lindsey Kuper-1/+10
2011-03-23rustc: Write out crate metadataPatrick Walton-6/+293
2011-03-22Further support for floating-point. Literals with exponents workTim Chevalier-15/+43
and literals with the 'f32' or 'f64' suffixes work as well. In addition, logging things with the f32 or f64 type works. (float is still assumed to be a synonym for f64).
2011-03-22Change the type of the second argument of upcalls to be a %task*.Rafael Ávila de Espíndola-13/+13
2011-03-22Support for shorter error messages that are aware of objects' cnames.Lindsey Kuper-8/+26
2011-03-22Revert "Remove usages of case(_) { fail; } since the compiler does this ↵Patrick Walton-0/+9
automatically". When we have exhaustiveness checking, "case(_) { fail; }" will be useful to silence warnings. This reverts commit 92a716d862d92d3cc52a400457d2c3900d0c57a2.
2011-03-22Remove usages of case(_) { fail; } since the compiler does this automaticallyBrian Anderson-9/+0
2011-03-22Add a cleanup to trans_send. Express further confusion about cleanups in ↵Brian Anderson-2/+3
trans_recv
2011-03-22Remove a todo from trans_chan that doesn't appear necessaryBrian Anderson-2/+0
2011-03-22Generalize send/recv to work for more typesBrian Anderson-15/+19
2011-03-22Fix trans_recvBrian Anderson-4/+11
2011-03-22Implement trans_send and a broken trans_recvBrian Anderson-4/+42
2011-03-22Add codegen for ports and chansBrian Anderson-0/+120
2011-03-21Make floating-point operations work (neg, add, sub, mul, div, rem,Tim Chevalier-4/+51
and comparison ops.)
2011-03-21Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier-5/+33
logging of floats. Other operations on float probably don't work yet.
2011-03-21Every upcall needs a task pointer to find the C stack. It is just that whenRafael Ávila de Espíndola-35/+44
handling cdecl call they should skip it when calling the final function. There is some cleanup to be done on the generated IL, but this gets us running Hello World for real.
2011-03-21Make the wrapper function of native functions private.Rafael Ávila de Espíndola-0/+2
2011-03-21The T_taskptr is already included in the n_args, don't add it twice.Rafael Ávila de Espíndola-5/+3
2011-03-21rustc: Update type serialization and deserialization for the "mutable?" changePatrick Walton-5/+15
2011-03-21rustc: Merge in type serialization and deserializationMarijn Haverbeke-0/+106
Signed-off-by: Patrick Walton <pcwalton@mimiga.net>
2011-03-21Make lltaskptr a regular argument element in args in calls to trans_upcall2.Rafael Ávila de Espíndola-8/+8
2011-03-21Move calls to PtrToInt out of trans_upcall2.Rafael Ávila de Espíndola-3/+5
2011-03-20Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare-14/+18
item name (used in win32 build of std.dll)
2011-03-20rustc: Internalize glue. Cuts libstd size by 8% or so.Patrick Walton-1/+3
2011-03-19rustc: Only declare each native function once. std.rc now links.Patrick Walton-1/+15
2011-03-19rustc: Use the right block context to generate unary operands. std.rc ↵Patrick Walton-3/+3
compiles now. For realz.
2011-03-19rustc: Allow arguments to be captured as upvars. std.rc compiles now, except ↵Patrick Walton-3/+15
for the lack of a main fn.
2011-03-19rustc: Do argument casts before loading aggregates, not afterPatrick Walton-5/+16
2011-03-18rustc: Implement int-to-native castsPatrick Walton-0/+3
2011-03-18rustc: Make trans_path() generic-safe wrt nullary tagsPatrick Walton-1/+8
2011-03-18rustc: Make iter_structural_ty_full() generic-safe wrt tagsPatrick Walton-28/+10
2011-03-18rustc: Do pointer casts when casting native typesPatrick Walton-1/+3
2011-03-18rustc: Fix inference for auto slots (forgot to stage changes before)Patrick Walton-7/+6
2011-03-18rustc: Don't always build a constant multiply instruction when translating ↵Patrick Walton-2/+2
literal vectors; the size of the referent isn't always constant
2011-03-18rustc: Move type_of() behind the check for dynamic size in trans_vec()Patrick Walton-1/+1
2011-03-18rustc: Create global variable constants during the collection phasePatrick Walton-14/+13
2011-03-18rustc: Make iter_sequence() work with generic vectorsPatrick Walton-3/+16
2011-03-18rustc: Box the tuples returned by hashmap.items() for now since we don't ↵Patrick Walton-1/+1
have alias iterators yet
2011-03-18rustc: Get type params from the item when translating native itemsPatrick Walton-9/+13
2011-03-18rustc: Unify over alt expressionsPatrick Walton-0/+14
2011-03-18rustc: Add a span_unimpl() for debuggingPatrick Walton-1/+2
2011-03-18rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.Patrick Walton-23/+60
2011-03-17rustc: Switch mutability from being a type constructor to a field annotationPatrick Walton-207/+237
2011-03-17rustc: Correctly report mutability when stringifying typesPatrick Walton-24/+24
2011-03-17rustc: Consider native types to be scalarPatrick Walton-0/+1