summary refs log tree commit diff
path: root/src/rustc/middle/trans
AgeCommit message (Collapse)AuthorLines
2012-07-10Fix take glue for slices.Michael Sullivan-0/+3
2012-07-10Don't fail when emitting free glue for fixed and region evecs.Michael Sullivan-3/+0
2012-07-10Mop up merge collision.Graydon Hoare-8/+6
2012-07-10Modify reflect interface to pass tydescs back to client, stop on false return.Graydon Hoare-77/+104
These changes are required to prune type-recursion and admit early returns in the visitor code. Changes to visitors in subsequent csets.
2012-07-10Remove the empty tuple of tydescs from closures. Closes #2531.Michael Sullivan-8/+5
2012-07-10Get rid of a lot of bind related cruft as part of Issue #2189.Michael Sullivan-260/+17
2012-07-10Clean up the tydesc handling code in trans.Michael Sullivan-119/+80
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-2/+2
2012-07-09Fix metadata serialization of foreign functions. Properly take the value of ↵Josh Matthews-5/+7
foreign functions from other crates to fix #1840.
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare-2/+2
2012-07-06Rip out a bunch more append code from trans.Michael Sullivan-90/+0
2012-07-06Remove tvec::trans_addEric Holk-45/+0
2012-07-06Plumbing and parsing for item-position macros.Eric Holk-0/+1
2012-07-05Consider slices to be a structural type. Closes #2748.Michael Sullivan-2/+2
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-39/+39
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-8/+8
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Fix trans typo noticed by fuzzer. Close #2148.Graydon Hoare-1/+1
2012-07-03Revert "Remove rule requiring non-nil block-style statements to be ↵Brian Anderson-1/+1
semi-terminated" This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
2012-07-03Remove rule requiring non-nil block-style statements to be semi-terminatedBrian Anderson-1/+1
This is a subtle rule that no longer seems to be required.
2012-07-03Change crust -> extern.Graydon Hoare-1/+1
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-15/+15
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-31/+51
2012-07-01Convert to new closure syntaxBrian Anderson-363/+360
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-98/+99
2012-06-30Check in changes I forgot to check inTim Chevalier-7/+7
2012-06-30Descend into ty_boxes in type_useTim Chevalier-25/+46
type_use was failing to look into ty_boxes, which caused monomorphize to coalesce instances that shouldn't have been coalesced (because they should actually use different type glue) Closes #2734
2012-06-29Adding a bunch of atomic intrinsics.Eric Holk-3/+80
Adding a test cases for the atomic intrinsics.
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-600/+600
2012-06-28Replaced almost all vector+ in rustc (#2719)Eric Holk-16/+19
Didn't update shape because the changes were causing segfaults.
2012-06-28replace more vector + (issue #2719)Eric Holk-57/+88
2012-06-27rustc: Don't give variables the same name as enums in transPatrick Walton-47/+47
Conflicts: src/rustc/middle/trans/alt.rs src/rustc/middle/trans/base.rs src/rustc/middle/trans/closure.rs src/rustc/middle/trans/impl.rs src/rustc/middle/trans/uniq.rs
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-77/+88
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-26Properly cleanup slice literals. Closes #2705.Michael Sullivan-0/+7
2012-06-26Some box cleanup that doesn't break the build.Michael Sullivan-52/+42
2012-06-26rustc: Make trans no longer insist that there be exactly one impl scope per ↵Patrick Walton-10/+5
module Conflicts: src/rustc/middle/trans/base.rs
2012-06-26Revert "Clean up a bunch of box related code."Michael Sullivan-27/+38
This reverts commit bacf9e9887872a40d16798813aa66b6916cc6a4e.
2012-06-26Be a little more clever about calculating sizes for class typesTim Chevalier-11/+17
We could try to calculate the size of a partially-converted class type, and run into an LLVM error because we were trying to calculate the size of a named struct whose fields hadn't yet be filled in. The issue can be dodged by extending simplify_type to convert classes to isomorphic structural records, just for the purposes of size calculations. (for real this time) Closes #2718
2012-06-26Clean up a bunch of box related code.Michael Sullivan-38/+27
2012-06-26Getting rid of lots more vector +=. (issue #2719)Eric Holk-71/+75
2012-06-25Comments only: fix some comments that got spurious /~sMichael Sullivan-3/+3
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-630/+656
2012-06-25MergeTim Chevalier-1/+0
2012-06-25Finish compare glue for classesTim Chevalier-2/+3
This tests == and !=. I don't know what <, >, etc. should do. Closes #2601
2012-06-24Remove resourcesTim Chevalier-226/+44
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-22Use must_have_lock instead of private functions. (Issue #2700)Eric Holk-1/+0
I hereby declare that messages sent from the same source arrive in order (Issue #2605) Removing FIXME, owned is the correct type here. (Issue #2704) Remove outdated FIXME (Issue #2703) Updating test for spawning native functions (Issue #2602) Removing bogus FIXME (Issue #2599)
2012-06-22Change resources to classes in libstd and rustcTim Chevalier-6/+14
2012-06-21In reachability, traverse all classes that have dtorsTim Chevalier-1/+5
since dtors always have external linkage
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-35/+34
2012-06-21Move vector addition out of trans and into libcore.Eric Holk-2/+5
2012-06-21Generate a temporary for assign_ops. Issue #2581Eric Holk-2/+12