about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-380/+345
2011-08-31Produce the start of an immutable treemap.Michael Sullivan-0/+82
2011-08-31Replace xfail-stageN with simply xfail-testMarijn Haverbeke-127/+46
Closes #799
2011-08-31Revert "Replace xfail-stageN with simply xfail-test"Marijn Haverbeke-40/+118
This reverts commit 574194f6bcfb90b9f8486002b83babc4c21208c0.
2011-08-31Replace xfail-stageN with simply xfail-testMarijn Haverbeke-118/+40
Closes #799
2011-08-31Register new snapshotsBrian Anderson-0/+5
2011-08-30Allow main to take istrs. Issue #855Brian Anderson-10/+93
2011-08-30Convert compiletest to istrs. Issue #855Brian Anderson-213/+248
2011-08-30Convert #env to istrs. Temporarily disable usage in rustc. Issue #855Brian Anderson-3/+5
2011-08-30Add a FIXME about the bogosity of aio::ip_to_sbufBrian Anderson-0/+3
2011-08-30Convert std::net to istrs. Issue #855Brian Anderson-17/+21
2011-08-30Support istrs as fail argument. Issue #855Brian Anderson-7/+25
2011-08-30Add #ifmt extension, like #fmt but for istrs. Issue #855Brian Anderson-153/+948
2011-08-30Remove the %S istr conversion from #fmtBrian Anderson-16/+0
I want to do the #fmt transition a different way. Issue #855
2011-08-30rt: Override the character interpretation of u8/i8 values when loggingPatrick Walton-1/+19
2011-08-30rustc: Hoist derived tydesc GC roots up to the top of the function so the GC ↵Patrick Walton-4/+7
doesn't try to access uninitialized tydescs
2011-08-30Un-xfail zip-same-lengthTim Chevalier-5/+3
There was a type error that was getting reported poorly. Fixed it. (Now to figure out why the error was reported so poorly...)
2011-08-30Add a total version of vec::last that has a preconditionTim Chevalier-0/+5
2011-08-30XFAIL zip-same-length -- that's ok, since it's a new testTim Chevalier-3/+5
2011-08-30Library test cases for vec::zipTim Chevalier-0/+60
2011-08-30Add a precondition on vec::zipTim Chevalier-14/+54
vec::zip now has the precondition that the two argument vectors are the same length. Changed uses of it to reflect that. Also added a few vector-enumerating utilities to vec.rs, which necessitated in making some functions in u8 declared-pure.
2011-08-30Test that fn preconditions get typecheckedTim Chevalier-0/+18
2011-08-30Typecheck function preconditionsTim Chevalier-50/+107
It turned out that function preconditions weren't getting checked at all, so you could write a constraint on a fn decl that was total nonsense. Fixed now.
2011-08-30Eliminate an unchecked use of map::get in ppauxTim Chevalier-1/+5
2011-08-30rt: Fix logging of type-parametric resourcesPatrick Walton-31/+31
2011-08-30rustc: Allow non-type-parametric resources to be loggedPatrick Walton-20/+62
2011-08-30Stop relying on klunky hack in alias.rsMarijn Haverbeke-29/+41
It assumed node_ids increased monotonically for locals, but macros make this no longer the case, and it was a dubious assumption anyway. It now numbers locals itself and uses that to determine which precede which.
2011-08-30Clean up trans_build, factor repeated code into functionMarijn Haverbeke-282/+105
2011-08-30Change a number of result-returning functions to return @block_ctxtMarijn Haverbeke-234/+187
The uniformity doesn't seem to be worth the extra noise and pointless code being generated. If something doesn't produce a value, don't make it return one. (For now, trans_[exprtype] things are left in the result- returning form, even when they never return anything useful, since in that case uniformity is arguably helpful.)
2011-08-30Remove compiler-bug-workaround that's no longer neededMarijn Haverbeke-14/+4
2011-08-30Glob-import trans_build in other trans filesMarijn Haverbeke-450/+449
The capitalization already prevents name clashes. Being able to refer to the bitcode-construction primitives directly makes the code cleaner.
2011-08-29Stab-in-the-dark error fix for the crashing windows tinderboxes. Helps win2 ↵Graydon Hoare-2/+4
anyways.
2011-08-29rt: Have data::walk_fn be defensive regarding whether the derived ↵Patrick Walton-1/+2
implementation of walk_fn moves the data pointer
2011-08-29rt: Move to a custom alignof since __alignof__ returns the "preferred" ↵Patrick Walton-12/+30
alignment rather than the one that gets used in structs
2011-08-29rt: Don't dereference a null pointer when traversing a function with no ↵Patrick Walton-2/+3
environment
2011-08-29Warn for exports that refer to non-existent itemsMarijn Haverbeke-2/+35
Closes #865
2011-08-29Remove obsolete exportsMarijn Haverbeke-9/+0
2011-08-29Rename upcall_istr_push to rust_istr_push in rustrt.def.inBrian Anderson-1/+1
2011-08-29Make std::istr::push_byte efficientMarijn Haverbeke-4/+17
It used to allocate two (!) heap values per pushed byte. It now goes through a runtime function that simply grows the istr and writes the byte.
2011-08-29Factor vector reserve code in runtime into its own functionMarijn Haverbeke-21/+13
2011-08-29Factor vector-allocation code, always allocate space for at least 4 eltsMarijn Haverbeke-24/+35
(This prevents the first few reallocs when growing a vector.)
2011-08-29Convert a block to a fn in trans_ivec::trans_addBrian Anderson-4/+6
The block was not valgrind-clean
2011-08-29Don't duplicate ivec-iterating loop codeMarijn Haverbeke-90/+42
trans_ivec is starting to look almost pleasant
2011-08-29Register snapshotMarijn Haverbeke-0/+5
The win snapshot is not on s3 yet, because of tinderbox breakage. The file can be gotten at [1] in the meantime. [1] marijnhaverbeke.nl/upload/rust-stage0-2011-08-29-c9c5ee2-winnt-i386-bed0aeb9cdf7831a7c1d9337a2b351699f0d25cd.tar.bz2
2011-08-29Implement non-internal ivecsMarijn Haverbeke-1547/+486
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.
2011-08-29Fix bug in mutable-local-markingMarijn Haverbeke-0/+1
Locals passed by mutable alias weren't being marked as mutated
2011-08-28Merge pull request #870 from marijnh/llvm-updateGraydon Hoare-2/+2
Follow LLVM header file shuffling
2011-08-28Register new snapshotMarijn Haverbeke-0/+5
I'll need to do a snapshot that builds stage1 with the stage0 libs, so this one is to sync the stage0 libs with the current codebase.
2011-08-28Follow LLVM header file shufflingMarijn Haverbeke-2/+2
This allows us to compile against revision 138708. I need this, because the version we currently use is causing mysterious corruption of object files during linking on win, apparently triggered by my vec-representation patch.
2011-08-27Convert misc compiler bits to istrs. Issue #855Brian Anderson-91/+93