about summary refs log tree commit diff
path: root/src/comp/middle
AgeCommit message (Collapse)AuthorLines
2011-11-17remove blank lineNiko Matsakis-1/+0
2011-11-17add FIXME for issue #1184Niko Matsakis-0/+4
2011-11-17fix resource-genericNiko Matsakis-8/+5
2011-11-17Stop using temporary intrinsic_2 functionsBrian Anderson-1/+1
2011-11-17remove compile-command from local variable blocksNiko Matsakis-25/+0
2011-11-17rustc: Add a flag '--warn-unused-imports'Haitao Li-1/+3
Followup of issue #889
2011-11-17rustc: Fix warn on unused import bugHaitao 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-16fix minor merge errorsNiko Matsakis-18/+13
2011-11-16apply calling convention at call site tooNiko Matsakis-1/+1
2011-11-16temp workaround for failure to pass ulonglong successfullyNiko Matsakis-1/+3
2011-11-16remove wrappers from intrinsicsNiko Matsakis-141/+9
2011-11-16make stdcall use shimNiko Matsakis-43/+26
2011-11-16fix natives with user-specified link names, remove unused importsNiko Matsakis-7/+16
2011-11-16fix bug in shape where s_int/s_uint were not customized to platformNiko Matsakis-12/+29
2011-11-16temporarily disable these tests b/c they crash rustcNiko Matsakis-4/+4
2011-11-16enable comments in generated asm, llNiko Matsakis-3/+24
2011-11-16correct translation of neg. numbers in 64-bit architecturesNiko Matsakis-17/+11
2011-11-16remove fixed FIXMENiko Matsakis-1/+0
2011-11-16wrap long lineNiko Matsakis-1/+2
2011-11-16finish up the shim approachNiko Matsakis-9/+17
2011-11-16add back call to zero_and_revokeNiko Matsakis-0/+1
2011-11-16begin efforts to use shim functions for c-stack callsNiko Matsakis-63/+142
2011-11-16rustc: Use link_name attribute for native functionHaitao Li-12/+12
Fixes issue #906
2011-11-15rustc: Don't sign extend uints during translationBrian Anderson-1/+1
Doing so produces incorrect results on a 32-bit compiler targeting 64-bits
2011-11-15Use native fn's link name attribute if givenHaitao Li-2/+8
Fixes issue #905
2011-11-15Fix handling of loops and conditionals in alias.rsMarijn Haverbeke-62/+149
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-15rustllvm: Add a GetOrInsertFunction wrapperHaitao Li-1/+2
Fixes issue #1161 Test-case-by: Brian Anderson <banderson@mozilla.com> Signed-off-by: Haitao Li <lihaitao@gmail.com>
2011-11-13Make various binops not typecheck for unsafe pointers. Closes #1173Brian Anderson-1/+0
2011-11-10Cleanup unused importsHaitao Li-116/+67
2011-11-10rustc: Add support of warning on unused importsHaitao Li-9/+35
Fixes issue #889
2011-11-09rustc: Rename native_abi_c_stack_cdecl to native_abi_cdeclBrian Anderson-3/+3
2011-11-09rustc: Rename native_abi_c_stack_stdcall to native_abi_stdcallBrian Anderson-2/+2
2011-11-09Remove native "x86stdcall" ABIBrian Anderson-15/+3
2011-11-09Make native "c-stack-stdcall" ABI workBrian 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-09trans: Add binops (except for logic and comparators) and unops to ↵Joshua Wise-2/+78
trans_const_expr. Working towards issue #570.
2011-11-09middle: Add a pass to reject bad const expressions earlier. Currently just ↵Joshua Wise-0/+42
rejects unimplemented const expressions, but will be needed later.
2011-11-08Remove native "cdecl" ABIBrian Anderson-7/+2
2011-11-07Remove native "llvm" ABIBrian Anderson-13/+1
2011-11-07Remove native "rust" ABIBrian Anderson-6/+1
2011-11-07rustc: Set LLVM module identifier as crate nameHaitao Li-3/+3
2011-11-03Disallow writing to function arguments againMarijn Haverbeke-68/+63
Remove implicit copying hack. Closes #1118
2011-11-02fix line too longNiko Matsakis-1/+2
2011-11-02add -m64 to gcc args if appropriateNiko Matsakis-2/+4
2011-11-02correct more i32 vs int mismatchesNiko Matsakis-2/+2
2011-11-02convert various ints to i32 and vice versaNiko Matsakis-22/+22
2011-11-02convert GEP to i32Niko Matsakis-112/+64
2011-11-02get things checking on ia32Niko Matsakis-44/+32
2011-11-02thread the context through so that int can be 64 bits on x86_64Niko Matsakis-86/+123
2011-11-02work on making the size of ints depend on the target archNiko Matsakis-60/+92
2011-11-02work on making the size of ints depend on the target archNiko Matsakis-210/+295