about summary refs log tree commit diff
path: root/src/rustc/middle
AgeCommit message (Collapse)AuthorLines
2012-06-13Some cleanup in tvec.Michael Sullivan-9/+6
2012-06-12Handle class destructors correctly in metadataTim Chevalier-3/+49
This allows destructors to be inlined, which is necessary since classes can have both ty params and destructors.
2012-06-12Simplify a bunch of trans functions to not need the rust type. Remove some ↵Michael Sullivan-66/+33
PointerCasts.
2012-06-12Make vectors contain the right type descriptor. Closes #2536.Michael Sullivan-17/+12
2012-06-12Introduce an unboxed_vec typeMichael Sullivan-10/+30
2012-06-12Introduce a SHAPE_UNBOXED_VEC shape in order to seperate out vector logic.Michael Sullivan-3/+9
2012-06-12Correct typo in commentTim Chevalier-1/+1
2012-06-12Change trans::common::block to be a classTim Chevalier-60/+69
And replace trans::common::block_parent with option<block>. To handle the recursive self-reference in the block_ class, I had to add a newtype-like enum "block" which is equivalent to @block_ -- which due to an interaction with borrowck, resulted in having to change a few functions in trans::base to take their block argument in ++ mode, irritatingly enough (but not that irritatingly, since we're supposed to get rid of modes).
2012-06-12Treat enums with one variant specially in borrowck: #2573Niko Matsakis-33/+85
2012-06-12Reorder things in hash_type_structure to make more sense.Michael Sullivan-10/+10
2012-06-11Change llsize_real to use LLVMSizeOfTypeInBits. Add comments.Graydon Hoare-9/+44
2012-06-11Add a new AST node for unsuffixed integer types.Lindsey Kuper-31/+29
2012-06-11Stop emitting type parameters in shape.rs.Michael Sullivan-16/+9
2012-06-11Clean up tydesc declaration to make it clear what is unused.Michael Sullivan-7/+7
2012-06-11Get rid of a bunch of dead shape code. Closes #2552.Michael Sullivan-1/+0
2012-06-11Don't treat all class fields as mutable, except in transTim Chevalier-7/+28
Closes #2550
2012-06-08remove alias analysis and replace with borrowckNiko Matsakis-911/+4
This reverts commit 7ef825bb607c4e934c92bd0b73ecbc4c24f3286b.
2012-06-08avoid rooting @ptrs that live in immutable, stable memoryNiko Matsakis-30/+50
2012-06-08make ccx/tcx/sess methods on bcx pureNiko Matsakis-3/+3
2012-06-08Update READMEs and comments to reflect "rustsyntax" -> "syntax" changeLindsey Kuper-1/+1
2012-06-08Get rid of little-used logging fns in util::common. Closes #2553.Lindsey Kuper-94/+29
Also got rid of a bunch of commented-out logging statements and generally cleaned up the logging situation, mostly in typestate.
2012-06-08Pass names of fields and variants when reflecting.Graydon Hoare-21/+22
2012-06-08Visit the substructure for classes and enums as well.Graydon Hoare-3/+50
2012-06-08WIP on issue #1425: mostly infrastructure changes.Lindsey Kuper-110/+313
2012-06-08profile LLVM cleanup insnsNiko Matsakis-0/+4
2012-06-08More work on reflect, only missing enum and class substructures.Graydon Hoare-9/+109
2012-06-08Convert reinterpret_cast + forget to 'transmute'Brian Anderson-3/+1
2012-06-07Use #[cfg(unix)] and #[cfg(windows)] everywhereBrian Anderson-6/+2
2012-06-07Revert "remove alias analysis and replace with borrowck"Brian Anderson-8/+912
18s perf regression compiling rustc with opts This reverts commit 7f6ee0ce0df8af4c21b065cb49b95079ae643f77.
2012-06-07Remove a bunch of old "remove after snapshot" code.Michael Sullivan-2/+0
2012-06-07Reorder the arms of sty.Michael Sullivan-1/+2
2012-06-07remove alias analysis and replace with borrowckNiko Matsakis-912/+8
cc #2540
2012-06-07Comments only: annotate remainder of FIXMEs in typestateTim Chevalier-8/+9
2012-06-07Start annotating FIXMEs in typestate; also some minor refactoringTim Chevalier-51/+19
2012-06-07Remove an irrelevant commentTim Chevalier-1/+0
Comment doesn't seem relevant anymore because the block comment at the very beginning of the file says it's a bad idea.
2012-06-07Use c_ulonglong now that it works in FFI, etc...Tim Chevalier-28/+22
Annotate FIXMEs; remove obsolete FIXMEs; remove an unnecessary PointerCast.
2012-06-07Remove obsolete commentTim Chevalier-2/+0
This comment seems to be no longer relevant, since we do have user-defined vector sizes now (and they don't use the T_vec type)
2012-06-07Comments only: annotate FIXMEsTim Chevalier-9/+12
2012-06-07Refactor reflect.rs, begin visiting type substructures.Graydon Hoare-52/+101
2012-06-07Comments only: annotate FIXMEsTim Chevalier-3/+3
2012-06-07Annotate FIXMEs in resolveTim Chevalier-7/+5
And fix one FIXME (use fk_ctor to visit a constructor)
2012-06-06core: Start on a stack walkerBrian Anderson-2/+35
2012-06-06rustc: Add frame_address intrinsicBrian Anderson-10/+55
2012-06-06Remove unused middle::ty::sort_methods function.Graydon Hoare-8/+0
2012-06-06Fix some copy-paste bugs in visit glue, un-xfail reflect-visit-type.Graydon Hoare-21/+24
2012-06-06Handle regions correctly in class ctors and dtorsTim Chevalier-14/+6
Class ctors and dtors were always getting assigned the empty region before, which meant a reference to the "self" region in a ctor argument got resolved to a named region called "self" rather than the class's self region, which led to a rather confusing error message as documented in #2502. Closes #2502
2012-06-06Merge remote-tracking branch 'mozilla/incoming'Niko Matsakis-154/+71
Conflicts: src/rustc/middle/tstate/auxiliary.rs
2012-06-06some (very little) work on commentingNiko Matsakis-1/+9
2012-06-06move tstate to dvecNiko Matsakis-26/+26
2012-06-06move resolve to dvec, remove unnecessary mut annotationsNiko Matsakis-13/+13