aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* When vec growth results in a newly allocated (extended) buffer, copy ↵Roy Frostig2010-09-034-28/+221
| | | | existing elements over via element-wise copy, not flat memcpy. Introduce new vec growth glue to achieve this.
* Assert to insure that the worst-case glue-call arg count is not exceeded ↵Roy Frostig2010-09-031-5/+22
| | | | unless allowed to.
* Fail a bit more informatively on a bad get_element_ptr_dyn.Roy Frostig2010-09-031-2/+6
|
* Add session, span tracking, error reporting, beginning of a function to ↵Graydon Hoare2010-09-017-35/+165
| | | | parse an item to rustc.
* Whitespace churn.Graydon Hoare2010-08-312-39/+64
|
* Add block-comment support, various additional operators. Rustc can lex ↵Graydon Hoare2010-08-312-60/+164
| | | | itself now.
* Fix rust_vec constructor assertion failure caused by slow path of ↵Roy Frostig2010-08-312-3/+19
| | | | upcall_vec_grow. Add testcase.
* Er, this would be the hunk that actually failed to get committed last time.Graydon Hoare2010-08-311-7/+7
|
* Reinstate commit 9f0eaa65817303b8768c80454734144c176fda43 with sufficient ↵Graydon Hoare2010-08-313-17/+150
| | | | fixes to hopefully not break tinderboxes.
* Turn native OCaml code generation on for the MacPatrick Walton2010-08-271-0/+1
|
* Make pattern-alt drop the slots it initializes when binding slot patterns. ↵Roy Frostig2010-08-273-37/+52
| | | | Undoes most of the hackiness in 5e77e784f006e36c06252d9beccbd7893eddac73 and replaces it with a more proper fix.
* Revert "More work on lexer.rs: start using keyword hashtable, handle more ↵Patrick Walton2010-08-273-150/+17
| | | | | | lexemes." due to tinderbox bustage This reverts commit 9f0eaa65817303b8768c80454734144c176fda43.
* More work on lexer.rs: start using keyword hashtable, handle more lexemes.Graydon Hoare2010-08-273-17/+150
|
* Modify alt-pattern-drop.rs to also insure the slot bound in the pattern ↵Roy Frostig2010-08-271-4/+10
| | | | doesn't also get dropped (again) at the end of the block containing the alt.
* Whitespace shuffle in rustc's lexer to fit 78-column rule and put out ↵Roy Frostig2010-08-271-5/+20
| | | | burning tinderbox.
* Tiny change to tighten up alt-pattern-drop.rs test.Roy Frostig2010-08-271-1/+1
|
* Have alt-pattern drop the slots it initializes when binding slot patterns. ↵Roy Frostig2010-08-273-10/+55
| | | | Add a testcase for this as well.
* Modify rustboot to use lexer.reader.Graydon Hoare2010-08-272-94/+103
|
* Read definitions of tag types in the DWARFPatrick Walton2010-08-271-32/+52
|
* Zero-length tuples can show up in tag types. Don't forbid them when reading ↵Patrick Walton2010-08-271-2/+2
| | | | in the DWARF.
* Comment out hashmap tests exercising maps with str as key or value type, as ↵Roy Frostig2010-08-271-0/+2
| | | | they appear to cause leaks.
* Add simple hashmap tests exercising maps with str as key type, value type, ↵Roy Frostig2010-08-271-15/+85
| | | | and both.
* Pinching myself for certainty. ;pRoy Frostig2010-08-261-0/+4
|
* Test the hashmap more, exercising hash collision, element removal, and a ↵Roy Frostig2010-08-262-13/+140
| | | | forced rehashing that actually causes elements to change buckets. In the process, find a bug in hashmap's remove() and fix it.
* Simplify null-writing from commit 8559a85ccacf70c51d93759b47a3880ae818b247 ↵Roy Frostig2010-08-261-8/+2
| | | | so as to avoid a branch.
* Encode tag names in the DWARFPatrick Walton2010-08-261-4/+5
|
* Make vreg constrs per-quad, regfence on nontrivial constrs, back out ↵Graydon Hoare2010-08-264-49/+73
| | | | workaround to _uint, add regression test. Closes #152.
* Add automatic parameter instantiation. Closes #45.Patrick Walton2010-08-263-8/+43
|
* When copying function values, null out the destination's binding iff the ↵Roy Frostig2010-08-262-15/+24
| | | | source's binding is null.
* Add check to catch bug underlying issue #152. Fix will take longer.Graydon Hoare2010-08-261-1/+14
|
* un-XFAIL lib-map.rs now that rust stacks are large and it passes on linux.Roy Frostig2010-08-261-1/+0
|
* Test the hashmap for growth and rehashing.Roy Frostig2010-08-261-2/+69
|
* Workaround issue #152 in _uint.next_power_of_twoRoy Frostig2010-08-263-1/+51
|
* Add a "param handler" to demand_fn for use in automatic type parameter ↵Patrick Walton2010-08-261-12/+18
| | | | instantiation
* Tiny style cleanup in a pattern match in type.mlPatrick Walton2010-08-261-1/+1
|
* Typecheck function patternsPatrick Walton2010-08-251-9/+14
|
* Actually switch to using the bigger hashmap once a it finishes growing and ↵Roy Frostig2010-08-251-2/+4
| | | | rehashing.
* Insure bools remain 0x1 or 0x0 by having boolean-NOT not just be a simple ↵Roy Frostig2010-08-253-1/+20
| | | | bit-NOT.
* Add element to closure to hold captured tydesc (not body tydesc).Graydon Hoare2010-08-253-10/+12
|
* Merge obj-drop and closure-drop code, handles freeing bound exteriors now.Graydon Hoare2010-08-254-44/+61
|
* First pass of updating the in-memory layout of closures, for issue 81.Graydon Hoare2010-08-253-121/+153
|
* Fix edge case in uint->string conversion.Graydon Hoare2010-08-252-1/+2
|
* Janitorial work on obj box / body / field terminology, following froystig's ↵Graydon Hoare2010-08-254-35/+40
| | | | brave lead.
* Fix ghastly typestate bug breaking nested functions.Graydon Hoare2010-08-252-8/+59
|
* Introduce "type patterns" to the typechecker in preparation for function ↵Patrick Walton2010-08-251-36/+51
| | | | type-param inference
* Obj ctors are not obj fns so translate their frame entry as such.Roy Frostig2010-08-251-1/+1
|
* Fixed the location of the failing XFailed test.Michael Bebenita2010-08-241-1/+1
|
* Implemented an lock free queue based on this paper ↵Michael Bebenita2010-08-2413-25/+404
| | | | http://www.cs.rochester.edu/~scott/papers/1996_PODC_queues.pdf, the "lock free queue" we had before wasn't lock free at all.
* Comment on env var required for std.dbg to do any logging.Roy Frostig2010-08-241-0/+3
|
* Add support in dbg.debug_obj for printing the obj body.Roy Frostig2010-08-242-4/+19
|