From 5f2cfa7351ec604de81c1a01a8438ced3b2c0024 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 18 Apr 2011 12:44:50 -0700 Subject: rustc: Add an operation field to compare glue with ==, <=, and < modes --- src/comp/back/abi.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/comp/back') diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs index 220fec81..f43e74ef 100644 --- a/src/comp/back/abi.rs +++ b/src/comp/back/abi.rs @@ -1,3 +1,4 @@ +// FIXME: Most of these should be uints. const int rc_base_field_refcnt = 0; @@ -42,6 +43,10 @@ const int tydesc_field_is_stateful = 9; const int tydesc_field_cmp_glue = 10; const int n_tydesc_fields = 11; +const uint cmp_glue_op_eq = 0u; +const uint cmp_glue_op_lt = 1u; +const uint cmp_glue_op_le = 2u; + const int obj_field_vtbl = 0; const int obj_field_box = 1; -- cgit v1.2.3