diff options
| author | Patrick Walton <[email protected]> | 2011-04-18 12:44:50 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-04-18 12:57:00 -0700 |
| commit | 5f2cfa7351ec604de81c1a01a8438ced3b2c0024 (patch) | |
| tree | c526b2a32b727a8fb027db30e15e3d790368cd0a /src/comp/back | |
| parent | Revert 9ab42038bb13d3c8b01faa9c88e660e4e590fb00 while I find what is (diff) | |
| download | rust-5f2cfa7351ec604de81c1a01a8438ced3b2c0024.tar.xz rust-5f2cfa7351ec604de81c1a01a8438ced3b2c0024.zip | |
rustc: Add an operation field to compare glue with ==, <=, and < modes
Diffstat (limited to 'src/comp/back')
| -rw-r--r-- | src/comp/back/abi.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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; |