about summary refs log tree commit diff
path: root/src/comp/lib
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-1113/+0
2012-02-28libcore: Remove vec::to_ptr in favor of vec::unsafe::to_ptr. Closes #1829.Patrick Walton-3/+3
2012-02-09Remove some pointless importsMarijn Haverbeke-1/+0
2012-02-01Get rid of native types in LLVM moduleMarijn Haverbeke-134/+146
Code is still somewhat kludgy because we don't have 32-bit enums. Issue #1673
2012-01-31Change option::t to optionTim Chevalier-3/+3
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-29rustc: Add a missing llvm linkage typeBrian Anderson-0/+1
2012-01-29rustc: Add some missing llvm defs. Fix commentsBrian Anderson-3/+5
2012-01-21issue #1352: change param order on vec::init_elt, putting block in final ↵Graham Fawcett-4/+4
position. To match the init_fn() and init_fn_mut() changes.
2012-01-19rustc: "tag" -> "enum"Patrick Walton-1/+1
2012-01-19Use ctypes in native function declarationsHaitao Li-105/+114
2012-01-14Fix up LLVM type stringification to correspond to Core.hJosh Matthews-12/+13
2012-01-13llvm: Switch back to LLVM trunkBrian Anderson-1/+1
2012-01-13Remove all remaining uses of objs from the compilerMarijn Haverbeke-25/+17
2012-01-03More work on translating dictionary-passingMarijn Haverbeke-1/+2
Reached a point where simple uses of interfaces without bounds work. Issue #1227
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-1/+1
#debug.
2011-12-18Add debug info for local vars, basic fundamental types, and lexical blocks, ↵Josh Matthews-0/+2
along with source line information generation for individual instructions.
2011-12-18Generate basic debug info for files, functions and compile units.Josh Matthews-0/+3
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