about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-06-15rustc: Implement interior vector concatenationPatrick Walton-9/+174
2011-06-15Merge branch 'master' of github.com:graydon/rust into fastcallEric Holk-695/+784
2011-06-15rustc: Remove unused variable from check_assignmentBrian Anderson-3/+2
2011-06-15rustc: Support outer attributes on items that are defined as statementsBrian Anderson-9/+61
Issue #487
2011-06-15Refactor data structures representing constraints (again...)Tim Chevalier-231/+263
I added a "resolved" version of the ast::constr type -- ty::constr_def -- that has a def_id field instead of an ann_field. This is more consistent with other types and eliminates some checking. Incidentally, I removed the def_map argument to the top-level function in middle::alias, since the ty::ctxt already has a def_map field.
2011-06-15rustc: Move ivec stuff to an ivec module in transPatrick Walton-199/+284
2011-06-15rustc: Change the default interior vector length to 4 per sciencePatrick Walton-1/+1
2011-06-15Add support for producing shared libraries directly in the rust driver.Rafael Ávila de Espíndola-22/+19
2011-06-15Implement checking of alias safety in tail calls.Marijn Haverbeke-30/+75
2011-06-15Fix unsafe uses of aliases in tail callsMarijn Haverbeke-9/+9
2011-06-15Small simplification in parser.rs' crate parsingMarijn Haverbeke-7/+1
2011-06-15Added issue # to FIXME.Lindsey Kuper-1/+1
2011-06-15Simple anonymous objects get through translation.Lindsey Kuper-182/+67
2011-06-15Just some typo fixes.Lindsey Kuper-3/+3
2011-06-15Step 1 of moving task startup to always be cdecl.Eric Holk-1/+2
2011-06-15Fix a bunch of compile-command lines to use RBUILDGraydon Hoare-1/+1
2011-06-15Attempt to put out windows tinderbox.Graydon Hoare-1/+5
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-11020/+7849
2011-06-15Print mutability of obj fields.Graydon Hoare-2/+7
2011-06-15Fix pp bug on native modules.Graydon Hoare-1/+3
2011-06-15rustc: Pretty-print outer attributes of itemsBrian Anderson-15/+47
Issue #487
2011-06-15rustc: Make room in remaining AST item nodes for attributesBrian Anderson-150/+157
Issue #487
2011-06-15rustc: Introduce an attribute type to the ASTBrian 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-15rustc: Parse module attributesBrian Anderson-6/+21
Issue #487
2011-06-15rustc: Make room in item_mod for metadataBrian Anderson-24/+24
Issue #487
2011-06-15rustc: Modernize front::evalBrian Anderson-37/+26
2011-06-15Implement checking against assignments to immutable obj fieldsMarijn Haverbeke-34/+59
2011-06-15Stop dropping object field mutability on the floorMarijn Haverbeke-12/+6
2011-06-15Extend alias analysis to check assignmentsMarijn 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-15Fix assignments to immutable fields throughout the codeMarijn Haverbeke-32/+32
2011-06-15Refactor expr_root in alias.rsMarijn 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-14Merge pull request #490 from msullivan/fix_vec_appendPatrick Walton-47/+17
Move the implementation of vec_append from llvm assembly to a regular upcall
2011-06-14rustc: Implement on-heap resizing for interior vectorsPatrick Walton-24/+12
2011-06-14Make tydesc glue functions use cdecl.Michael Sullivan-7/+7
2011-06-14Remove vec_append_glue from the compiler.Michael Sullivan-39/+4
2011-06-14rustc: Free heapified interior vectorsPatrick Walton-0/+30
2011-06-14rustc: Fix LLVM type error that occurred when translating large unique ↵Patrick Walton-1/+1
vector literals
2011-06-14Implement upcall_vec_append and use it for vector append.Michael Sullivan-1/+6
2011-06-14Make the typechecker check that dynamically sized arguments are passed by aliasTim Chevalier-1/+11
Before, this would cause an assertion failure in trans.
2011-06-14Apply the makefile changes again, this time fixin the driver to not produce aRafael Ávila de Espíndola-5/+3
rustc.exe.exe.
2011-06-14Improve error message for a failed assert or checkTim Chevalier-4/+4
2011-06-14rustc: Do a dynamic alloca for generic interior vectors; fix data pointer ↵Patrick Walton-14/+16
calculation when spilling vectors
2011-06-14Modernize some code in parser.rsMarijn Haverbeke-132/+82
No more explicit type params or working around rustboot bugs
2011-06-14Don't error when trans_lval is called on a non-lvalMarijn Haverbeke-3/+5
This allows directly calling a function expression, or the result of an alt/if/block expression.
2011-06-14Print parens on unops when necessary. 'make reformat' output now builds to ↵Graydon Hoare-1/+2
stage3.
2011-06-14Fix bug in detecting trailing comments when at beginning-of-file.Graydon Hoare-1/+3
2011-06-14Remove a bunch of primitive-compiler-workarounds from pprust.rsMarijn Haverbeke-41/+23
2011-06-14Implement function expressions/anonymous functionsMarijn Haverbeke-30/+110
Looks like 'fn(..arg..) -> ret {body;}. They don't support type parameters or upvars yet.
2011-06-14Remove 'peeking_at_item' from parserMarijn Haverbeke-52/+41
parse_item now returns a value to indicate it didn't find an item
2011-06-13rustc: Implement simple interior vector append translationPatrick Walton-35/+260