1
Fork 0

rustc_trans: promote constant rvalues in functions as an optimization.

This commit is contained in:
Eduard Burtescu 2015-01-29 14:03:34 +02:00
parent df3cc0c55f
commit f4473a4664
19 changed files with 880 additions and 777 deletions

View file

@ -881,6 +881,7 @@ extern {
/* Operations on global variables */
pub fn LLVMIsAGlobalVariable(GlobalVar: ValueRef) -> ValueRef;
pub fn LLVMAddGlobal(M: ModuleRef, Ty: TypeRef, Name: *const c_char)
-> ValueRef;
pub fn LLVMAddGlobalInAddressSpace(M: ModuleRef,