aboutsummaryrefslogtreecommitdiff
path: root/src/comp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Move calls to PtrToInt out of trans_upcall2.Rafael Ávila de Espíndola2011-03-211-3/+5
|
* Modify native_item_fn to handle trailing linkage names that differ from the ↵Graydon Hoare2011-03-208-18/+33
| | | | item name (used in win32 build of std.dll)
* rustc: Internalize glue. Cuts libstd size by 8% or so.Patrick Walton2011-03-201-1/+3
|
* rustc: Only declare each native function once. std.rc now links.Patrick Walton2011-03-191-1/+15
|
* rustc: Use the right block context to generate unary operands. std.rc ↵Patrick Walton2011-03-191-3/+3
| | | | compiles now. For realz.
* rustc: Allow arguments to be captured as upvars. std.rc compiles now, except ↵Patrick Walton2011-03-191-3/+15
| | | | for the lack of a main fn.
* rustc: Do argument casts before loading aggregates, not afterPatrick Walton2011-03-191-5/+16
|
* rustc: Implement int-to-native castsPatrick Walton2011-03-181-0/+3
|
* rustc: Make trans_path() generic-safe wrt nullary tagsPatrick Walton2011-03-181-1/+8
|
* rustc: Make iter_structural_ty_full() generic-safe wrt tagsPatrick Walton2011-03-181-28/+10
|
* rustc: Do pointer casts when casting native typesPatrick Walton2011-03-181-1/+3
|
* rustc: Fix inference for auto slots (forgot to stage changes before)Patrick Walton2011-03-181-7/+6
|
* rustc: Don't always build a constant multiply instruction when translating ↵Patrick Walton2011-03-181-2/+2
| | | | literal vectors; the size of the referent isn't always constant
* rustc: Move type_of() behind the check for dynamic size in trans_vec()Patrick Walton2011-03-181-1/+1
|
* rustc: Create global variable constants during the collection phasePatrick Walton2011-03-181-14/+13
|
* rustc: Make iter_sequence() work with generic vectorsPatrick Walton2011-03-181-3/+16
|
* rustc: Box the tuples returned by hashmap.items() for now since we don't ↵Patrick Walton2011-03-181-1/+1
| | | | have alias iterators yet
* rustc: Get type params from the item when translating native itemsPatrick Walton2011-03-181-9/+13
|
* rustc: When encountering "mutable" as a tycon, parse it, drop it on the ↵Patrick Walton2011-03-182-0/+17
| | | | floor, and emit a warning
* rustc: Unify over alt expressionsPatrick Walton2011-03-181-0/+14
|
* rustc: Add a span_unimpl() for debuggingPatrick Walton2011-03-182-1/+11
|
* rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.Patrick Walton2011-03-184-25/+69
|
* rustc: Switch mutability from being a type constructor to a field annotationPatrick Walton2011-03-177-280/+327
|
* rustc: Typo: mutabliity -> mutabilityPatrick Walton2011-03-171-3/+3
|
* rustc: Correctly report mutability when stringifying typesPatrick Walton2011-03-171-24/+24
|
* rustc: Consider native types to be scalarPatrick Walton2011-03-171-0/+1
|
* rustc: Sort object methods when parsing textual types in the ASTPatrick Walton2011-03-172-9/+11
|
* rustc: Don't go over inner functions' locals during the writeback phase of ↵Patrick Walton2011-03-171-5/+22
| | | | typechecking
* Fixed version of my previous patch to rename the upcall functions. This time ↵Rafael Ávila de Espíndola2011-03-162-7/+6
| | | | also update the inline assembly.
* Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare2011-03-1613-141/+138
| | | | Tweak std lib vec fns in process.
* Revert 6fdb81fa17b3c7147a69edc5217c9f93ff485410, it is causing failures inRafael Ávila de Espíndola2011-03-162-21/+3
| | | | the bots.
* Update comment to reflect the decision to avoid cycles.Rafael Ávila de Espíndola2011-03-161-2/+2
|
* rustc: Remove the memory-managed interface to LLVM memory buffers; passing ↵Patrick Walton2011-03-152-18/+0
| | | | them around transfers ownership
* rustc: Open "use"d crates with the LLVM object file readerPatrick Walton2011-03-152-3/+27
|
* rustc: Add an annotation for the crate definition to view_item_usePatrick Walton2011-03-157-20/+50
|
* Revert "Change the numbering of upcall functions. upcall_0 now calls a ↵Patrick Walton2011-03-151-3/+4
| | | | | | function" due to tinderbox failure on win32 This reverts commit bd9dd5ed1ab4565141c0c08b4cf2245e451a3eb1.
* rustc: Add a stub crate reader module for "use" directivesPatrick Walton2011-03-154-3/+51
|
* rustc: Typo: "unput" -> "input"Patrick Walton2011-03-151-1/+1
|
* rustc: Add support for LLVM memory buffer creation via a wrapper functionPatrick Walton2011-03-151-5/+17
|
* Change the numbering of upcall functions. upcall_0 now calls a functionRafael Ávila de Espíndola2011-03-151-4/+3
| | | | | with no arguments. This is still preparation for calling functions that don't take a rust task argument.
* Append 'svn' to version in dll name, hopefully to bring win32 up again.Graydon Hoare2011-03-151-1/+1
|