aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix missing case in ty.Graydon Hoare2011-01-171-0/+5
|
* Use homebrew memcpy, not llvm intrinsic. Can't run the latter on a rust stack.Graydon Hoare2011-01-172-32/+66
|
* Make legal and un-XFAIL generic-fn-infer.rs (on both compilers).Graydon Hoare2011-01-172-2/+2
|
* Fix a couple bugs in parametric returns.Graydon Hoare2011-01-171-11/+11
|
* Allocate and reload retslots. Copy into them on polymorphic returns.Graydon Hoare2011-01-171-19/+35
|
* Enable more tests.Rafael Ávila de Espíndola2011-01-173-2/+4
|
* Whitespace cleanup.Graydon Hoare2011-01-171-9/+9
|
* Fix the last known (to me) bug in import resolution. We were not properlyRafael Ávila de Espíndola2011-01-173-12/+47
| | | | | dropping the inner part of the environment when an intermediate item resolved in an outer scope.
* Teach copy_ty to finish via memcpy of tydesc-provided size.Graydon Hoare2011-01-171-11/+24
|
* Some misc cleanups:Rafael Ávila de Espíndola2011-01-171-25/+26
| | | | | * Remove unused argument * Move option.t wrapping to outer functions.
* Pass tydescs to parametric fns, along with (dummy, presently) retptr when ↵Graydon Hoare2011-01-141-66/+82
| | | | needed. Can call simple parametric fn now.
* Further corrections to the logging layer in runtime.Graydon Hoare2011-01-144-6/+8
|
* Fix the import handling in "complex" cases. When looking a.b.c and 'a' is aRafael Ávila de Espíndola2011-01-144-5/+46
| | | | | | | module, we should look for 'b' *just* in the module 'a' and then continue resolving b.c in the environment created by updating *with* a. Still not 100% correct, but getting there.
* Expand generic info in lval_result.Graydon Hoare2011-01-141-12/+17
|
* Trim long lines.Graydon Hoare2011-01-141-2/+2
|
* Pass tydescs to parametric fns.Graydon Hoare2011-01-141-6/+33
|
* Change log buffer butes to a symbolic const in runtime.Graydon Hoare2011-01-145-11/+15
|
* Make lookup non recursive and instead move the recursion just toRafael Ávila de Espíndola2011-01-142-60/+90
| | | | | find_final_def. Use the fact that the recursion is in a simpler function to detected import loops and exit.
* Change single-ident expr_ident to greedy/fat multi-ident expr_path, to ↵Graydon Hoare2011-01-137-98/+170
| | | | handle the module-path/value-indexing distinction.
* Add or enable some tests.Rafael Ávila de Espíndola2011-01-132-0/+15
|
* Wrap long line.Graydon Hoare2011-01-121-2/+3
|
* Guard a bunch more logging calls. Cut 10s off rustc compile time.Graydon Hoare2011-01-122-18/+31
|
* Produce better errors for invalid imports.Rafael Ávila de Espíndola2011-01-123-0/+13
|
* Call find_final_def directly in fold_view_item_import. It is both cleaner andRafael Ávila de Espíndola2011-01-121-1/+1
| | | | faster.
* Change mod_index_entry to point directly to items and view_items.Rafael Ávila de Espíndola2011-01-124-58/+66
|
* Figure out what tydescs we need to pass when translating parametric function ↵Patrick Walton2011-01-122-4/+57
| | | | calls
* Guard unguarded log calls that snuck in. Shave 5s off building rustc.Graydon Hoare2011-01-111-3/+5
|
* Recursively genericize types and spread across glue. Saves 1mb size, 8s ↵Graydon Hoare2011-01-112-16/+38
| | | | compile time on rustc.
* Out-of-line all drop glue. Shaves 50kb from rustc.Graydon Hoare2011-01-111-11/+1
|
* Make rustboot fn/obj drops generic; cuts 300kb size, 10s compile time off rustc.Graydon Hoare2011-01-111-0/+16
|
* Fix another import case we got wrong: The local environment should notRafael Ávila de Espíndola2011-01-113-27/+58
| | | | interfere with the import statements.
* Fix two invalid import cases we were not detecting:Rafael Ávila de Espíndola2011-01-115-17/+61
| | | | | | | * If an import was unused we would never print any errors for it. * We would keep the existing environment in scope when descending 'foo.bar' and would find 'bar' in the global environment if there was no 'bar' in 'foo'.
* Sketch support for reading multi-file crates in rustc. Add test, not yet ↵Graydon Hoare2011-01-104-32/+151
| | | | working.
* Add std.path module for pathname manipulations.Graydon Hoare2011-01-102-0/+22
|
* Fail in new_stdio_reader when libc.fopen fails.Graydon Hoare2011-01-101-2/+3
|
* Further corrections to the Makefile rules covering failing tests.Graydon Hoare2011-01-109-8/+27
|
* Cleanup circular_bufferBrian Anderson2011-01-102-39/+56
|
* Remove the assumption that circular_buffer's buffer has a power of two sizeBrian Anderson2011-01-103-33/+85
| | | | | | It was not obvious how to make this implementation work when the unit size was not also a power of two, so for now just make the buffer size a multiple of the unit size so it can pass all the tests.
* Remove unused variable in circular_buffer testsBrian Anderson2011-01-101-2/+0
|
* Cleanup circular_buffer grow / shrink routinesBrian Anderson2011-01-101-4/+7
|
* Rename test to reflect that the circular_buffer runtime class is what's ↵Brian Anderson2011-01-101-0/+0
| | | | being tested
* Fix circular_buffer growth when _next != 0Brian Anderson2011-01-102-10/+36
|
* Remove tabsBrian Anderson2011-01-101-1/+1
|
* Don't allow circular_buffer to shrink below its original size when unit_sz ↵Brian Anderson2011-01-103-7/+25
| | | | is not a power of two
* Don't allow circular_buffer to shrink below it's initial sizeBrian Anderson2011-01-102-1/+13
|
* Fix the check for growing the circular_bufferBrian Anderson2011-01-102-1/+15
|
* Simplify the test for circular_buffer initializationBrian Anderson2011-01-101-11/+14
|
* Un-XFAIL drop-bind-thunk-args.rs.Graydon Hoare2011-01-071-0/+1
|
* Drop closures. Un-XFAIL bind-interior.rs.Graydon Hoare2011-01-072-7/+55
|
* Add sufficient import support to compile some simple single-crate programs.Rafael Ávila de Espíndola2011-01-076-37/+138
| | | | | This is likely not the final solution. It does repetitive work and doesn't produce errors for invalid but unused imports. In any case, I think it is a useful step.