summary refs log tree commit diff
path: root/src/librustc/lib
AgeCommit message (Collapse)AuthorLines
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-6/+5
2013-06-28Add a depth counter to llvm::type_to_str to work around infinite llvm types.Michael Sullivan-6/+16
2013-06-28Add Float to llvm::type_to_str.Michael Sullivan-0/+1
2013-06-25Change finalize -> drop.Luqman Aden-4/+4
2013-06-22Fix warnings in transJames Miller-2/+0
2013-06-22Finish up Type refactoringJames Miller-35/+12
2013-06-22More Type refactoringsJames Miller-12/+0
2013-06-22Start refacting LLVM Type handlingJames Miller-9/+14
2013-06-22Change calls for TypeName stuff to methodsJames Miller-2/+9
2013-06-22Methodize TypeNamesJames Miller-104/+64
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-1/+1
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-21librust: cleanup warnings (except 1)James Miller-3/+1
2013-06-19rustc: Dispose of LLVM passes in test casesBrian Anderson-0/+3
2013-06-17Fixed rebase fallout .Vadim Chugunov-2/+0
2013-06-17Refactoring and tidy warnings cleanup.Vadim Chugunov-5/+6
2013-06-17Fixed remaining issues to pass debug-test/* tests.Vadim Chugunov-0/+8
Made debugger scripts source line insensitive.
2013-06-17Fixed compile warnings.Vadim Chugunov-4/+4
Fixed whitespace "errors".
2013-06-17Move "return" basic block after all other function blocks.Vadim Chugunov-0/+6
2013-06-17Made the while DebugContext mutable, not just created_* hashesVadim Chugunov-18/+25
Disabled create_arg
2013-06-17Use DIBuilder in debuginfoVadim Chugunov-2/+183
2013-06-13Don't run passes again on JIT codeAlex Crichton-2/+0
These passes are already run beforehand, no need to do them twice.
2013-06-13Revert "Revert "Have JIT execution take ownership of the LLVMContextRef""Alex Crichton-3/+11
This reverts commit 19adece68b00bd1873499cca6f1537750608d769.
2013-06-13Revert "Revert "Remove all usage of the global LLVMContextRef""Alex Crichton-64/+7
This reverts commit 541c657a738006d78171aa261125a6a46f283b35.
2013-06-13Revert "Remove all usage of the global LLVMContextRef"Brian Anderson-7/+64
This reverts commit 779191cd4b8719e8efdf69fb6da93e2a8905ca1d. Conflicts: src/librustc/middle/trans/base.rs src/librustc/middle/trans/common.rs
2013-06-13Revert "Have JIT execution take ownership of the LLVMContextRef"Brian Anderson-11/+3
This reverts commit 5c5095d25e3652c434c8d4ec178e6844877e3c2d. Conflicts: src/librusti/rusti.rc
2013-06-10Have JIT execution take ownership of the LLVMContextRefAlex Crichton-3/+11
Also stop leaking the ExecutionEngine created for jit code by forcibly disposing of it after the JIT code has finished executing
2013-06-10Remove all usage of the global LLVMContextRefAlex Crichton-64/+7
This allows parallel usage of the rustc library
2013-06-08rm some uses of to_mut_unsafe_ptrDaniel Micay-2/+1
2013-05-30Remove a bunch of unnecessary allocations and copiesBjörn Steinbrink-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+4
2013-05-29Further refactor optimization pass handlingJames Miller-196/+6
This refactors pass handling to use the argument names, so it can be used in a similar manner to `opt`. This may be slightly less efficient than the previous version, but it is much easier to maintain. It also adds in the ability to specify a custom pipeline on the command line, this overrides the normal passes, however. This should completely close #2396.
2013-05-29Refactor optimization pass handling.James Miller-1/+220
Refactor the optimization passes to explicitly use the passes. This commit just re-implements the same passes as were already being run. It also adds an option (behind `-Z`) to run the LLVM lint pass on the unoptimized IR.
2013-05-28Silence various warnings throughout test modulesAlex Crichton-1/+1
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-20rustllvm: Use target alignment for atomic load/storeBrian Anderson-2/+4
2013-05-19Test fixes, use LLVMConstFCmp in ConstFCmpCorey Richardson-6/+6
2013-05-19Fix LLVMConst{I,F}CmpCorey Richardson-3/+12
2013-05-19Implement unimplemented const binopsCorey Richardson-0/+5
2013-05-17Fix AtomicLoad builder codeJames Miller-0/+1
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-13TidyMatthijs Hofstra-1/+1
2013-05-12Adds atomic_load, atomic_load_acq, atomic_store, and atomic_store_rel ↵Matthijs Hofstra-4/+18
intrinsics. The default versions (atomic_load and atomic_store) are sequentially consistent. The atomic_load_acq intrinsic acquires as described in [1]. The atomic_store_rel intrinsic releases as described in [1]. [1]: http://llvm.org/docs/Atomics.html
2013-05-08librustc: Stop parsing modes and remove them entirely from the languagePatrick Walton-6/+12
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-10/+0
2013-04-27only use #[no_core] in libcoreDaniel Micay-6/+0
2013-04-22Choose target featuresSeo Sanghyeon-1/+2
2013-04-19rustc: de-mode + fallout from libsyntax changesAlex Crichton-1/+1
2013-04-19librustc: Implement fast-ffi and use it in various placesPatrick Walton-2/+438
2013-04-17rustc: Use an out pointer to return structs in x86 C ABI. #5347Brian Anderson-21/+20
This Adds a bunch of tests for passing and returning structs of various sizes to C. It fixes the struct return rules on unix, and on windows for structs of size > 8 bytes. Struct passing on unix for structs under a certain size appears to still be broken.
2013-04-03rename Linear{Map,Set} => Hash{Map,Set}Daniel Micay-5/+5