about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2011-09-01Reduce the amount of locking in the kernel's memory regionBrian Anderson-4/+4
The only thing here that really needs locking on malloc and free is access to the allocation list, which is only used for TRACK_ALLOCATIONS. Improves bench/task-perf-vector-party by 70%.
2011-09-01Add a benchmark for cross-task kernel memory region synchronizationBrian Anderson-0/+28
Vectors are allocated from the kernel's memory region, which has some heinous synchronization. This is a stress test of vector allocation in many tasks.
2011-09-01Remove misleading outdated comment in alias.rsMarijn Haverbeke-5/+1
2011-09-01Back out copy-glueMarijn Haverbeke-89/+4
This wasn't a good idea after all.
2011-09-01Remove the last use of istr::to_estr from rustc. Issue #855Brian Anderson-5/+5
2011-09-01Convert rust_file_is_dir from estrs to cstrs. Issue #855Brian Anderson-4/+6
2011-09-01Check error code in rust_file_is_dir. Prevent comparison of uninitialized memBrian Anderson-1/+8
2011-09-01Test for #876Tim Chevalier-0/+10
This is the test case for #876. Xfailed for now.
2011-09-01Register new snapshotsBrian Anderson-0/+5
2011-09-01Remove a few more istr conversions. Issue #855Brian Anderson-10/+10
2011-09-01Allow istrs as patterns. Issue #855Brian Anderson-10/+46
2011-09-01Remove some uses of str_buf builtin. Issue #855Brian Anderson-5/+2
2011-09-01Convert main functions to istrs. Issue #855Brian Anderson-30/+26
2011-09-01Remove various istr conversions. Issue #855Brian Anderson-34/+34
2011-09-01Consolidate std::str tests into stdtest::strBrian Anderson-41/+28
2011-09-01Remove a bunch of string builtins. Issue #855Brian Anderson-102/+6
2011-09-01Delete parts of std::str that are no longer exported. Issue #855Brian Anderson-518/+0
2011-09-01Remove last users of str::sbuf. Issue #855Brian Anderson-73/+91
2011-09-01Remove more functions from std::str. Issue #855Brian Anderson-30/+30
2011-09-01Convert std::test to istrs. Issue #855Brian Anderson-42/+42
2011-09-01Remove the estr #fmt. Issue #855Brian Anderson-795/+0
2011-09-01Convert fs::path_is_absolute internals to istrs. Issue #855Brian Anderson-5/+5
2011-09-01rt: Allow iteration over the dynastackPatrick Walton-17/+109
2011-09-01rt: Make logging more resilient to null vector pointers (useful when ↵Patrick Walton-2/+8
debugging GC)
2011-09-01rt: Make debug string in rust_obstack slightly prettierPatrick Walton-1/+1
2011-09-01rt: Zero out dynamic allocas for nowPatrick Walton-0/+1
2011-09-01rt: Include rust_shape.h in rust_obstack.cpp and remove the duplicate ↵Patrick Walton-3/+2
DPRINT() macro
2011-09-01rt: Add a missing FIXME to rust_obstack.cpp for segmented stacksPatrick Walton-1/+1
2011-09-01rt: Remove duplicate DPRINT() macro from rust_gc.cppPatrick Walton-2/+0
2011-09-01rt: Disable debug spew in rust_shapePatrick Walton-4/+4
2011-09-01Make alias analysis properly recognize closures in call positionMarijn Haverbeke-1/+1
I figured this'd break a few things, but in fact it causes no problems whatsoever.
2011-09-01Make resolve recognize upvarsMarijn Haverbeke-255/+221
Upvars are now marked with def_upvar throughout, not just when going through freevars::lookup_def. This makes things less error-prone. One thing to watch out for is that def_upvar is used in `for each` bodies too, when they refer to a local outside the body.
2011-09-01Move mutability checking into its own pass.Marijn Haverbeke-290/+292
Having it in the alias pass was slightly more efficient (finding expression roots has to be done in both passes), but further muddled up the already complex alias checker. Also factors out some duplication in the mutability-checking code.
2011-09-01Store arg mode and objfield mutability in their defMarijn Haverbeke-43/+43
2011-09-01Clean up handling of restriction contexts in alias analysisMarijn Haverbeke-93/+94
2011-08-31Reexport std::str::alloc. Windows still needs this. Issue #855Brian Anderson-1/+1
2011-08-31Expose STDERR to rust.Erick Tryzelaar-0/+4
2011-08-31rt: Make the dynamic stack self-describingPatrick Walton-25/+74
2011-08-31rt: Set n_params appropriately in upcall_get_type_descPatrick Walton-0/+1
2011-08-31Start paring down std::str. Issue #855Brian Anderson-721/+398
2011-08-31Convert benchmarks to istrs. Issue #855Brian Anderson-103/+97
2011-08-31Convert fuzzer to istrs. Issue #855Brian Anderson-83/+84
2011-08-31Remove more uses of str from std::run. Issue #855Brian Anderson-23/+23
2011-08-31Remove a few more usages of std::str from rustc. Issue #855Brian Anderson-7/+5
2011-08-31rt: Prevent trailing commas from showing up when logging oddly aligned arraysPatrick Walton-16/+24
2011-08-31rt: Introduce "end_dp" bailouts in order to avoid marching past the end of ↵Patrick Walton-19/+32
oddly aligned vectors
2011-08-31rt: Make |align| a member of the shape glue class instead of threading it ↵Patrick Walton-231/+240
through every function
2011-08-31Don't check arguments types if there are an incorrect number of args. Closes ↵Michael Sullivan-5/+3
#871.
2011-08-31Check all paths return properly in blocks. Closes #874.Michael Sullivan-1/+6
2011-08-31Get rid of the hack that ignores () typed things in fn tail position.Michael Sullivan-30/+15
Closes #868. Unfortunately, this causes certain invalid programs to fail type-checking instead of failing type-state when a type-state error message would probably be more intuitive. (Although, by any reasonable interpretation of the static semantics, it technically ought to be a type error.)