about summary refs log tree commit diff
path: root/src/comp/middle/shape.rs
AgeCommit message (Collapse)AuthorLines
2011-12-16extend with ty_send_type and ty_opaque_closureNiko Matsakis-1/+1
2011-12-15rustc: Box the vectors returned from ty::tag_variantsBrian Anderson-11/+11
2011-12-15massive refactor of how closures workNiko Matsakis-13/+10
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-2/+2
2011-12-07Change literal representation to not truncateMarijn Haverbeke-66/+16
Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252
2011-11-29fix bug in shape concerning size of tag variantNiko Matsakis-2/+7
2011-11-21rustc: Remove abi from ast::native_modHaitao Li-1/+1
2011-11-16fix bug in shape where s_int/s_uint were not customized to platformNiko Matsakis-8/+25
2011-11-10Cleanup unused importsHaitao Li-5/+3
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-3/+3
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile
2011-10-12continue to annotate trans functions as unsafe where neccessaryNiko Matsakis-3/+3
2011-09-22rustc: Write raw type parameters instead of linearized type parameters in ↵Patrick Walton-21/+29
object body shapes
2011-09-22Convert ty::ty_uniq to contain a mutable typeBrian Anderson-2/+2
Issue #409
2011-09-13Add missing cases for machine floats in shape.rsMarijn Haverbeke-3/+2
2011-09-12Factor imports mindlessly.Graydon Hoare-20/+7
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-5/+13
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-19/+29
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Rename ty_istr to ty_str. Issue #855Brian Anderson-1/+1
2011-09-02Reformat. Issue #855Brian Anderson-20/+32
2011-09-02Add a constraint to trans::type_ofTim Chevalier-0/+9
trans::type_of now has a constraint saying that its type argument is statically sized. This eliminates the "impossible happened" case in type_of. Yay! I note that this change decreased translation time for stage2/rustc from 16.1 s to 14.0 s. I also think many of the remaining checks could be eliminated with some mildly clever use of constrained types and further preconditions. Future work!
2011-09-02rustc: Make the shape-emitting code aware of linearized type parametersPatrick Walton-15/+43
2011-09-02Rename ivecs to vecs in the compilerMarijn Haverbeke-3/+3
2011-09-02Remove remaining evec support from transMarijn Haverbeke-1/+1
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-3/+0
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-3/+3
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-30rt: Fix logging of type-parametric resourcesPatrick Walton-5/+1
2011-08-29Implement non-internal ivecsMarijn Haverbeke-10/+0
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.
2011-08-27Convert the rest of rustc::middle to istrs. Issue #855Brian Anderson-4/+4
2011-08-27Convert middle::trans_common to istrs. Issue #855Brian Anderson-1/+1
2011-08-27Convert rustc::lib::llvm to istr::sbufs. Issue #855Brian Anderson-6/+7
2011-08-22Encode the istr shape correctly. Issue #855Brian Anderson-2/+7
2011-08-22Move functions from syntax::ast to syntax::ast_utilBrian Anderson-1/+1
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
2011-08-20rustc: Introduce ABI versioning so we can change value representations ↵Patrick Walton-6/+11
without breaking the compiler
2011-08-20ReformatBrian Anderson-193/+206
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18Change ast::ty_ivec, ty::ty_ivec to ty_vecBrian Anderson-1/+1
2011-08-18Remove ast::ty_vecBrian Anderson-5/+0
2011-08-18Remove or _-prefix all unused function argumentsMarijn Haverbeke-3/+3
This should make the compilation process a bit less noisy.
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-2/+2
2011-08-16Removing port, chan and task shapes.Eric Holk-3/+0
2011-08-16Removing tasks, ports and chans from the compiler.Eric Holk-7/+0
2011-08-16Rename std::ivec to std::vecBrian Anderson-23/+23
2011-08-15Make spans into stacks (to store expansion backtraces).Paul Stansifer-7/+5
2011-08-15Tuple fields are immutableMarijn Haverbeke-2/+2
2011-08-15Tuple types back, not constructable yetMarijn Haverbeke-0/+6
2011-08-11rustc: Associate type descriptors with allocas as metadataPatrick Walton-3/+3
2011-08-10rustc: Add unique pointers to the set of types we supportPatrick Walton-0/+5
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-9/+9
2011-08-08rustc: Emit the shape of "float" as f64, not f32Patrick Walton-1/+1
2011-08-04rustc: Generate shapesPatrick Walton-0/+538