aboutsummaryrefslogtreecommitdiff
path: root/src/comp
Commit message (Collapse)AuthorAgeFilesLines
* Start refactoring name-mangling in trans.Graydon Hoare2011-03-261-43/+90
|
* Add visibility enum values to lib.llvm.Graydon Hoare2011-03-261-0/+3
|
* Teach creader and metadata writer how to do ty.ty_type.Graydon Hoare2011-03-262-1/+12
|
* rustc: Add a function to look up external item info in the item info tablePatrick Walton2011-03-251-4/+52
|
* Janitorial: move llvmext back to llvm module, as they're the same thing now.Graydon Hoare2011-03-252-15/+20
|
* rustc: Parse definition IDs from crates; add a function to parse unsigned ↵Patrick Walton2011-03-251-5/+21
| | | | ints to the standard library
* Add get_extern_const, factor get_extern into get_extern_fn and ↵Graydon Hoare2011-03-251-6/+23
| | | | get_simple_extern_fn.
* rustc: Look up names in "use"d cratesPatrick Walton2011-03-252-5/+120
|
* Trans nomenclature tidy-up: upcall vs. native vs. extern.Graydon Hoare2011-03-253-56/+76
|
* Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare2011-03-2518-18/+18
|
* Sketch of wiring typeck up to creader.Graydon Hoare2011-03-254-32/+70
|
* Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare2011-03-2518-18/+18
| | | | | | 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-2518-18/+18
| | | | off src root.
* Parse FP literals without coercing to int. This allows parsing 64-bitTim Chevalier2011-03-251-36/+59
| | | | | | floats. However, if someone writes a literal that can't be represented precisely in 64 bits, the front-end will accept it while the back-end will (presumably) complain.
* rustc: Store cached crate metadata in the sessionPatrick Walton2011-03-256-35/+37
|
* Update pretty printer for ports, channels, send and receiveBrian Anderson2011-03-252-1/+35
|
* Implement local declarations with receive. Un-XFAIL decl-with-recv.rs.Brian Anderson2011-03-254-19/+51
|
* Refactor ast.local to make room for initialization via recvBrian Anderson2011-03-256-17/+29
|
* rustc: Create a crate metadata cachePatrick Walton2011-03-254-7/+25
|
* make lexer unicode-aware for strings and char literalsMarijn Haverbeke2011-03-253-8/+7
|
* Start making the standard-lib utf-8 awareMarijn Haverbeke2011-03-251-3/+3
| | | | | | Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams.
* fix pretty-printerMarijn Haverbeke2011-03-251-6/+10
| | | | | | A change in 54587bdccb7b6771cfc704a30fc0ef2c65824a15 (the vec appending overhaul) had broken it. (Apparently modifying a vec while iterating over it can corrupt memory.)
* Start hooking resolve into creater.Graydon Hoare2011-03-242-5/+38
|
* rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵Patrick Walton2011-03-243-8/+37
| | | | XFAIL use-import-export.rs in rustc
* Teach creader about reading ty_float, and trim trailing whitespace.Graydon Hoare2011-03-241-1/+2
|
* rustc: Emit a better error message when a type is used where a value was ↵Patrick Walton2011-03-241-0/+5
| | | | expected
* rustc: Switch over to using rustllvm.dll exclusively, ending the ↵Patrick Walton2011-03-232-13/+7
| | | | "Franken-LLVM" problem
* 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-234-1/+11
|
* rustc: Write out crate metadataPatrick Walton2011-03-232-6/+293
|
* Further support for floating-point. Literals with exponents workTim Chevalier2011-03-226-22/+117
| | | | | | 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-218-18/+80
| | | | 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-213-46/+66
| | | | | | | 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
|
* rustc: Remove uses of Unicode in type deserialization and fix vector-push ↵Patrick Walton2011-03-211-37/+40
| | | | operations
* rustc: Update type serialization and deserialization for the "mutable?" changePatrick Walton2011-03-212-10/+30
|
* rustc: Merge in type serialization and deserializationMarijn Haverbeke2011-03-212-0/+277
| | | | Signed-off-by: Patrick Walton <[email protected]>
* Make lltaskptr a regular argument element in args in calls to trans_upcall2.Rafael Ávila de Espíndola2011-03-211-8/+8
|