| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-06-15 | rustc: Introduce an attribute type to the AST | Brian Anderson | -9/+32 | |
| Right now the only thing that it adds to meta_item is an indication of whether the attribute was declared inside or outside the item, but I expect it will become more useful. Issue #487 | ||||
| 2011-06-15 | rustc: Parse module attributes | Brian Anderson | -6/+21 | |
| Issue #487 | ||||
| 2011-06-15 | rustc: Make room in item_mod for metadata | Brian Anderson | -24/+24 | |
| Issue #487 | ||||
| 2011-06-15 | rustc: Modernize front::eval | Brian Anderson | -37/+26 | |
| 2011-06-15 | Implement checking against assignments to immutable obj fields | Marijn Haverbeke | -34/+59 | |
| 2011-06-15 | Stop dropping object field mutability on the floor | Marijn Haverbeke | -12/+6 | |
| 2011-06-15 | Extend alias analysis to check assignments | Marijn Haverbeke | -2/+23 | |
| This is a somewhat odd place to put these checks, but the data tracked by that pass, and the available functions, make it trivial to do such a check there. | ||||
| 2011-06-15 | Fix assignments to immutable fields throughout the code | Marijn Haverbeke | -32/+32 | |
| 2011-06-15 | Refactor expr_root in alias.rs | Marijn Haverbeke | -73/+71 | |
| It was too clunky and specific before. Now returns a vec of dereference specs instead of a bunch of special-case information. Further accessors extract the information they need from this vec. | ||||
| 2011-06-14 | Merge pull request #490 from msullivan/fix_vec_append | Patrick Walton | -47/+17 | |
| Move the implementation of vec_append from llvm assembly to a regular upcall | ||||
| 2011-06-14 | rustc: Implement on-heap resizing for interior vectors | Patrick Walton | -24/+12 | |
| 2011-06-14 | Make tydesc glue functions use cdecl. | Michael Sullivan | -7/+7 | |
| 2011-06-14 | Remove vec_append_glue from the compiler. | Michael Sullivan | -39/+4 | |
| 2011-06-14 | rustc: Free heapified interior vectors | Patrick Walton | -0/+30 | |
| 2011-06-14 | rustc: Fix LLVM type error that occurred when translating large unique ↵ | Patrick Walton | -1/+1 | |
| vector literals | ||||
| 2011-06-14 | Implement upcall_vec_append and use it for vector append. | Michael Sullivan | -1/+6 | |
| 2011-06-14 | Make the typechecker check that dynamically sized arguments are passed by alias | Tim Chevalier | -1/+11 | |
| Before, this would cause an assertion failure in trans. | ||||
| 2011-06-14 | Apply the makefile changes again, this time fixin the driver to not produce a | Rafael Ávila de Espíndola | -5/+3 | |
| rustc.exe.exe. | ||||
| 2011-06-14 | Improve error message for a failed assert or check | Tim Chevalier | -4/+4 | |
| 2011-06-14 | rustc: Do a dynamic alloca for generic interior vectors; fix data pointer ↵ | Patrick Walton | -14/+16 | |
| calculation when spilling vectors | ||||
| 2011-06-14 | Modernize some code in parser.rs | Marijn Haverbeke | -132/+82 | |
| No more explicit type params or working around rustboot bugs | ||||
| 2011-06-14 | Don't error when trans_lval is called on a non-lval | Marijn Haverbeke | -3/+5 | |
| This allows directly calling a function expression, or the result of an alt/if/block expression. | ||||
| 2011-06-14 | Print parens on unops when necessary. 'make reformat' output now builds to ↵ | Graydon Hoare | -1/+2 | |
| stage3. | ||||
| 2011-06-14 | Fix bug in detecting trailing comments when at beginning-of-file. | Graydon Hoare | -1/+3 | |
| 2011-06-14 | Remove a bunch of primitive-compiler-workarounds from pprust.rs | Marijn Haverbeke | -41/+23 | |
| 2011-06-14 | Implement function expressions/anonymous functions | Marijn Haverbeke | -30/+110 | |
| Looks like 'fn(..arg..) -> ret {body;}. They don't support type parameters or upvars yet. | ||||
| 2011-06-14 | Remove 'peeking_at_item' from parser | Marijn Haverbeke | -52/+41 | |
| parse_item now returns a value to indicate it didn't find an item | ||||
| 2011-06-13 | rustc: Implement simple interior vector append translation | Patrick Walton | -35/+260 | |
| 2011-06-13 | Refactor some typestate-related data structures | Tim Chevalier | -143/+142 | |
| 2011-06-13 | This is the mega-ucontext commit. It replaces the task switching mechanism ↵ | Eric Holk | -12/+5 | |
| with a new one inspired by ucontext. It works under Linux, OS X and Windows, and is Valgrind clean on Linux and OS X (provided the runtime is built with gcc). This commit also moves yield and join to the standard library, as requested in #42. Join is currently a no-op though. | ||||
| 2011-06-13 | rustc: Assignment expressions have nil type. Closes #483 | Brian Anderson | -13/+16 | |
| 2011-06-13 | Change decl to local in expr_for and expr_for_each | Tim Chevalier | -222/+149 | |
| Since the decl in a for or for-each loop must always be a local decl, I changed the AST to express this. Fewer potential match failures and "the impossible happened" error messages = yay! | ||||
| 2011-06-13 | Enough driver support to link an empty program on linux. Will | Rafael Ávila de Espíndola | -5/+16 | |
| try to update the Makefiles to use it. | ||||
| 2011-06-12 | rustc: Preserve more type information for interior vectors at the LLVM ↵ | Patrick Walton | -21/+39 | |
| level, allowing SROA to take place. `log ~[ 2 ].(0)` now optimizes to just `log 2`. | ||||
| 2011-06-11 | rustc: Use in-bounds GEPs for fetching length and data of interior vectors | Patrick Walton | -6/+7 | |
| 2011-06-11 | rustc: Translate interior vector index expressions | Patrick Walton | -8/+57 | |
| 2011-06-11 | rustc: Typecheck vector index expressions for interior vectors | Patrick Walton | -12/+13 | |
| 2011-06-11 | rustc: Bump the default interior vector size up to 64 bytes | Patrick Walton | -1/+1 | |
| 2011-06-11 | rustc: Link with main.o | Patrick Walton | -3/+4 | |
| 2011-06-10 | rustc: Sketch out translation of interior vector literals and take/drop glue | Patrick Walton | -23/+251 | |
| 2011-06-10 | Reject programs with unsatisfied predicate constraints | Tim Chevalier | -200/+309 | |
| Generate appropriate constraints for calls to functions with preconditions, and reject calls where those constraints don't hold true in the prestate. ...by which I mean that it works for one test case :-) | ||||
| 2011-06-10 | More work on typechecking anon objs. | Lindsey Kuper | -11/+20 | |
| 2011-06-10 | Oops, fix logging string specs. Nobody likes writing ↵ | Graydon Hoare | -2/+1 | |
| RUST_LOG=_ZN5rustc5front7creaderE, do they? | ||||
| 2011-06-10 | Implement meta tag matching in creader. Start using it in rustc.rc. Close ↵ | Graydon Hoare | -6/+51 | |
| #459. Close #457. | ||||
| 2011-06-10 | Friendlier error message for break outside a loop | Tim Chevalier | -7/+12 | |
| The typechecker should really check for this, but at least now there's an error message rather than an inexhaustive match failure in trans. | ||||
| 2011-06-10 | Use RHS type when translating assignments | Tim Chevalier | -0/+6 | |
| In code like "auto foo = fail", a type gets inferred for foo depending on how it's used. However, fail still has type _|_ and still should be treated that way: particularly, its value shouldn't be copied. Fixed trans to reflect that. | ||||
| 2011-06-10 | rustc: Add a generic struct_elt() function to trans | Patrick Walton | -4/+10 | |
| 2011-06-10 | rustc: Derive flags for unsafe pointers. Puts out burning tinderbox. | Patrick Walton | -0/+4 | |
| 2011-06-10 | Encode meta tags in the crate and start sketching enhanced logic for ↵ | Graydon Hoare | -36/+147 | |
| resolving crate "use" directives. Now with extra "works on OSX" kludging. | ||||
| 2011-06-10 | rustc: Add some missing cases to ty.rs for interior vectors, and modify the ↵ | Patrick Walton | -1/+46 | |
| pattern match so this is less likely to happen again. Add the LLVM type mapping as well. | ||||
