about summary refs log tree commit diff
path: root/src/comp/metadata/tyencode.rs
AgeCommit message (Collapse)AuthorLines
2011-12-16extend with ty_send_type and ty_opaque_closureNiko Matsakis-0/+2
2011-12-14push changes through to get things compiling, if not running.Niko Matsakis-0/+1
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-2/+3
2011-12-07Change literal representation to not truncateMarijn Haverbeke-10/+18
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-23Rollback return-by-referenceMarijn Haverbeke-5/+0
It's proving too inflexible, so I'm ripping out the extra complexity in the hope that regions will, at some point, provide something similar. Closes #918
2011-11-21rustc: Remove abi from ast::native_modHaitao Li-6/+1
2011-11-18Add a pass-by-copy parameter passing conventionMarijn Haverbeke-1/+2
This is intended to solve the problem of how to pass arguments to constructor functions -- you want to move in rvalues, but not have to explicitly copy stuff that is not an rvalue. The by-copy passing convention will ensure the callee gets its own copy of the value. For rvalues, it'll just pass off the value. For lvalues, it'll make a copy. Issue #1177
2011-11-18Preparation for kind system overhaulMarijn Haverbeke-3/+3
This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-2/+1
2011-11-09rustc: Rename native_abi_c_stack_cdecl to native_abi_cdeclBrian Anderson-1/+1
2011-11-09rustc: Rename native_abi_c_stack_stdcall to native_abi_stdcallBrian Anderson-1/+1
2011-11-09Remove native "x86stdcall" ABIBrian Anderson-1/+0
2011-11-08Remove native "cdecl" ABIBrian Anderson-1/+0
2011-11-07Remove native "llvm" ABIBrian Anderson-1/+0
2011-11-07Remove native "rust" ABIBrian Anderson-1/+0
2011-10-21Drop support for iter, put, and for-eachMarijn Haverbeke-1/+0
Closes #1056
2011-10-20Merge ast::proto_shared and ast::proto_closureBrian Anderson-1/+1
Now they are both just proto_shared and proto_shared takes an argument indicating that it is sugared as 'lambda'
2011-10-20Rename ast::proto_fn to ast::proto_sharedBrian Anderson-1/+1
2011-10-11Use a non-ambiguous character for encoding bare functionsBrian Anderson-1/+1
I was using 'R' and that was already used for records. Issue #1022
2011-10-11Introduce ast::proto_bareBrian Anderson-0/+1
Issue #1022
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-1/+2
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-10-03rustc: Implement C stack stdcallPatrick Walton-0/+1
2011-09-28rustc: Add a new "C stack cdecl" native ABIPatrick Walton-0/+1
2011-09-22Convert ty::ty_uniq to contain a mutable typeBrian Anderson-1/+1
Issue #409
2011-09-15Require the parameter that will be referenced to be notedMarijn Haverbeke-1/+2
Issue #918
2011-09-14Add syntax and representation for return-by-mutably-rooted-refMarijn Haverbeke-0/+4
This will be used in the near future to decide what can safely be done with the returned reference. Issue #918
2011-09-14Make most of the compiler aware of return-by-referenceMarijn Haverbeke-1/+4
tyencode/tydecode still don't know about it. return_ref will be extended to take arguments anyway.
2011-09-14Rename ast::controlflow to ast::ret_styleMarijn Haverbeke-3/+2
It will include information about returning by alias.
2011-09-12Factor imports mindlessly.Graydon Hoare-6/+2
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-10/+10
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-12Make the names of the arg mode tag reflect their (revised) meaningMarijn Haverbeke-6/+3
2011-09-02Rename ty_istr to ty_str. Issue #855Brian Anderson-1/+1
2011-09-02Reformat. Issue #855Brian Anderson-37/+30
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-1/+0
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-1/+1
2011-08-27Convert pretty-printer to istrs. Issue #855Brian Anderson-5/+5
2011-08-27Convert rustc::metadata to istrs. Issue #855Brian Anderson-6/+6
2011-08-27Convert ast::ident to istr. Issue #855Brian Anderson-2/+2
2011-08-27Convert portions of rustc to istrs. Recover a lot of performance.Brian Anderson-6/+6
Issue #855
2011-08-27Convert std::io to istrs. Issue #855Brian Anderson-36/+40
2011-08-27Convert std::int to istrs. Issue #855Brian Anderson-1/+4
2011-08-27Convert std::uint to istrs. Issue #855Brian Anderson-4/+5
2011-08-22Replace &ty::t with ty::t throughout the compilerMarijn Haverbeke-2/+2
Type handles are uints, passing them by reference only causes unnecessary spilling.
2011-08-20ReformatBrian Anderson-7/+6
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-1/+0
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Removing tasks, ports and chans from the compiler.Eric Holk-3/+0
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-9/+9