| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-11-21 | rustc: Remove abi from ast::native_mod | Haitao Li | -128/+126 | |
| 2011-11-21 | Close hole in safe-reference analysis | Marijn Haverbeke | -3/+15 | |
| 2011-11-21 | Add a pass that checks that blocks are only used in safe ways | Marijn Haverbeke | -0/+44 | |
| Closes #1188 | ||||
| 2011-11-21 | Fix bad interaction between last-use finding and references | Marijn Haverbeke | -15/+32 | |
| The last-use pass now takes input from the alias pass to not mark things as last uses that are still accessed through a reference. Issue #925 | ||||
| 2011-11-18 | get pure wrappers approach running | Niko Matsakis | -106/+54 | |
| 2011-11-18 | sketch out design | Niko Matsakis | -54/+98 | |
| 2011-11-18 | Add some comments to kind.rs and last_use.rs | Marijn Haverbeke | -0/+33 | |
| 2011-11-18 | Make sure by-copy arguments take last-use into account | Marijn Haverbeke | -1/+7 | |
| 2011-11-18 | Make sure trans translates record fields in the order they appear in code | Marijn Haverbeke | -24/+25 | |
| This prevents surprising side-effect orders, and makes them easier for the other passes to deal with. | ||||
| 2011-11-18 | Make trans use last_use info to not actually generate copies | Marijn Haverbeke | -25/+48 | |
| Issue #925 | ||||
| 2011-11-18 | Update stdlib, compiler, and tests to new kind system | Marijn Haverbeke | -63/+57 | |
| This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177 | ||||
| 2011-11-18 | Implement a last-use-of-local finding algorithm | Marijn Haverbeke | -4/+231 | |
| Issue #925 | ||||
| 2011-11-18 | Properly check kinds in instantiation of generics | Marijn Haverbeke | -286/+29 | |
| Issue #1177 | ||||
| 2011-11-18 | Prevent alias pass from inserting implicit copies for noncopyable types | Marijn Haverbeke | -6/+4 | |
| Issue #1177 | ||||
| 2011-11-18 | Overhaul the kind-checking pass | Marijn Haverbeke | -126/+189 | |
| Not really useful yet because missing last-use-of-local optimization. Also: instantiation of type parameters needs to be checked. Issue #1177 | ||||
| 2011-11-18 | Make tag, resource and object constructors take their arguments by copy | Marijn Haverbeke | -40/+18 | |
| Doing something like some([1, 2, 3]) will now no longer create a temporary copy of the vector. It will also be easier for the kind checker to see that putting a resource into a data-structure constructor is safe. | ||||
| 2011-11-18 | Add a pass-by-copy parameter passing convention | Marijn Haverbeke | -10/+28 | |
| This is intended to solve the problem of how to pass arguments to constructor functions -- you want to move in rvalues, but not have to explicitly copy stuff that is not an rvalue. The by-copy passing convention will ensure the callee gets its own copy of the value. For rvalues, it'll just pass off the value. For lvalues, it'll make a copy. Issue #1177 | ||||
| 2011-11-18 | Preparation for kind system overhaul | Marijn Haverbeke | -58/+62 | |
| This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177 | ||||
| 2011-11-17 | remove blank line | Niko Matsakis | -1/+0 | |
| 2011-11-17 | add FIXME for issue #1184 | Niko Matsakis | -0/+4 | |
| 2011-11-17 | fix resource-generic | Niko Matsakis | -8/+5 | |
| 2011-11-17 | Stop using temporary intrinsic_2 functions | Brian Anderson | -1/+1 | |
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -61/+0 | |
| 2011-11-17 | rustc: Add a flag '--warn-unused-imports' | Haitao Li | -4/+12 | |
| Followup of issue #889 | ||||
| 2011-11-17 | rustc: Fix warn on unused import bug | Haitao Li | -11/+10 | |
| rustc generates incorrect warning for cascaded import declarations like: use std; import std::io; import io::println; fn main() { println("hello"); } warning: unused import io A followup of issue #889 | ||||
| 2011-11-16 | remove unused flag (thanks lht) | Niko Matsakis | -1/+1 | |
| 2011-11-16 | Removed --no-typestate flag from rutsc | Stefan Plantikow | -9/+3 | |
| Fixes issue #1139 | ||||
| 2011-11-16 | rustc: Fix help text for --sysroot | Brian Anderson | -1/+1 | |
| 2011-11-16 | fix minor merge errors | Niko Matsakis | -18/+13 | |
| 2011-11-16 | wrap long line | Niko Matsakis | -2/+2 | |
| 2011-11-16 | apply calling convention at call site too | Niko Matsakis | -1/+1 | |
| 2011-11-16 | temp workaround for failure to pass ulonglong successfully | Niko Matsakis | -2/+4 | |
| 2011-11-16 | remove wrappers from intrinsics | Niko Matsakis | -141/+9 | |
| 2011-11-16 | make stdcall use shim | Niko Matsakis | -43/+26 | |
| 2011-11-16 | Various fixes for x86_64 on linux | Brian Anderson | -2/+7 | |
| Configure LLVM correctly, use the right data layout, add the readlink function back, fix C constants, etc. | ||||
| 2011-11-16 | fix natives with user-specified link names, remove unused imports | Niko Matsakis | -9/+18 | |
| 2011-11-16 | fix bug in shape where s_int/s_uint were not customized to platform | Niko Matsakis | -12/+29 | |
| 2011-11-16 | wrap long line; | Niko Matsakis | -1/+2 | |
| 2011-11-16 | temporarily disable these tests b/c they crash rustc | Niko Matsakis | -4/+4 | |
| 2011-11-16 | enable comments in generated asm, ll | Niko Matsakis | -6/+36 | |
| 2011-11-16 | correct translation of neg. numbers in 64-bit architectures | Niko Matsakis | -17/+11 | |
| 2011-11-16 | remove fixed FIXME | Niko Matsakis | -1/+0 | |
| 2011-11-16 | wrap long line | Niko Matsakis | -1/+2 | |
| 2011-11-16 | finish up the shim approach | Niko Matsakis | -9/+17 | |
| 2011-11-16 | add back call to zero_and_revoke | Niko Matsakis | -0/+1 | |
| 2011-11-16 | begin efforts to use shim functions for c-stack calls | Niko Matsakis | -76/+148 | |
| 2011-11-16 | Replace 'mutable?' with 'const' | Brian Anderson | -4/+3 | |
| 2011-11-16 | rustc: Accept 'const' as synonym for 'mutable?' | Brian Anderson | -4/+7 | |
| 2011-11-16 | Use attributes for native module ABI and link name | Haitao Li | -69/+32 | |
| 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-16 | Use attributes for native module ABI and link name [temp] | Haitao Li | -1/+25 | |
| This patch adds support of using attributes to specify native mode ABI and link name. The old optional syntax like: native "cdecl" mod llvm = "rustllvm" { ... } is still supported. This is a transitional commit to avoid making a stage1 (backward imcompatible) snapshot. | ||||
