about summary refs log tree commit diff
path: root/src/comp/middle/trans_common.rs
AgeCommit message (Collapse)AuthorLines
2012-01-27Move various trans_ modules under a trans:: umbrella moduleMarijn Haverbeke-927/+0
Closes #1304
2012-01-27Stop passing spans to middle::trans functions that don't need themMarijn Haverbeke-5/+2
Removes a bunch of (eventually) unused arguments. Makes span passing to debuginfo explicit, instead of relying on the (usually incorrect) spans held in the contexts. Closes #1439
2012-01-26Make re-exporting of impls workMarijn Haverbeke-0/+1
Closes #1438
2012-01-25Rename tag to enum throughout the compilerMarijn Haverbeke-13/+13
This should reduce confusion of people trying to read the code.
2012-01-21migrate size_of() and related funcs from trans into shapeNiko Matsakis-0/+16
2012-01-21issue #1352: change param order on vec::init_elt, putting block in final ↵Graham Fawcett-4/+4
position. To match the init_fn() and init_fn_mut() changes.
2012-01-19Additional ; to , changes, disable "tag" and ";" in parser. Close #1430. ↵Graydon Hoare-3/+3
Close #1428.
2012-01-19rustc: ";" to "," in enumsPatrick Walton-9/+9
2012-01-19rustc: "tag" -> "enum"Patrick Walton-7/+7
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-6/+6
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-17/+17
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-19Use ctypes in native function declarationsHaitao Li-22/+26
2012-01-13Obj system? What obj system?Marijn Haverbeke-37/+4
Removes the obj system from the compiler. Closes #1484
2012-01-13Remove all remaining uses of objs from the compilerMarijn Haverbeke-21/+22
2012-01-12Make driver::session::session no longer an objectMarijn Haverbeke-2/+3
Rather, it is now a struct where properties like opts are accessed directly, and the error-reporting methods are part of a static impl (with the same name as the type).
2012-01-12Implement passing cast-to-vtable values as bounded paramsMarijn Haverbeke-2/+2
Closes #1492
2012-01-08First barely-working version of casting to ifaceMarijn Haverbeke-0/+5
Issue #1437
2012-01-06rejigger impl to have an opaque closure ptr rather thanNiko Matsakis-28/+8
opaque closure
2012-01-06Statically allocate static dictsMarijn Haverbeke-0/+19
Issue #1436
2012-01-03More work on translating dictionary-passingMarijn Haverbeke-10/+15
Reached a point where simple uses of interfaces without bounds work. Issue #1227
2012-01-02Write out vtables for interface implementationsMarijn Haverbeke-1/+1
Issue #1227
2012-01-02Drop two useless sub-passes from transMarijn Haverbeke-1/+0
Neither collect_tag_ctors nor the second pass in collect_items needed to be separate passes. Also remove obsolete obj_methods table kludge.
2012-01-02Box arrays of parameter boundsMarijn Haverbeke-1/+1
2012-01-02Pass bounds to trans::type_of_fnMarijn Haverbeke-2/+2
2011-12-20rustc: Re-export the same name in different namespacesHaitao Li-2/+2
Issue #1115.
2011-12-18Remove source line generation craziness. Ensure incorrect subprogram caches ↵Josh Matthews-3/+1
are not conflated. Generate ast_map entries for object members and resource constructors and destructors.
2011-12-18Add record debug information.Josh Matthews-1/+1
2011-12-18Fix build error after rebasing.Josh Matthews-1/+1
2011-12-18Fix LLVM assertions when lowering log statements.Josh Matthews-1/+2
2011-12-18Add debug info for local vars, basic fundamental types, and lexical blocks, ↵Josh Matthews-1/+8
along with source line information generation for individual instructions.
2011-12-18Generate basic debug info for files, functions and compile units.Josh Matthews-1/+2
2011-12-16Get very simple impl method calls to compileMarijn Haverbeke-0/+1
Resolution is still dumb, and no self support yet.
2011-12-16rustc: Implement non-renamed re-export across cratesHaitao Li-0/+1
First patch for issue #1115. Not yet ready for re-exported modules which are renamed when importing them.
2011-12-15massive refactor of how closures workNiko Matsakis-9/+22
2011-12-14refactor trans into trans_closure; restore original closure reprNiko Matsakis-1/+1
2011-12-14insert a field into the closure storing number of ty descsNiko Matsakis-1/+3
2011-12-14pull out the code from iter_structural_ty for handling functions,Niko Matsakis-1/+1
as we will have to do very careful and non-generic things
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-19/+19
2011-12-07Change literal representation to not truncateMarijn Haverbeke-6/+29
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-3/+7
2011-11-23Rollback return-by-referenceMarijn Haverbeke-9/+9
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-23Remove deep scope traversal in revoke_cleanMarijn Haverbeke-8/+2
It is not needed anymore.
2011-11-18Make trans use last_use info to not actually generate copiesMarijn Haverbeke-5/+11
Issue #925
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16temp workaround for failure to pass ulonglong successfullyNiko Matsakis-1/+3
2011-11-16correct translation of neg. numbers in 64-bit architecturesNiko Matsakis-15/+9
2011-11-10Cleanup unused importsHaitao Li-20/+6
2011-11-02convert GEP to i32Niko Matsakis-0/+4
2011-11-02get things checking on ia32Niko Matsakis-1/+1
2011-11-02thread the context through so that int can be 64 bits on x86_64Niko Matsakis-22/+29