rustc_trans: promote constant rvalues in functions as an optimization.
This commit is contained in:
parent
df3cc0c55f
commit
f4473a4664
19 changed files with 880 additions and 777 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue