And yet more dead code.

This commit is contained in:
Rafael Ávila de Espíndola 2011-05-18 14:28:08 -04:00
parent d108bfe2ee
commit a795d0e5b2
3 changed files with 2 additions and 9 deletions

View file

@ -69,9 +69,6 @@ const int worst_case_glue_call_args = 7;
const int n_native_glues = 8;
const int abi_x86_rustboot_cdecl = 1;
const int abi_x86_rustc_fastcall = 2;
tag native_glue_type {
ngt_rust;
ngt_pure_rust;

View file

@ -509,8 +509,7 @@ fn T_crate(&type_names tn) -> TypeRef {
T_int(), // size_t main_exit_task_glue
T_int(), // int n_rust_syms
T_int(), // int n_c_syms
T_int(), // int n_libs
T_int() // uintptr_t abi_tag
T_int() // int n_libs
]);
tn.associate(s, t);
ret t;
@ -7504,8 +7503,7 @@ fn create_crate_constant(ValueRef crate_ptr, @glue_fns glues) {
exit_task_glue_off, // size_t main_exit_task_glue_off
C_null(T_int()), // int n_rust_syms
C_null(T_int()), // int n_c_syms
C_null(T_int()), // int n_libs
C_int(abi::abi_x86_rustc_fastcall) // uintptr_t abi_tag
C_null(T_int()) // int n_libs
]);
llvm::LLVMSetInitializer(crate_ptr, crate_val);