aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle
Commit message (Collapse)AuthorAgeFilesLines
...
* rustc: Partially resolve external module importsPatrick Walton2011-03-291-4/+88
|
* Beginnings of support for magical self prefix; nothing profound happening yet.Lindsey Kuper2011-03-292-0/+8
|
* rustc: Resolve external modules and native modules to definition IDs as wellPatrick Walton2011-03-291-6/+14
|
* Rename trans_native to trans_native_call, for clarity.Graydon Hoare2011-03-291-10/+10
|
* Teach trans to emit undefined references to 'use'd symbols. Can compile and ↵Graydon Hoare2011-03-291-0/+21
| | | | run a simple 'use std;' example now.
* Add partial support for if expressions resulting in generic typesBrian Anderson2011-03-281-4/+7
|
* Handle structural types as the result of if expressionsBrian Anderson2011-03-281-0/+3
|
* Teach rustc to use the result of if expressionsBrian Anderson2011-03-281-4/+13
|
* Add expr_spawn, spawn parsing, folding, typechecking, ty_taskBrian Anderson2011-03-283-16/+77
|
* Move all allocas to dedicated basic block at top of function, to keep frames ↵Graydon Hoare2011-03-281-56/+141
| | | | finite. Un-comment next size in nbody.rs.
* rustc: Populate the item types table with types of items from external ↵Patrick Walton2011-03-281-10/+42
| | | | crates; remove the redundant typeck.ty_and_params type on the way
* rustc: Remove commented out "encode_tag_variant_info" call that sneaked inPatrick Walton2011-03-281-1/+1
|
* rustc: Don't include a trailing null when writing out metadata; it corrupts ↵Patrick Walton2011-03-281-4/+5
| | | | the EBML
* Fix get_tydesc to alloca enough room for root; remove hack that was ↵Graydon Hoare2011-03-281-8/+3
| | | | attempting to paper over it. Fix from espindola.
* rustc: Add support for calling LLVM intrinsics as native functionsPatrick Walton2011-03-282-8/+35
|
* Add support for break and cont to rustcMarijn Haverbeke2011-03-273-9/+104
| | | | | Testing proper cleanup is hampered by https://github.com/graydon/rust/issues/293
* Twiddle visibility, start exposing only type-mangled names (64 bit truncated ↵Graydon Hoare2011-03-261-17/+21
| | | | sha1 prefixes).
* Start refactoring name-mangling in trans.Graydon Hoare2011-03-261-43/+90
|
* Teach creader and metadata writer how to do ty.ty_type.Graydon Hoare2011-03-261-1/+11
|
* Add get_extern_const, factor get_extern into get_extern_fn and ↵Graydon Hoare2011-03-251-6/+23
| | | | get_simple_extern_fn.
* Trans nomenclature tidy-up: upcall vs. native vs. extern.Graydon Hoare2011-03-251-35/+54
|
* Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare2011-03-255-5/+5
|
* Sketch of wiring typeck up to creader.Graydon Hoare2011-03-251-30/+55
|
* Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare2011-03-255-5/+5
| | | | | | build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
* Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare2011-03-255-5/+5
| | | | off src root.
* rustc: Store cached crate metadata in the sessionPatrick Walton2011-03-252-14/+11
|
* Implement local declarations with receive. Un-XFAIL decl-with-recv.rs.Brian Anderson2011-03-253-13/+37
|
* Refactor ast.local to make room for initialization via recvBrian Anderson2011-03-253-11/+14
|
* rustc: Create a crate metadata cachePatrick Walton2011-03-251-5/+1
|
* Start hooking resolve into creater.Graydon Hoare2011-03-241-5/+23
|
* rustc: Emit a better error message when a type is used where a value was ↵Patrick Walton2011-03-241-0/+5
| | | | expected
* Revert "Change the type of the second argument of upcalls to be a %task*.", ↵Graydon Hoare2011-03-231-13/+13
| | | | | | breaks win32 build. This reverts commit dcf122ede03af71d8a1d892a077a9e2435b64ef3.
* Support for 'float' in type signatures.Lindsey Kuper2011-03-233-1/+10
|
* rustc: Write out crate metadataPatrick Walton2011-03-232-6/+293
|
* Further support for floating-point. Literals with exponents workTim Chevalier2011-03-222-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).
* Change the type of the second argument of upcalls to be a %task*.Rafael Ávila de Espíndola2011-03-221-13/+13
|
* Support for shorter error messages that are aware of objects' cnames.Lindsey Kuper2011-03-222-8/+26
|
* Revert "Remove usages of case(_) { fail; } since the compiler does this ↵Patrick Walton2011-03-222-0/+9
| | | | | | automatically". When we have exhaustiveness checking, "case(_) { fail; }" will be useful to silence warnings. This reverts commit 92a716d862d92d3cc52a400457d2c3900d0c57a2.
* Remove usages of case(_) { fail; } since the compiler does this automaticallyBrian Anderson2011-03-222-9/+0
|
* Add a cleanup to trans_send. Express further confusion about cleanups in ↵Brian Anderson2011-03-221-2/+3
| | | | trans_recv
* Remove a todo from trans_chan that doesn't appear necessaryBrian Anderson2011-03-221-2/+0
|
* Generalize send/recv to work for more typesBrian Anderson2011-03-221-15/+19
|
* Fix trans_recvBrian Anderson2011-03-221-4/+11
|
* Implement trans_send and a broken trans_recvBrian Anderson2011-03-221-4/+42
|
* Add codegen for ports and chansBrian Anderson2011-03-222-0/+120
|
* Make floating-point operations work (neg, add, sub, mul, div, rem,Tim Chevalier2011-03-212-4/+51
| | | | and comparison ops.)
* Started adding support for floating-point type, floating-point literals, and ↵Tim Chevalier2011-03-213-5/+33
| | | | logging of floats. Other operations on float probably don't work yet.
* Every upcall needs a task pointer to find the C stack. It is just that whenRafael Ávila de Espíndola2011-03-211-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.
* Make the wrapper function of native functions private.Rafael Ávila de Espíndola2011-03-211-0/+2
|
* The T_taskptr is already included in the n_args, don't add it twice.Rafael Ávila de Espíndola2011-03-211-5/+3
|