about summary refs log tree commit diff
path: root/src/boot
AgeCommit message (Collapse)AuthorLines
2010-07-16More renaming of GEP offsets in abi/trans. This should settle it. Also, ↵Roy Frostig-26/+37
fix some overenthusiastic renaming in previous commit.
2010-07-16Clean up nomenclature in the Abi constants brigade. Purge magic GEP numbers ↵Roy Frostig-75/+118
in trans. Adjust obj_closure_rty (and its consumers) to be more explicit about the fact that it is a box.
2010-07-15Merge branch 'contrib'Graydon Hoare-21/+33
2010-07-16Support nested for-each loops. Closes #79.Jason Orendorff-21/+33
2010-07-15Implement the "simple typechecker", which avoids HM inferencePatrick Walton-1547/+846
2010-07-16Let the compiler find libraries that aren't in the current directory.Jeffrey Yasskin-1/+2
2010-07-16Remove the __PAGEZERO segment from shared MachO libraries. This avoids aJeffrey Yasskin-10/+14
segfault in dlclose() and fixes the tests on OSX 10.5.8.
2010-07-16In Mach-O shared libraries, avoid counting an extra load command. Closes #99.Jeffrey Yasskin-1/+7
2010-07-15Merge branch 'master' of git@github.com:graydon/rustGraydon Hoare-3/+7
2010-07-15Define (in Abi) and use named constants for indices of elements of an obj IL ↵Roy Frostig-3/+7
referent type.
2010-07-15Merge branch 'contrib'Graydon Hoare-87/+88
2010-07-16use,import,export parse fixesAdam Bozanich-73/+87
* use,import,export must come before all other items. * disallow use,import in "native" declarations.
2010-07-16permit use before import. closes #48Adam Bozanich-36/+23
2010-07-15Make mutability no longer a type constructorPatrick Walton-73/+103
2010-07-15Correct the way we get typarams when dropping an obj type in drop_ty by ↵Roy Frostig-5/+3
using get_tydesc_params.
2010-07-15Modify copy_fn_args not to bother with dynamic GEP to get the indirect args ↵Roy Frostig-4/+3
cell in a calltup. It's now possible to obtain it with just regular GEP.
2010-07-15Explicitly provide an optional closure/obj pointer to trans_call_glue so ↵Roy Frostig-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.
2010-07-15Make the x86 backend push an extra word as closure/obj arg when emitting any ↵Roy Frostig-3/+5
code that amounts to a glue or native call.
2010-07-15Adjust trans_call_glue to push/pop an extra null word implicit arg, in ↵Roy Frostig-0/+2
position of closure/obj pointer.
2010-07-15Begin moving closure-or-obj pointer out to front of call args by changing ↵Roy Frostig-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.
2010-07-15Make the call args referent type always have a closure word (non-optional, ↵Roy Frostig-5/+4
null in case of no closure) in preparation for shifting it inward from its current position at end-of-call-tup.
2010-07-14Minimize pointless logging during walk.Graydon Hoare-98/+129
2010-07-14Fix ret/put mis-identification in typechecker. Closes #87.Graydon Hoare-6/+40
2010-07-13Typo fixes to docs, from Ralph Giles.Graydon Hoare-1/+1
2010-07-13Desugar the head stmts all the way out of STMT_for, rather than stashing ↵Graydon Hoare-15/+13
them in the node. That's only necessary for STMT_while.
2010-07-13Accept effect-qualified local item declarations.Graydon Hoare-1/+1
2010-07-12Delete some dead code in x86.Graydon Hoare-8/+0
2010-07-12Merge branch 'contrib'Graydon Hoare-3/+3
2010-07-12Wrap long line.Graydon Hoare-1/+2
2010-07-12Revert previous wrong-change on issue #106; was papering over wrongness in ↵Graydon Hoare-4/+12
the runtime. Sad times. Closes #106 more correctly (and adds comment to explain).
2010-07-12Add more tracing code to trans for refcount events.Graydon Hoare-7/+26
2010-07-13Fix formatting trivia in Ast.fmt_stmt_body.Jason Orendorff-3/+3
2010-07-12Add a ty_children function to enumerate the children of any typePatrick Walton-1/+26
2010-07-11Fix post-stmt drop calculations. Closes #106.Graydon Hoare-10/+30
2010-07-11Add a boot/README file explaining rustboot's organization a bit.Graydon Hoare-0/+405
2010-07-09Catch cyclic imports harder. Add 2 tests to confirm.Graydon Hoare-11/+14
2010-07-08Encode and decode DW_AT_rust_iterator on DW_TAG_subprogram DIEs.Graydon Hoare-2/+8
2010-07-08Add detection for cyclic imports.Graydon Hoare-14/+27
2010-07-08Err kindly instead of asserting on duplicate mod declarations in crates.Roy Frostig-1/+5
2010-07-09Fix typo in token.ml.Matt Brubeck-1/+1
2010-07-08Build fix from jmuizelaar (on ocamlc versions that notice this bug; drat, ↵Graydon Hoare-4/+4
not all do)
2010-07-08Issue 66: Multi-line commentsMatt Brubeck-1/+14
2010-07-06Numerous bug fixes to typestate algorithm.Graydon Hoare-83/+125
2010-07-06Correct flow-graph wiring for STMT_if.Graydon Hoare-23/+64
2010-07-06Wrap long line.Graydon Hoare-1/+3
2010-07-06Add init(arg) to STMT_call precondition for each arg.Graydon Hoare-2/+11
2010-07-05Use typed slot rather than AST slot in trans_for_loop.Graydon Hoare-3/+4
2010-07-05Teach the dwarf readers to handle udata, so we can link with util.option; ↵Graydon Hoare-0/+1
add util.rs to std.rc.
2010-07-04Fix generic-derived-type.rs and generic-obj-with-derived-type.rs.Graydon Hoare-1/+1
2010-07-04Improve type.ml logging.Graydon Hoare-1/+2