aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me
Commit message (Collapse)AuthorAgeFilesLines
* Stub an interface to the (as-yet-nonexistent) structural comparison glue in ↵Patrick Walton2010-07-181-24/+97
| | | | trans
* Fix IL translation of pattern-alt to allow a value of mutable/constrained ↵Roy Frostig2010-07-162-6/+7
| | | | type to be the subject of a pattern-alt.
* Ensure that functions that should return a value do; issue 41Patrick Walton2010-07-161-6/+32
|
* Feed the correct return type to the typechecker when typechecking objects, ↵Patrick Walton2010-07-161-14/+24
| | | | and add a testcase.
* More renaming of GEP offsets in abi/trans. This should settle it. Also, ↵Roy Frostig2010-07-161-21/+27
| | | | fix some overenthusiastic renaming in previous commit.
* Clean up nomenclature in the Abi constants brigade. Purge magic GEP numbers ↵Roy Frostig2010-07-164-56/+91
| | | | 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-151-1547/+836
|/
* Define (in Abi) and use named constants for indices of elements of an obj IL ↵Roy Frostig2010-07-151-3/+3
| | | | referent type.
* Make mutability no longer a type constructorPatrick Walton2010-07-156-22/+23
|
* 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.
* 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-152-3/+4
| | | | 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
|
* Desugar the head stmts all the way out of STMT_for, rather than stashing ↵Graydon Hoare2010-07-134-6/+4
| | | | them in the node. That's only necessary for STMT_while.
* 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
|
* Fix post-stmt drop calculations. Closes #106.Graydon Hoare2010-07-111-10/+30
|
* 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
|
* Build fix from jmuizelaar (on ocamlc versions that notice this bug; drat, ↵Graydon Hoare2010-07-083-4/+4
| | | | not all do)
* Numerous bug fixes to typestate algorithm.Graydon Hoare2010-07-061-83/+116
|
* 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
|
* Fix compile-fail/log-type-error.rs.Graydon Hoare2010-07-041-1/+3
|
* Comment-out glue interrupt-flag test; unclear why it breaks, but glue ↵Graydon Hoare2010-07-041-1/+4
| | | | call-tree is always finite anyways so not a big deal for now.
* Spill immediates with proper IL type (was making valgrind dislike ↵Graydon Hoare2010-07-041-1/+1
| | | | obj-with-vec.rs).
* Fix bug crashing valgrind in obj-recursion.rs.Graydon Hoare2010-07-041-1/+1
|
* Improve logging in drop paths.Graydon Hoare2010-07-041-10/+20
|
* More corrections to drop/free path to accommodate TY_box.Graydon Hoare2010-07-031-37/+41
|
* Add version-stamp machinery (and put "Draft + datestamp" into doc footer).Graydon Hoare2010-07-031-1/+1
|
* Deja vu all over again. Something makes me think this is a usability hazard.Graydon Hoare2010-07-021-3/+6
|
* Terminology mop-up.Graydon Hoare2010-07-021-2/+2
|
* You may get the feeling that all these changes look eerily the same. You ↵Graydon Hoare2010-07-021-2/+3
| | | | would be correct.
* Simplify type before deciding how to free it. Hint: calling free() on a ↵Graydon Hoare2010-07-021-1/+1
| | | | running task is usually a bad idea.
* Merge branch 'master' of [email protected]:graydon/rust into ↵Graydon Hoare2010-07-022-10/+10
|\ | | | | | | exterior_and_mutable_types
| * Fix two bugs in tag patterns: 1. Look up the tag constructor function item ↵Roy Frostig2010-07-012-10/+10
| | | | | | | | using lval_item, not lval_to_referent; 2. Correct the form of the name used to query the tag or iso ty_tag when obtaining the corresponding type tuple.
* | Fix bug in clone logic; was ignoring the mutability-strip step in later rule.Graydon Hoare2010-07-021-21/+22
| |