| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Remove usages of case(_) { fail; } since the compiler does this automatically | Brian Anderson | 2011-03-22 | 1 | -3/+0 | |
| | | ||||||
| * | Add a cleanup to trans_send. Express further confusion about cleanups in ↵ | Brian Anderson | 2011-03-22 | 1 | -2/+3 | |
| | | | | | trans_recv | |||||
| * | Remove a todo from trans_chan that doesn't appear necessary | Brian Anderson | 2011-03-22 | 1 | -2/+0 | |
| | | ||||||
| * | Generalize send/recv to work for more types | Brian Anderson | 2011-03-22 | 1 | -15/+19 | |
| | | ||||||
| * | Fix trans_recv | Brian Anderson | 2011-03-22 | 1 | -4/+11 | |
| | | ||||||
| * | Implement trans_send and a broken trans_recv | Brian Anderson | 2011-03-22 | 1 | -4/+42 | |
| | | ||||||
| * | Add codegen for ports and chans | Brian Anderson | 2011-03-22 | 1 | -0/+114 | |
| | | ||||||
| * | Make floating-point operations work (neg, add, sub, mul, div, rem, | Tim Chevalier | 2011-03-21 | 1 | -4/+46 | |
| | | | | | and comparison ops.) | |||||
| * | Started adding support for floating-point type, floating-point literals, and ↵ | Tim Chevalier | 2011-03-21 | 1 | -5/+29 | |
| | | | | | 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 when | Rafael Ávila de Espíndola | 2011-03-21 | 1 | -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índola | 2011-03-21 | 1 | -0/+2 | |
| | | ||||||
| * | The T_taskptr is already included in the n_args, don't add it twice. | Rafael Ávila de Espíndola | 2011-03-21 | 1 | -5/+3 | |
| | | ||||||
| * | Make lltaskptr a regular argument element in args in calls to trans_upcall2. | Rafael Ávila de Espíndola | 2011-03-21 | 1 | -8/+8 | |
| | | ||||||
| * | Move calls to PtrToInt out of trans_upcall2. | Rafael Ávila de Espíndola | 2011-03-21 | 1 | -3/+5 | |
| | | ||||||
| * | Modify native_item_fn to handle trailing linkage names that differ from the ↵ | Graydon Hoare | 2011-03-20 | 1 | -2/+2 | |
| | | | | | item name (used in win32 build of std.dll) | |||||
| * | rustc: Internalize glue. Cuts libstd size by 8% or so. | Patrick Walton | 2011-03-20 | 1 | -1/+3 | |
| | | ||||||
| * | rustc: Only declare each native function once. std.rc now links. | Patrick Walton | 2011-03-19 | 1 | -1/+15 | |
| | | ||||||
| * | rustc: Use the right block context to generate unary operands. std.rc ↵ | Patrick Walton | 2011-03-19 | 1 | -3/+3 | |
| | | | | | compiles now. For realz. | |||||
| * | rustc: Allow arguments to be captured as upvars. std.rc compiles now, except ↵ | Patrick Walton | 2011-03-19 | 1 | -3/+15 | |
| | | | | | for the lack of a main fn. | |||||
| * | rustc: Do argument casts before loading aggregates, not after | Patrick Walton | 2011-03-19 | 1 | -5/+16 | |
| | | ||||||
| * | rustc: Implement int-to-native casts | Patrick Walton | 2011-03-18 | 1 | -0/+3 | |
| | | ||||||
| * | rustc: Make trans_path() generic-safe wrt nullary tags | Patrick Walton | 2011-03-18 | 1 | -1/+8 | |
| | | ||||||
| * | rustc: Make iter_structural_ty_full() generic-safe wrt tags | Patrick Walton | 2011-03-18 | 1 | -28/+10 | |
| | | ||||||
| * | rustc: Do pointer casts when casting native types | Patrick Walton | 2011-03-18 | 1 | -1/+3 | |
| | | ||||||
| * | rustc: Don't always build a constant multiply instruction when translating ↵ | Patrick Walton | 2011-03-18 | 1 | -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 Walton | 2011-03-18 | 1 | -1/+1 | |
| | | ||||||
| * | rustc: Create global variable constants during the collection phase | Patrick Walton | 2011-03-18 | 1 | -14/+13 | |
| | | ||||||
| * | rustc: Make iter_sequence() work with generic vectors | Patrick Walton | 2011-03-18 | 1 | -3/+16 | |
| | | ||||||
| * | rustc: Box the tuples returned by hashmap.items() for now since we don't ↵ | Patrick Walton | 2011-03-18 | 1 | -1/+1 | |
| | | | | | have alias iterators yet | |||||
| * | rustc: Get type params from the item when translating native items | Patrick Walton | 2011-03-18 | 1 | -9/+13 | |
| | | ||||||
| * | rustc: Switch mutability from being a type constructor to a field annotation | Patrick Walton | 2011-03-17 | 1 | -56/+57 | |
| | | ||||||
| * | Fixed version of my previous patch to rename the upcall functions. This time ↵ | Rafael Ávila de Espíndola | 2011-03-16 | 1 | -4/+3 | |
| | | | | | also update the inline assembly. | |||||
| * | Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵ | Graydon Hoare | 2011-03-16 | 1 | -56/+64 | |
| | | | | | Tweak std lib vec fns in process. | |||||
| * | Update comment to reflect the decision to avoid cycles. | Rafael Ávila de Espíndola | 2011-03-16 | 1 | -2/+2 | |
| | | ||||||
| * | Revert "Change the numbering of upcall functions. upcall_0 now calls a ↵ | Patrick Walton | 2011-03-15 | 1 | -3/+4 | |
| | | | | | | | function" due to tinderbox failure on win32 This reverts commit bd9dd5ed1ab4565141c0c08b4cf2245e451a3eb1. | |||||
| * | Change the numbering of upcall functions. upcall_0 now calls a function | Rafael Ávila de Espíndola | 2011-03-15 | 1 | -4/+3 | |
| | | | | | | with no arguments. This is still preparation for calling functions that don't take a rust task argument. | |||||
| * | Merge remote branch 'brson/recursive-elseif' | Graydon Hoare | 2011-03-14 | 1 | -31/+9 | |
| |\ | ||||||
| | * | Merge branch 'master' into recursive-elseif | Brian Anderson | 2011-03-13 | 1 | -264/+725 | |
| | |\ | | | | | | | | | | | | | | | | Conflicts: src/comp/middle/typeck.rs | |||||
| | * | | Remove extra blocks from the translation of expr_block | Brian Anderson | 2011-03-13 | 1 | -20/+2 | |
| | | | | | | | | | | | | | Doesn't seem to break anything and allows trans_if to be streamlined | |||||
| | * | | Merge branch 'master' into recursive-elseif | Brian Anderson | 2011-03-07 | 1 | -957/+2374 | |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Makefile src/comp/front/ast.rs src/comp/front/parser.rs src/comp/middle/fold.rs src/comp/middle/trans.rs | |||||
| | * | | | Allow the else part of an expr_if to be either expr_if or expr_block | Brian Anderson | 2011-02-01 | 1 | -3/+14 | |
| | | | | | ||||||
| * | | | | Split trans' collection in two passes. This allows us to handle tags | Rafael Ávila de Espíndola | 2011-03-14 | 1 | -16/+32 | |
| | |_|/ |/| | | | | | | | | | | | | | | that are defined after use in a block. This is really inefficient, but for now it lets us compile the included test. | |||||
| * | | | rustc: Add some stub metadata to each crate | Patrick Walton | 2011-03-11 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | rustc: Load structural loop variables in iterators. Un-XFAIL ↵ | Patrick Walton | 2011-03-11 | 1 | -1/+10 | |
| | | | | | | | | | | | | | foreach-put-structured.rs. | |||||
| * | | | rustc: Populate the upvar environment when calling iterator bodies. Un-XFAIL ↵ | Patrick Walton | 2011-03-11 | 1 | -5/+71 | |
| | | | | | | | | | | | | | test/run-pass/iter-range.rs. | |||||
| * | | | rustc: Resolve upvars as necessary | Patrick Walton | 2011-03-11 | 1 | -2/+9 | |
| | | | | ||||||
| * | | | Move the glue code to a .o file. This reduces how much asm we print | Graydon Hoare | 2011-03-10 | 1 | -58/+92 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | in each "translation unit". Part of it is not repetitive and should probably be moved to a .ll file, but for now we autogen all of it. (Modified somewhat by graydon while integrating). | |||||
| * | | | rustc: Build up a list of upvars inside foreach bodies | Patrick Walton | 2011-03-10 | 1 | -5/+73 | |
| | | | | ||||||
| * | | | rustc: Use the generic info from the item in bind thunks just as calls do. ↵ | Patrick Walton | 2011-03-10 | 1 | -0/+2 | |
| | | | | | | | | | | | | | Un-XFAIL drop-parametric-closure-with-bound-box.rs. | |||||
| * | | | rustc: Increment the counter in trans_bind_thunk() | Patrick Walton | 2011-03-10 | 1 | -1/+1 | |
| | | | | ||||||