about summary refs log tree commit diff
path: root/src/comp/back
AgeCommit message (Collapse)AuthorLines
2011-07-12rustc: Remove some useless std::vec importsPatrick Walton-1/+0
2011-07-12rustc: Remove exterior vectors from front::attrPatrick Walton-5/+5
2011-07-07rustc: Make trans use interior vectorsPatrick Walton-10/+10
2011-07-07Merge pull request #634 from robarnold/upstream-stablePatrick Walton-2/+13
Allocate ivecs out of the kernel pool
2011-07-07Rename encoder::ty_str to encoded_strBrian Anderson-1/+1
2011-07-07Move tyencode::ty_str to metadata::encoderBrian Anderson-1/+2
2011-07-07Refactor tyencode::ty_str to not require a tyencode::ctxtBrian Anderson-5/+1
All users were constructing the context the same way.
2011-07-07Command line changes for adding support for static libraries.Rafael Ávila de Espíndola-1/+1
2011-07-06Allocate rust_ivec buffers out of the kernel poolRob Arnold-2/+13
The duplication of upcalls is due to the fact that the runtime is shared between stage0/rustc and stage1/rustc. Once snapshots are updated, they should be de-duplicated.
2011-07-06Remove temporary stdlib placeholders, use actual stdlib functionsMarijn Haverbeke-1/+0
(Possible now that a snapshot took place.)
2011-07-05Change ast::meta_name_value to accept any literal, not just stringBrian Anderson-9/+16
This isn't useful for much of anything yet, since metadata::encoder doesn't know how to handle the non-string variants. Issue #611
2011-07-05Warn when compiling shared crates that don't have name/vers link attributesBrian Anderson-5/+19
Closes #614
2011-07-05Error if the link attribute has duplicate items. Issue #614Brian Anderson-6/+6
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-3/+3
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.
2011-07-01Add some FIXMEs for issue #607Brian Anderson-0/+1
2011-06-30Kill unused variablesTim Chevalier-1/+0
2011-06-30Move middle::attr to front::attrBrian Anderson-1/+1
2011-06-29Re-enable tidy (it was broken) and fix various non-tidy things.Graydon Hoare-1/+2
2011-06-29Correctly locate the crate's version from the link attributeBrian Anderson-1/+1
2011-06-29Encapsulate more crate meta calculationsBrian Anderson-79/+79
2011-06-29Move the calculation of the crate name, vers and cmh to a single functionBrian Anderson-3/+20
2011-06-28Comments and cleanup.Lindsey Kuper-4/+2
2011-06-28rustc: Rename take glue to copy gluePatrick Walton-1/+1
2011-06-28Re-enabling some tests.Eric Holk-1/+1
2011-06-28There is only one domain per kernel now.Eric Holk-6/+0
2011-06-28Extract meta_item sorting from back::link to middle::attrBrian Anderson-23/+6
2011-06-28Rework how linkage attributes are determinedBrian Anderson-63/+45
The meta items within a crate's link attribute are used in linkage: #[link(name = "std", vers = "1.0", custom = "whatever")]; Name and vers are treated specially, and everything else is hashed together into the crate meta hash. Issue #487
2011-06-28Write metadata for more meta_item types. Issue #487Brian Anderson-12/+14
2011-06-27Move what's left of metadata::cwriter into middle::transBrian Anderson-1/+0
2011-06-27Extract llvm-independent code from cwriter to metadata::encoderBrian Anderson-2/+1
2011-06-27Move metadata::cwriter::encode to metadata::tyencodeBrian Anderson-3/+2
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