about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-06-19Fix pp blank-line insertion after isolated comments in cboxes.Graydon Hoare-8/+21
2011-06-19rustc: Change smallintmap to use an ivec and use it for the node type table. ↵Patrick Walton-18/+6
3x typechecking speedup.
2011-06-19rustc: Make name resolution errors less fatalBrian Anderson-51/+80
Failure happens at the end of name resolution Issue #440
2011-06-19rustc: Make import resolution errors less fatalBrian Anderson-12/+57
Failure happens at the end of import resolution Issue #440
2011-06-19rustc: Export only what's needed from middle::tyBrian Anderson-3/+164
The list is formidable.
2011-06-19rustc: Export only what's used from middle::resolveBrian Anderson-0/+3
2011-06-19rustc: Re-introduce session.span_err, session.errBrian Anderson-2/+16
These errors are non-fatal. The session.abort_if_errors function needs to be called at strategic points to convert the previous errors to utter failure. Issue #440
2011-06-19rustc: Rename session.span_err -> span_fatal, err -> fatalBrian Anderson-130/+136
Issue #440
2011-06-19Revert previous 6 commits. Hopefully put out Windows fire.Brian Anderson-449/+191
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: Export only what's needed from middle::tyBrian Anderson-3/+164
The list is formidable.
2011-06-19rustc: Make name resolution errors less fatalBrian Anderson-51/+80
Failure happens at the end of name resolution Issue #440
2011-06-19rustc: Make import resolution errors less fatalBrian Anderson-12/+57
Failure happens at the end of import resolution Issue #440
2011-06-19rustc: Export only what's used from middle::resolveBrian Anderson-0/+3
2011-06-19rustc: Re-introduce session.span_err, session.errBrian Anderson-2/+16
These errors are non-fatal. The session.abort_if_errors function needs to be called at strategic points to convert the previous errors to utter failure. Issue #440
2011-06-19rustc: Rename session.span_err -> span_fatal, err -> fatalBrian Anderson-130/+136
Issue #440
2011-06-18rustc: Store the lhs and rhs of receive exprs in left to right orderBrian Anderson-27/+27
With the changing of receive semantics the parser has been putting the rhs expression in the first argument of expr_recv and the lhs in the second, and all subsequent passes have been referring to them backwords (but still doing the right thing because they were assuming that lhs was the port and rhs was the receiver). This makes all code agree on what lhs and rhs mean for receive expressions.
2011-06-18rustc: receive is spelled |> nowBrian Anderson-1/+1
2011-06-18Typecheck block tail expressions that are fn return valuesBrian Anderson-1/+12
2011-06-18rustc: Remove the meta keywordBrian Anderson-34/+1
Issue #487
2011-06-18Replace unexported meta tags with attributesBrian Anderson-3/+4
Issue #487
2011-06-18rustc: Replace 'export meta' with attributesBrian Anderson-4/+4
Issue #487
2011-06-18Add -lssp on windows in attempt to put out tinderbox; no idea why ssp seems ↵Graydon Hoare-1/+1
required on mingw.
2011-06-18rustc: Allocate derived tydescs before dynamically sized allocasPatrick Walton-38/+74
2011-06-18rustc: Don't bother to supply an alignment argument to the memmove ↵Patrick Walton-10/+8
intrinsic; LLVM is very fussy about what it considers a constant.
2011-06-18rustc: Cache results of type_has_pointers. 70% translation speedup.Patrick Walton-21/+27
2011-06-17rustc: Add missing case for interior vectors in alias.rsPatrick Walton-0/+6
2011-06-17Restructure the "checking" pass in typestateTim Chevalier-119/+324
I noticed that typestate was being lazier than it should be, because it was only checking typestate for statements and top-level expression (that is, the expression in a stmt_expr, but not any subexpressions). So I rewrote the checks in tstate/ck.rs to use walk, which exposed a few bugs in typestate that I fixed. Also added some more test cases for if-check.
2011-06-17rustc: Increment by the dynamically-computed size in ivec::trans_append. ↵Patrick Walton-9/+21
Uncomment init_fn test in lib-ivec.
2011-06-17rustc: Use correct version key in metadataBrian Anderson-1/+1
2011-06-17rustc: Fix a bunch of memory management bugs relating to generic interior ↵Patrick Walton-7/+94
vectors. Uncomment all tests in lib-ivec.
2011-06-17Revert "rustc: Fix a bunch of memory management bugs relating to generic ↵Patrick Walton-87/+6
interior vectors" This reverts commit 2b5e40311ddb6afcacf772e54a96a5204223dcc5.
2011-06-17rustc: Fix a bunch of memory management bugs relating to generic interior ↵Patrick Walton-6/+87
vectors
2011-06-17Implemented enough of deep_copy that we can pass scalars and channels to ↵Eric Holk-35/+39
tasks. Closes #507.
2011-06-17Started using deep_copy for spawn arguments.Eric Holk-15/+86
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-17rustc: Remove metadata from the session.Brian Anderson-8/+2
This mechanism was not being used for anything. Issue #487.
2011-06-17Put std in stageN/lib. This avoids windows trying to load stageN/std.ll whenRafael Ávila de Espíndola-2/+2
stageN/runstc.exe is run.
2011-06-17rustc: Add a type_owns_heap_mem() predicatePatrick Walton-0/+33
2011-06-17rustc: Cast to opaque interior vector types in trans_vec_append if ↵Patrick Walton-2/+13
necessary. Puts out burning tinderbox.
2011-06-17rustc: Copy the contents of generic interior vectorsPatrick Walton-83/+73
2011-06-17Revert "rustc: Copy the contents of generic interior vectors"Patrick Walton-73/+83
This reverts commit 5bdbe1dfc217b77ff6ff5c0d67b8ac274b50f2d3.
2011-06-17rustc: Copy the contents of generic interior vectorsPatrick Walton-83/+73
2011-06-17rustc: Demand that if conditions have bool typeBrian Anderson-0/+3
Closes #513
2011-06-17rustc: Fail to unify if two ty_vars don't unifyBrian Anderson-1/+6
Closes #500
2011-06-17rustc: Demand unification of both sides of a binopBrian Anderson-0/+5
Issue #500
2011-06-17Automatically add a -L to the directory the binary is in.Rafael Ávila de Espíndola-4/+5
2011-06-16Consistify ast::local.Paul Stansifer-70/+75
2011-06-16rustc: Fix dominance issue when translating generic interior vectorsPatrick Walton-21/+64
2011-06-16Add better error messages for bad attributes in .rc filesBrian Anderson-1/+2
Issue #487
2011-06-16rustc: Fix regressed handling of bad attributesBrian Anderson-1/+6
Issue #487