about summary refs log tree commit diff
path: root/src/comp/back
AgeCommit message (Collapse)AuthorLines
2011-06-27Rename middle::metadata to metadata::cwriter. Move creader to metadataBrian Anderson-6/+6
Preparation for a lot more metadata refactoring
2011-06-22rustc: Downcase metadata::EncodeBrian Anderson-1/+1
2011-06-22rustc: Introduce and parse additional meta_item formsBrian Anderson-7/+48
Examples: #[test], #[link(name = "vers")] Issue #487
2011-06-22Use fast regalloc and codegen at OptLevel=0.Rafael Ávila de Espíndola-3/+30
2011-06-20Added string duplication to deep_copy. Closes #520.Eric Holk-0/+3
2011-06-19rustc: Rename session.span_err -> span_fatal, err -> fatalBrian Anderson-3/+3
Issue #440
2011-06-19Revert previous 6 commits. Hopefully put out Windows fire.Brian Anderson-3/+3
Revert "rustc: Export only what's needed from middle::ty" This reverts commit 4255d58aa5db2a05362c4435a0e807205e1b8ed7. Revert "rustc: Make name resolution errors less fatal" This reverts commit b8ab9ea89c16c60237e7660804f4321f59ae0435. Revert "rustc: Make import resolution errors less fatal" This reverts commit 92a8ae94b971206bf0502da3dc5f416fcb24cc36. Revert "rustc: Export only what's used from middle::resolve" This reverts commit 4539a2cf7ad99851a165c98ed2f4e4a475cffd7d. Revert "rustc: Re-introduce session.span_err, session.err" This reverts commit 7fe9a88e31ae07f2fd89f6715efedd7e3edf49e6. Revert "rustc: Rename session.span_err -> span_fatal, err -> fatal" This reverts commit c394a7f49ac29a099994e243017065de2ff97f2a.
2011-06-19rustc: Rename session.span_err -> span_fatal, err -> fatalBrian Anderson-3/+3
Issue #440
2011-06-18rustc: Remove the meta keywordBrian Anderson-21/+1
Issue #487
2011-06-18Replace unexported meta tags with attributesBrian Anderson-0/+2
Issue #487
2011-06-17rustc: Support both meta tags and attributes for crate metadataBrian Anderson-0/+4
This is a transitional patch for converting from 'meta' to attributes. Issue #487
2011-06-16Reformat a bunch of recent churn.Graydon Hoare-8/+8
2011-06-16Removing dead upcall_join. Closes #509.Eric Holk-2/+0
2011-06-16Get rid of old vec_append glue.Michael Sullivan-4/+0
2011-06-15rustc: Change the default interior vector length to 4 per sciencePatrick Walton-1/+1
2011-06-15Just some typo fixes.Lindsey Kuper-3/+3
2011-06-15Fix a bunch of compile-command lines to use RBUILDGraydon Hoare-1/+1
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-273/+242
2011-06-14Remove vec_append_glue from the compiler.Michael Sullivan-2/+2
2011-06-14Implement upcall_vec_append and use it for vector append.Michael Sullivan-0/+5
2011-06-14rustc: Do a dynamic alloca for generic interior vectors; fix data pointer ↵Patrick Walton-1/+0
calculation when spilling vectors
2011-06-13rustc: Implement simple interior vector append translationPatrick Walton-2/+9
2011-06-13This is the mega-ucontext commit. It replaces the task switching mechanism ↵Eric Holk-5/+1
with a new one inspired by ucontext. It works under Linux, OS X and Windows, and is Valgrind clean on Linux and OS X (provided the runtime is built with gcc). This commit also moves yield and join to the standard library, as requested in #42. Join is currently a no-op though.
2011-06-12rustc: Preserve more type information for interior vectors at the LLVM ↵Patrick Walton-0/+1
level, allowing SROA to take place. `log ~[ 2 ].(0)` now optimizes to just `log 2`.
2011-06-11rustc: Bump the default interior vector size up to 64 bytesPatrick Walton-1/+1
2011-06-10rustc: Sketch out translation of interior vector literals and take/drop gluePatrick Walton-0/+11
2011-06-10Encode meta tags in the crate and start sketching enhanced logic for ↵Graydon Hoare-13/+31
resolving crate "use" directives. Now with extra "works on OSX" kludging.
2011-06-09Revert "Encode meta tags in the crate and start sketching enhanced logic for ↵Patrick Walton-31/+13
resolving crate "use" directives." due to tree bustage This reverts commit ab3635eebef2b8cf0e19cdbc5b4e8dd7a49a4658.
2011-06-09Encode meta tags in the crate and start sketching enhanced logic for ↵Graydon Hoare-13/+31
resolving crate "use" directives.
2011-06-09Further support for predicate constraintsTim Chevalier-1/+1
Changed function types to include a list of constraints. Added code for parsing and pretty-printing constraints. This necessitated splitting pprust into two files (pprust and ppaux) to break a circulate dependency, as ty_to_str now needs to print out constraints, which may include literals, but pprust depended on ty.
2011-06-09Some more workarounds to please the alias checkerMarijn Haverbeke-1/+2
Some of the vec utilities now only work on immutable vecs, since they would have to be rewritten to do a lot more copying to be alias-safe. Some forced copying was added to map.rs, showing a weakness in the alias checker (or maybe the alias system): when fn args are passed into a function, calling them must assume all aliases that are not immutably rooted (directly connected to a local or temporary without any mutable edges) become invalid. This will be a drag on functional programming in Rust. Work around alias issues in the stdlib
2011-06-08Update rust to build with newer llvm versions.Rafael Ávila de Espíndola-1/+0
2011-06-07More work on proper linkage name-mangling. Almost right, aside from version ↵Graydon Hoare-2/+244
numbers.
2011-05-31Now imports are not re-exported unless 'export' is explicitly used.Paul Stansifer-4/+5
2011-05-27Switching over to wrappers for spawning functions of multiple arguments. ↵Eric Holk-1/+1
Doesn't quite work yet.
2011-05-26More delicious dead code removal from runtime, upcalls.Graydon Hoare-14/+3
2011-05-26Fix typo in error messageTim Chevalier-2/+2
2011-05-26Remove native glues. All calls to C are direct now.Graydon Hoare-204/+1
2011-05-24There is only one yield glue.Rafael Ávila de Espíndola-42/+2
2011-05-24There is only one activate function now.Rafael Ávila de Espíndola-96/+2
2011-05-23rustc: Run the llvm verifier pass before optimization. Closes #376Brian Anderson-0/+4
The optimization passes were hiding some codegen errors so now we run the verifier both before and after optimization.
2011-05-20More work on anonymous objects.Lindsey Kuper-0/+2
2011-05-20Using the right mode...Eric Holk-1/+1
2011-05-20Translated start_task, but it fails on spp == align_down(spp)Eric Holk-2/+12
2011-05-20Called the new_task upcall. There are refcount issues though.Eric Holk-1/+1
2011-05-19OptLevel changes. Accepts levels 0 to 3 only. '-O' is synonym for --OptLevel=2.Graydon Hoare-11/+15
2011-05-18rustc: Fix output name of optimized glue when --save-temps is onPatrick Walton-1/+1
2011-05-18Remove dead code.Rafael Ávila de Espíndola-4/+0
2011-05-18And yet more dead code.Rafael Ávila de Espíndola-3/+0
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-32/+32
Except for _task, which is still a keyword.