diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-09-11 12:12:13 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-09-11 12:12:13 -0700 |
| commit | 23880daef2fbdfc01f8651fa8e84eb9700cceb3c (patch) | |
| tree | 3f33d4801b62887b341ed690da9d6306e07e59f6 /src/rustc/back | |
| parent | cd8ec6d9236867d3f088432033f56b6ad29c15a7 (diff) | |
| download | rust-23880daef2fbdfc01f8651fa8e84eb9700cceb3c.tar.gz rust-23880daef2fbdfc01f8651fa8e84eb9700cceb3c.zip | |
rustc: Remove the cmp type upcall
Diffstat (limited to 'src/rustc/back')
| -rw-r--r-- | src/rustc/back/abi.rs | 6 | ||||
| -rw-r--r-- | src/rustc/back/upcall.rs | 7 |
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()]), |
