about summary refs log tree commit diff
path: root/src/rustc/back
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustc/back')
-rw-r--r--src/rustc/back/abi.rs6
-rw-r--r--src/rustc/back/upcall.rs7
2 files changed, 0 insertions, 13 deletions
diff --git a/src/rustc/back/abi.rs b/src/rustc/back/abi.rs
index 706c8ed991e..7c35e3d892d 100644
--- a/src/rustc/back/abi.rs
+++ b/src/rustc/back/abi.rs
@@ -43,12 +43,6 @@ const tydesc_field_shape: uint = 6u;
 const tydesc_field_shape_tables: uint = 7u;
 const n_tydesc_fields: uint = 8u;
 
-const cmp_glue_op_eq: uint = 0u;
-
-const cmp_glue_op_lt: uint = 1u;
-
-const cmp_glue_op_le: uint = 2u;
-
 // The two halves of a closure: code and environment.
 const fn_field_code: uint = 0u;
 const fn_field_box: uint = 1u;
diff --git a/src/rustc/back/upcall.rs b/src/rustc/back/upcall.rs
index 8f6e48574b5..66241c7aa6d 100644
--- a/src/rustc/back/upcall.rs
+++ b/src/rustc/back/upcall.rs
@@ -18,7 +18,6 @@ type upcalls =
      mark: ValueRef,
      str_new_uniq: ValueRef,
      str_new_shared: ValueRef,
-     cmp_type: ValueRef,
      log_type: ValueRef,
      call_shim_on_c_stack: ValueRef,
      call_shim_on_rust_stack: ValueRef,
@@ -74,12 +73,6 @@ fn declare_upcalls(targ_cfg: @session::config,
           str_new_shared:
               nothrow(d(~"str_new_shared", ~[T_ptr(T_i8()), int_t],
                         T_ptr(T_i8()))),
-          cmp_type:
-              dv(~"cmp_type",
-                 ~[T_ptr(T_i1()), T_ptr(tydesc_type),
-                  T_ptr(T_i8()),
-                  T_ptr(T_i8()),
-                  T_i8()]),
           log_type:
               dv(~"log_type", ~[T_ptr(tydesc_type),
                               T_ptr(T_i8()), T_i32()]),