aboutsummaryrefslogtreecommitdiff
path: root/src/boot
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up nomenclature in the Abi constants brigade. Purge magic GEP numbers ↵Roy Frostig2010-07-167-75/+118
| | | | in trans. Adjust obj_closure_rty (and its consumers) to be more explicit about the fact that it is a box.
* Merge branch 'contrib'Graydon Hoare2010-07-151-21/+33
|\
| * Support nested for-each loops. Closes #79.Jason Orendorff2010-07-161-21/+33
| |
* | Implement the "simple typechecker", which avoids HM inferencePatrick Walton2010-07-152-1547/+846
|/
* Let the compiler find libraries that aren't in the current directory.Jeffrey Yasskin2010-07-161-1/+2
|
* Remove the __PAGEZERO segment from shared MachO libraries. This avoids aJeffrey Yasskin2010-07-161-10/+14
| | | | segfault in dlclose() and fixes the tests on OSX 10.5.8.
* In Mach-O shared libraries, avoid counting an extra load command. Closes #99.Jeffrey Yasskin2010-07-161-1/+7
|
* Merge branch 'master' of [email protected]:graydon/rustGraydon Hoare2010-07-152-3/+7
|\
| * Define (in Abi) and use named constants for indices of elements of an obj IL ↵Roy Frostig2010-07-152-3/+7
| | | | | | | | referent type.
* | Merge branch 'contrib'Graydon Hoare2010-07-151-87/+88
|\ \ | |/ |/|
| * use,import,export parse fixesAdam Bozanich2010-07-161-73/+87
| | | | | | | | | | * use,import,export must come before all other items. * disallow use,import in "native" declarations.
| * permit use before import. closes #48Adam Bozanich2010-07-161-36/+23
| |
* | Make mutability no longer a type constructorPatrick Walton2010-07-159-73/+103
| |
* | Correct the way we get typarams when dropping an obj type in drop_ty by ↵Roy Frostig2010-07-151-5/+3
| | | | | | | | using get_tydesc_params.
* | Modify copy_fn_args not to bother with dynamic GEP to get the indirect args ↵Roy Frostig2010-07-151-4/+3
| | | | | | | | cell in a calltup. It's now possible to obtain it with just regular GEP.
* | Explicitly provide an optional closure/obj pointer to trans_call_glue so ↵Roy Frostig2010-07-151-38/+81
| | | | | | | | that it can push one in the right position when calling glue, instead of always pushing a null. As far as I can tell this only affects calls to obj drop glue, since only that makes use of an object binding passed as closure/obj, so pass the binding there as needed.
* | Make the x86 backend push an extra word as closure/obj arg when emitting any ↵Roy Frostig2010-07-152-3/+5
| | | | | | | | code that amounts to a glue or native call.
* | Adjust trans_call_glue to push/pop an extra null word implicit arg, in ↵Roy Frostig2010-07-151-0/+2
| | | | | | | | position of closure/obj pointer.
* | Begin moving closure-or-obj pointer out to front of call args by changing ↵Roy Frostig2010-07-153-8/+9
| | | | | | | | the order within the call-arg tup referent type. This breaks the world quite a bit, since it remains to fix custom call paths: glue, upcalls, natives.
* | Make the call args referent type always have a closure word (non-optional, ↵Roy Frostig2010-07-151-5/+4
| | | | | | | | null in case of no closure) in preparation for shifting it inward from its current position at end-of-call-tup.
* | Minimize pointless logging during walk.Graydon Hoare2010-07-1412-98/+129
| |
* | Fix ret/put mis-identification in typechecker. Closes #87.Graydon Hoare2010-07-141-6/+40
| |
* | Typo fixes to docs, from Ralph Giles.Graydon Hoare2010-07-131-1/+1
| |
* | Desugar the head stmts all the way out of STMT_for, rather than stashing ↵Graydon Hoare2010-07-136-15/+13
| | | | | | | | them in the node. That's only necessary for STMT_while.
* | Accept effect-qualified local item declarations.Graydon Hoare2010-07-131-1/+1
| |
* | Delete some dead code in x86.Graydon Hoare2010-07-121-8/+0
| |
* | Merge branch 'contrib'Graydon Hoare2010-07-121-3/+3
|\|
| * Fix formatting trivia in Ast.fmt_stmt_body.Jason Orendorff2010-07-131-3/+3
| |
* | Wrap long line.Graydon Hoare2010-07-121-1/+2
| |
* | Revert previous wrong-change on issue #106; was papering over wrongness in ↵Graydon Hoare2010-07-121-4/+12
| | | | | | | | the runtime. Sad times. Closes #106 more correctly (and adds comment to explain).
* | Add more tracing code to trans for refcount events.Graydon Hoare2010-07-121-7/+26
| |
* | Add a ty_children function to enumerate the children of any typePatrick Walton2010-07-122-1/+26
| |
* | Fix post-stmt drop calculations. Closes #106.Graydon Hoare2010-07-111-10/+30
| |
* | Add a boot/README file explaining rustboot's organization a bit.Graydon Hoare2010-07-111-0/+405
|/
* Catch cyclic imports harder. Add 2 tests to confirm.Graydon Hoare2010-07-091-11/+14
|
* Encode and decode DW_AT_rust_iterator on DW_TAG_subprogram DIEs.Graydon Hoare2010-07-081-2/+8
|
* Add detection for cyclic imports.Graydon Hoare2010-07-084-14/+27
|
* Err kindly instead of asserting on duplicate mod declarations in crates.Roy Frostig2010-07-081-1/+5
|
* Fix typo in token.ml.Matt Brubeck2010-07-091-1/+1
|
* Build fix from jmuizelaar (on ocamlc versions that notice this bug; drat, ↵Graydon Hoare2010-07-083-4/+4
| | | | not all do)
* Issue 66: Multi-line commentsMatt Brubeck2010-07-081-1/+14
|
* Numerous bug fixes to typestate algorithm.Graydon Hoare2010-07-062-83/+125
|
* Correct flow-graph wiring for STMT_if.Graydon Hoare2010-07-061-23/+64
|
* Wrap long line.Graydon Hoare2010-07-061-1/+3
|
* Add init(arg) to STMT_call precondition for each arg.Graydon Hoare2010-07-061-2/+11
|
* Use typed slot rather than AST slot in trans_for_loop.Graydon Hoare2010-07-051-3/+4
|
* Teach the dwarf readers to handle udata, so we can link with util.option; ↵Graydon Hoare2010-07-051-0/+1
| | | | add util.rs to std.rc.
* Fix generic-derived-type.rs and generic-obj-with-derived-type.rs.Graydon Hoare2010-07-041-1/+1
|
* Improve type.ml logging.Graydon Hoare2010-07-041-1/+2
|
* Fix rec-extend.rs test.Graydon Hoare2010-07-041-7/+11
|