| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-11-16 | rustc: Use link_name attribute for native function | Haitao Li | -26/+29 | |
| Fixes issue #906 | ||||
| 2011-11-15 | rustc: Don't sign extend uints during translation | Brian Anderson | -1/+1 | |
| Doing so produces incorrect results on a 32-bit compiler targeting 64-bits | ||||
| 2011-11-15 | Support conditional compilation based on architecture | Brian Anderson | -1/+7 | |
| target_os = "x86" or target_os = "x86_64" | ||||
| 2011-11-15 | Use native fn's link name attribute if given | Haitao Li | -2/+8 | |
| Fixes issue #905 | ||||
| 2011-11-15 | Fix handling of loops and conditionals in alias.rs | Marijn Haverbeke | -62/+150 | |
| It now threads information about invalidated aliases through the AST properly. This makes it more permissive for conditionals (invalidating an alias in one branch doesn't prevent you from using it in another), and less permissive for loops (it now properly notices when a loop invalidates an alias that it might still use in another iteration). Closes #1144 | ||||
| 2011-11-15 | rustllvm: Add a GetOrInsertFunction wrapper | Haitao Li | -1/+4 | |
| Fixes issue #1161 Test-case-by: Brian Anderson <banderson@mozilla.com> Signed-off-by: Haitao Li <lihaitao@gmail.com> | ||||
| 2011-11-13 | Make various binops not typecheck for unsafe pointers. Closes #1173 | Brian Anderson | -1/+0 | |
| 2011-11-12 | Remove unused "--check-unsafe" flag | Haitao Li | -2/+1 | |
| Fixes issue #1138 | ||||
| 2011-11-10 | Cleanup unused imports | Haitao Li | -194/+103 | |
| 2011-11-10 | rustc: Add support of warning on unused imports | Haitao Li | -9/+35 | |
| Fixes issue #889 | ||||
| 2011-11-10 | Add float support to #fmt. Fix #1014. | Josh Matthews | -0/+3 | |
| 2011-11-09 | Rename "c-stack-stdcall" ABI to "stdcall" | Brian Anderson | -2/+0 | |
| 2011-11-09 | Rename "c-stack-cdecl" ABI to "cdecl" | Brian Anderson | -3/+1 | |
| 2011-11-09 | Add "cdecl" as synonym for "c-stack-cdecl" | Brian Anderson | -1/+3 | |
| 2011-11-09 | Add "stdcall" as synonym for "c-stack-stdcall" | Brian Anderson | -1/+3 | |
| 2011-11-09 | rustc: Rename native_abi_c_stack_cdecl to native_abi_cdecl | Brian Anderson | -10/+10 | |
| 2011-11-09 | rustc: Rename native_abi_c_stack_stdcall to native_abi_stdcall | Brian Anderson | -8/+8 | |
| 2011-11-09 | Remove native "x86stdcall" ABI | Brian Anderson | -21/+3 | |
| 2011-11-09 | Make native "c-stack-stdcall" ABI work | Brian Anderson | -1/+16 | |
| The symbol name is based on the number of arguments, so we have to declare it correctly. For some reason GetLastError doesn't work now. | ||||
| 2011-11-09 | trans: Add binops (except for logic and comparators) and unops to ↵ | Joshua Wise | -2/+78 | |
| trans_const_expr. Working towards issue #570. | ||||
| 2011-11-09 | middle: Add a pass to reject bad const expressions earlier. Currently just ↵ | Joshua Wise | -0/+45 | |
| rejects unimplemented const expressions, but will be needed later. | ||||
| 2011-11-08 | Remove native "cdecl" ABI | Brian Anderson | -16/+5 | |
| 2011-11-07 | Use ".ll" as default suffix of LLVM assembly file | Haitao Li | -1/+1 | |
| This commit is a follow up of Issue #1147. Althought there are some inconsistency about this naming convention in LLVM. For example, `clang' write LLVM assembly to a file with ".s" suffix, while both `llvm-dis' and `opt' write to files with ".ll" suffices. We think ".ll" makes more sense. Also rustc manual page is updated. | ||||
| 2011-11-07 | Remove native "llvm" ABI | Brian Anderson | -19/+1 | |
| 2011-11-07 | Remove native "rust" ABI | Brian Anderson | -13/+2 | |
| 2011-11-07 | [Parser] parser.rs: Made two error messages less ambiguous | David Rajchenbach-Teller | -2/+6 | |
| 2011-11-07 | rustc: Set LLVM module identifier as crate name | Haitao Li | -3/+3 | |
| 2011-11-07 | rustc: Add support of generating LLVM assembly | Haitao Li | -5/+19 | |
| 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-07 | Fix a long line | Marijn Haverbeke | -1/+1 | |
| 2011-11-07 | llvm::mk_object_file should really return an option, since the underlying ↵ | Joshua Wise | -4/+8 | |
| LLVM function can fail. Fixes a crash on OS X when rust has bad dylibs within eyeshot. | ||||
| 2011-11-03 | Disallow writing to function arguments again | Marijn Haverbeke | -85/+71 | |
| Remove implicit copying hack. Closes #1118 | ||||
| 2011-11-02 | fix line too long | Niko Matsakis | -1/+2 | |
| 2011-11-02 | add -m64 to gcc args if appropriate | Niko Matsakis | -6/+15 | |
| 2011-11-02 | correct more i32 vs int mismatches | Niko Matsakis | -2/+2 | |
| 2011-11-02 | convert various ints to i32 and vice versa | Niko Matsakis | -22/+22 | |
| 2011-11-02 | convert GEP to i32 | Niko Matsakis | -115/+67 | |
| 2011-11-02 | get things checking on ia32 | Niko Matsakis | -50/+39 | |
| 2011-11-02 | thread the context through so that int can be 64 bits on x86_64 | Niko Matsakis | -99/+149 | |
| 2011-11-02 | work on making the size of ints depend on the target arch | Niko Matsakis | -60/+92 | |
| 2011-11-02 | work on making the size of ints depend on the target arch | Niko Matsakis | -210/+295 | |
| 2011-11-02 | hack around on makefiles trying to get a 64 bit build | Niko Matsakis | -5/+55 | |
| right now there are many temporary hacks, search for NDM to find them | ||||
| 2011-11-02 | start to isolate target strings so that they can be configured for | Niko Matsakis | -74/+114 | |
| x64 or other targets | ||||
| 2011-11-02 | Evaluate alt expressions in their own block context | Marijn Haverbeke | -3/+10 | |
| Closes #785 | ||||
| 2011-11-02 | Rename car/cdr to head/tail in std::list | Marijn Haverbeke | -5/+4 | |
| Closes #1086 | ||||
| 2011-11-02 | Make it possible to cast unsafe pointers with the 'as' operator | Marijn Haverbeke | -6/+15 | |
| 2011-11-02 | Make 'lambda(...) -> ...' parse as a type | Marijn Haverbeke | -22/+9 | |
| 2011-11-02 | Make resolving of imports behave more sanely | Marijn Haverbeke | -65/+57 | |
| An import now ignores itself when resolving its target. This gets rid of the previously existing (problematic) behaviour where the import would start looking one scope up when its name was the same as its target's first component. Closes #1114 | ||||
| 2011-11-02 | Fix printing of parameterized tag types in ppaux | Marijn Haverbeke | -1/+1 | |
| It was printing option::t[int] instead of option::t<int> | ||||
| 2011-11-01 | Add should_fail annotation for unit tests | Matt Brubeck | -3/+19 | |
| This allows test cases to assert that a function is expected to fail. Tests annotated with "should_fail" will succeed only if the function fails. | ||||
| 2011-11-01 | Fix alignment of interior pointers of dynamic-size types. Closes #1112 | Brian Anderson | -8/+26 | |
| GEP_tup_like finds interior pointers by creating a tuple of all the types preceding the element it wants a pointer to, then asks for the size of that tuple. This results in incorrect pointers when the alignment of that tuple is not the alignment of the interior type you're getting a pointer to. | ||||
