about summary refs log tree commit diff
path: root/src/comp/back
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-1406/+0
2012-02-23Finish cleanup of core::strMarijn Haverbeke-8/+5
Closes #1849
2012-02-23Various cleanups and optimizations in core::strMarijn Haverbeke-5/+4
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-4/+3
2012-02-23(core::str) replace uses of unsafe::slice_bytes; replace find[_from]_bytes ↵Kevin Cantu-3/+3
with find[_from]
2012-02-23(core::str) stop using index_charsKevin Cantu-2/+2
2012-02-23(core::char) rename slice -> slice_charsKevin Cantu-1/+1
2012-02-23(core::str) rename index -> index_charsKevin Cantu-1/+1
2012-02-22Remove preconditions from librariesMarijn Haverbeke-2/+0
Closes #1805
2012-02-21Include @ in crate_ctxt and fn_ctxt type definitionsMarijn Haverbeke-6/+6
So that code using them doesn't have to spell it out constantly.
2012-02-21Remove unused tydesc argument to upcall_shared_mallocMarijn Haverbeke-6/+3
2012-02-17rt: Make upcall_vec_push an intrinsicBrian Anderson-5/+11
2012-02-15Replace some explicit fails with 'alt check' invocationsMarijn Haverbeke-2/+1
2012-02-14rustc: Translate crust functionsBrian Anderson-0/+4
2012-02-13(core::str) add find_bytes and export it...Kevin Cantu-1/+2
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-3/+3
2012-02-11using str::index...Kevin Cantu-6/+8
2012-02-11core::str rename [r]index -> [r]index_bytesKevin Cantu-1/+1
2012-02-09Remove some pointless importsMarijn Haverbeke-13/+2
2012-02-07core: make str::substr use char positions (and replace other uses)Kevin Cantu-4/+5
2012-02-07String split renaming:Kevin Cantu-4/+5
* Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do
2012-02-07Stop storing cmp glue in tydescsMarijn Haverbeke-1/+1
There's no such thing anymore, we can simply call upcalls.cmp_type.
2012-02-06change gcc_args to cc_args and make win32 use gccJyun-Yan You-30/+35
2012-02-06use cc instead of gccJyun-Yan You-1/+4
2012-02-03Store item paths in ast_map, get rid of trans::local_ctxtMarijn Haverbeke-12/+15
The direct motivation for this was that the monomorphizer needs to be able to generate sane symbols for random items. The typechecker can probably also use this in the future to provide more useful error messages.
2012-02-03Remove experimental GC codeMarijn Haverbeke-1/+1
It's been sitting unused long enough to have bitrotted completely.
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-1/+1
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 3Kevin Cantu-2/+2
2012-02-01Propagating unsafe::slice 2Kevin Cantu-2/+2
2012-02-01make boxes self-describing (fixes #1493)" (take 2)Niko Matsakis-11/+12
this will be used to generate a new snapshot.
2012-02-01Revert "make boxes self-describing (fixes #1493)" until a newNiko Matsakis-12/+11
snapshot is prepared.
2012-02-01make boxes self-describing (fixes #1493)Niko Matsakis-11/+12
2012-02-01Get rid of native types in LLVM moduleMarijn Haverbeke-9/+3
Code is still somewhat kludgy because we don't have 32-bit enums. Issue #1673
2012-01-31Change option::t to optionTim Chevalier-5/+5
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-31Require alts to be exhaustiveTim Chevalier-7/+22
middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive.
2012-01-27Move various trans_ modules under a trans:: umbrella moduleMarijn Haverbeke-7/+7
Closes #1304
2012-01-19rustc: ";" to "," in enumsPatrick Walton-6/+6
2012-01-19rustc: "tag" -> "enum"Patrick Walton-1/+1
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-6/+6
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-33/+33
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-19rustc: Use integer from ctypes consistentlyHaitao Li-6/+6
2012-01-19Use ctypes in native function declarationsHaitao Li-12/+13
2012-01-17roll back commit 1c7a62Niko Matsakis-2/+0
2012-01-17Fail slightly more gracefully when given an -o filename that doesn't have an ↵Tim Chevalier-1/+4
extension
2012-01-17Use a memset upcall to zero things without static alignmentMarijn Haverbeke-0/+2
This fixes issues #843 and #1546. The cost of an upcall is unfortunate, though. I assume there must be a way to simply manually compute the pointer or size, using something akin to the formula in `align_to` in `rust_util.h`. I could not get this to work, unfortunately.
2012-01-14build: Build libraries in the bin directory on win32Brian Anderson-1/+0
2012-01-13deprecate fn exprs and the fn() type, preferring fn@ and native fnNiko Matsakis-10/+9
2012-01-13Obj system? What obj system?Marijn Haverbeke-14/+1
Removes the obj system from the compiler. Closes #1484
2012-01-13Remove all remaining uses of objs from the compilerMarijn Haverbeke-2/+2
2012-01-12Revert "build: Build libraries in the bin directory on win32"Brian Anderson-0/+1
This reverts commit 23e0d16b5fd259dc252b220777f164f1e2eb9c30.