And yet more dead code.

上级 d108bfe2
......@@ -69,9 +69,6 @@
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;
......
......@@ -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);
......
......@@ -243,8 +243,6 @@ public:
size_t n_c_syms;
size_t n_libs;
uintptr_t abi_tag;
// Crates are immutable, constructed by the compiler.
uintptr_t get_image_base() const;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册