about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-03-23rustc: Redo region inference to be a bit less brokenPatrick Walton-329/+390
2012-03-23Keep an explicit map of things that have to be spilledMarijn Haverbeke-11/+29
This prevents us from spilling locals more than once. Closes #2040
2012-03-23Remove last vestiges of old-style intrinsicsMarijn Haverbeke-139/+33
Closes #2048
2012-03-23Remove more needless context threading in transMarijn Haverbeke-177/+125
2012-03-23Revert resolve kludge that was working around #2049Marijn Haverbeke-12/+7
2012-03-23Stop trying to link intrinsics.bcMarijn Haverbeke-64/+0
2012-03-23Interpret native mods with ABI rust-intrinsic as builtinsMarijn Haverbeke-4/+1
2012-03-23Revert removal of intrinsicsMarijn Haverbeke-32/+200
Oops. We can't do this yet until the next snapshot.
2012-03-23Clean up some confused shuffling of def_ids in resolve.rsMarijn Haverbeke-34/+31
2012-03-23Rename builtin back to intrinsicMarijn Haverbeke-21/+21
As per Graydon's request Issue #1981
2012-03-23Remove support for the old-style intrinsicsMarijn Haverbeke-183/+15
Closes #2042 Closes #1981
2012-03-23Kludge in resolve to be able to land builtinsMarijn Haverbeke-7/+12
Something strange is happening to hash maps. I'm still investigating but want to get my snapshot built in the meantime. (Problem only happened on OS X.)
2012-03-23Fix bug in function-instance reuseMarijn Haverbeke-1/+11
You can't safely reuse functions that pass a T by move, since they might zero it out, which will not end well when it doesn't know its precise size.
2012-03-23Change vector append to no longer rely on an intrinsicMarijn Haverbeke-13/+27
Issue #1981
2012-03-23Support [rust_stack] annotation on native functions (crudely)Marijn Haverbeke-17/+47
2012-03-23Implement built-in native modules as an alternative to intrinsicsMarijn Haverbeke-57/+195
Issue #1981
2012-03-22Make cross-crate calls to class methods workTim Chevalier-21/+97
2012-03-22Bump version numbers to 0.2Brian Anderson-2/+2
2012-03-22Add an LLVM-instruction-counting mode to trans.Graydon Hoare-22/+403
Pipe to xdu to see a trans call graph of generated insns.
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-7/+11
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-922/+952
2012-03-21rustc: Use the right "nxt" function in unify_regionsPatrick Walton-3/+3
2012-03-21rustc: Long linesBrian Anderson-2/+4
2012-03-21Merge remote-tracking branch 'mozilla/master'Josh Matthews-0/+28
2012-03-21rustc: Add a function to record region bindingsPatrick Walton-0/+28
2012-03-21Avoid mangling names differently in debug builds to work around a build ↵Josh Matthews-48/+54
error. Fix up file name and path debug information, and build one compilation unit for a crate instead of one per source file.
2012-03-21rustc: Replace region parameters in function return valuesPatrick Walton-9/+35
2012-03-21rustc: Check call and bind expressions using a set of region bindingsPatrick Walton-10/+29
2012-03-21rustc: Add a version of `demand` that takes in a set of region variable bindingsPatrick Walton-7/+35
2012-03-21methods workTim Chevalier-33/+112
Cross-crate method calls don't work yet. Added run-pass/class-method-cross-crate to test that, but it's xfailed References to fields within methods don't work yet. Added run-pass/class-methods to test that, but it's also xfailed
2012-03-21rustc: Add region unification functionsPatrick Walton-2/+60
2012-03-21rustc: Introduce re_params into the typecheckerPatrick Walton-17/+36
This is the first step of the region refactoring I need to do in order to handle named regions properly.
2012-03-21Fix bug in vtable resolutionMarijn Haverbeke-2/+0
2012-03-20Implement an initial version of placement new.Niko Matsakis-56/+199
2012-03-20stdlib: Implement arenasPatrick Walton-2/+2
2012-03-20rustc: Fix a few more instances of node ID stomping, due to AST folding ↵Patrick Walton-3/+5
incorrectly passing stuff through unchanged
2012-03-20rustc: Make the quasiquote operator stop reusing nodes (and therefore stop ↵Patrick Walton-3/+4
reusing node IDs). Should fix issue #1947 for real.
2012-03-20Class methods WIPTim Chevalier-258/+377
In particular, use the ast::method type to represent a class method, and try to reuse as much iface code as possible. (This makes sense now since I'll be allowing polymorphic class methods.)
2012-03-20core: Rename unsafe::leak to unsafe::forget. Closes #2031Brian Anderson-2/+2
2012-03-20Remove unused "flav" parameter from function registration paths.Graydon Hoare-17/+15
2012-03-20Fix naughty mangling-breakage from stringifying a node ID. Close #1344.Graydon Hoare-1/+1
2012-03-20Work on fixing name mangling.Graydon Hoare-33/+47
2012-03-20rustdoc: Run the entire resolve passBrian Anderson-11/+1
2012-03-20Remove object file directly rather than running "rm". Close #1778 also.Graydon Hoare-1/+4
2012-03-20make native and crust functions conform to x86-64 ABIJyun-Yan You-35/+564
2012-03-20rustc: Be more careful about spans in 'unexpected token' errorsMarijn Haverbeke-9/+12
Closes #2017
2012-03-20Revert order of arguments to option::maybe and from_maybeMarijn Haverbeke-5/+5
Closes #2019
2012-03-20Fix caching bug in resolve, get rid of enumness kludgeMarijn Haverbeke-106/+55
Closes #1911
2012-03-20Only make symbols external when they are actually externally accessibleMarijn Haverbeke-25/+33
Closes #2030
2012-03-20Move external-reachability checker to transMarijn Haverbeke-21/+20
Preparation for a fix for issue #2020