about summary refs log tree commit diff
path: root/src/rt
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2012-02-07 14:37:10 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2012-02-07 14:37:10 +0100
commit47143ee24a135ee2a82864c9ff892fafe5cd262d (patch)
tree70a103ed25a5b4f3bc1bc199d4f01b5fae1daf83 /src/rt
parentb28a5552e3e822063499c8fb7c6c0be6bb881863 (diff)
downloadrust-47143ee24a135ee2a82864c9ff892fafe5cd262d.tar.gz
rust-47143ee24a135ee2a82864c9ff892fafe5cd262d.zip
Stop storing cmp glue in tydescs
There's no such thing anymore, we can simply call upcalls.cmp_type.
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/rust_internal.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h
index 8536681ecad..beb772edbe2 100644
--- a/src/rt/rust_internal.h
+++ b/src/rt/rust_internal.h
@@ -221,9 +221,6 @@ public:
 
 typedef void CDECL (glue_fn)(void *, void *,
                              const type_desc **, void *);
-typedef void CDECL (cmp_glue_fn)(void *, void *,
-                                 const type_desc **,
-                                 void *, void *, int8_t);
 
 struct rust_shape_tables {
     uint8_t *tags;
@@ -270,11 +267,11 @@ struct type_desc {
     glue_fn *take_glue;
     glue_fn *drop_glue;
     glue_fn *free_glue;
-    void *unused;
+    void *UNUSED;
     glue_fn *sever_glue;    // For GC.
     glue_fn *mark_glue;     // For GC.
     uintptr_t unused2;
-    cmp_glue_fn *cmp_glue;
+    void *UNUSED_2;
     const uint8_t *shape;
     const rust_shape_tables *shape_tables;
     uintptr_t n_params;