about summary refs log tree commit diff
path: root/src/comp/middle/trans_common.rs
AgeCommit message (Collapse)AuthorLines
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
2011-11-02work on making the size of ints depend on the target archNiko Matsakis-22/+26
2011-11-02work on making the size of ints depend on the target archNiko Matsakis-56/+67
2011-10-21Drop support for iter, put, and for-eachMarijn Haverbeke-10/+1
Closes #1056
2011-10-20Merge ast::proto_shared and ast::proto_closureBrian Anderson-1/+2
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-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-2/+2
2011-10-20Fix the problem with check-fast randomly failingBrian Anderson-1/+1
Trans has been assuming that tag node id's are unique across crates and they are not so, depending on which way the wind is blowing, it would choose to use a crate-local tag variant instead of the correct one from std. No test case since I can't come up with a reliable one that compiles in a reasonable amount of time.
2011-10-20Don't rely on main.ll anymoreMarijn Haverbeke-1/+2
I'll remove the actual file after I register a snapshot. Issue #992
2011-10-20Get rid of taskpointer-passing throughout the compilerMarijn Haverbeke-4/+3
Only intrinsics still take a dummy taskptr. We'll have to do some makefile stunts to snapshot a version without taskptrs-in-intrinsics. Issue #466
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-51/+35
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile