about summary refs log tree commit diff
path: root/src/comp/lib
AgeCommit message (Collapse)AuthorLines
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-4/+4
2011-12-04Upgrade LLVM to svn revision 145779Brian Anderson-6/+2
This pulls in commits 145765 & 145766, which are required for split stacks.
2011-11-25rustc: Fall back to intrinsics.ll if we can't parse the bcBrian Anderson-0/+3
This will allow us to transition to the new bitcode format.
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16wrap long lineNiko Matsakis-2/+2
2011-11-16temp workaround for failure to pass ulonglong successfullyNiko Matsakis-1/+1
2011-11-16Use attributes for native module ABI and link nameHaitao Li-1/+3
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-15rustllvm: Add a GetOrInsertFunction wrapperHaitao Li-0/+2
Fixes issue #1161 Test-case-by: Brian Anderson <banderson@mozilla.com> Signed-off-by: Haitao Li <lihaitao@gmail.com>
2011-11-10Cleanup unused importsHaitao Li-4/+2
2011-11-09Rename "c-stack-cdecl" ABI to "cdecl"Brian Anderson-1/+1
2011-11-07rustc: Add support of generating LLVM assemblyHaitao Li-0/+3
rustc generates output files in LLVM bitcode format if "--emit-llvm" option is given. When used with the "-S" option, rustc generates LLVM intermediate language assembly files. Fixes Issue #476
2011-11-07Fix a long lineMarijn Haverbeke-1/+1
2011-11-07llvm::mk_object_file should really return an option, since the underlying ↵Joshua Wise-3/+4
LLVM function can fail. Fixes a crash on OS X when rust has bad dylibs within eyeshot.
2011-10-31rustc: Enable segmented stacks in LLVM when --stack-growth is onPatrick Walton-0/+2
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-2/+2
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile
2011-10-12remove unsafe tagsNiko Matsakis-12/+12
2011-10-12continue to annotate functions as unsafe where neccessaryNiko Matsakis-14/+12
2011-10-12add unsafe tags into various points in the translation chainsNiko Matsakis-3/+9
and so forth
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-2/+2
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-09-30rustc: Call LLVM on the C stackPatrick Walton-1/+1
2011-09-30rustc: Stub a --stack-growth option; it's behind a flag for now because it ↵Patrick Walton-2/+2
requires patches to LLVM.
2011-09-20Remove some bogus white-space from llvm.rsMarijn Haverbeke-50/+2
2011-09-12Factor imports mindlessly.Graydon Hoare-23/+6
2011-09-12Merge branch 'unwind'Brian Anderson-0/+9
Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-10/+13
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-17/+28
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-11Add Rust definitions for new LLVM EH instructionsBrian Anderson-0/+9
Issue #236
2011-09-02Reformat. Issue #855Brian Anderson-48/+44
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-1/+1
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-3/+3
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-1/+1
2011-08-27Convert the rest of rustc::lib::llvm to istrs. Issue #855Brian Anderson-36/+37
2011-08-27Convert rustc::lib::llvm to istr::sbufs. Issue #855Brian Anderson-3/+4
2011-08-27Convert std::map::new_str_hash to istrs. Issue #855Brian Anderson-5/+9
2011-08-27Convert std::int to istrs. Issue #855Brian Anderson-2/+4
2011-08-24Move to a more lightweight builder systemMarijn Haverbeke-519/+0
You now do bld::Ret(bcx, someval) where you used to say bcx.build.Ret(someval) Two fewer boxes are allocated for each block context, and build calls no longer go through a vtable.
2011-08-20ReformatBrian Anderson-40/+45
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18Remove or _-prefix all unused function argumentsMarijn Haverbeke-1/+1
This should make the compilation process a bit less noisy.
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-7/+7
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-4/+4
2011-08-16Rename std::ivec to std::vecBrian Anderson-25/+25
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-2/+2
2011-08-11Use the new C API for PassManagerBuilder.Rafael Ávila de Espíndola-7/+24
2011-08-11Update for llvm api change.Rafael Ávila de Espíndola-7/+0
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-16/+16
2011-07-29Replace obj dtors with resources in stdlib and rustcMarijn Haverbeke-21/+28
2011-07-27Re-format some obj dtors that were messed up by the pretty-printerMarijn Haverbeke-8/+8
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-4/+3
2011-07-27Reformat for new syntaxMarijn Haverbeke-875/+867
2011-07-22Remove typechecker work-arounds now that I know howMarijn Haverbeke-1/+1