summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2012-02-07 11:25:04 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2012-02-07 14:36:02 +0100
commitb28a5552e3e822063499c8fb7c6c0be6bb881863 (patch)
tree837024f6ad4c54e40b200c716c5a1370ee5ff110 /src/rt/rust_builtin.cpp
parent3bd0338c19a594d538bc6dd4656c0cb8da9b9680 (diff)
downloadrust-b28a5552e3e822063499c8fb7c6c0be6bb881863.tar.gz
rust-b28a5552e3e822063499c8fb7c6c0be6bb881863.zip
Reuse monomorphized functions for different box types
The free glue for opaque boxes will pick the actual tydesc out of the
box, and call its glue.

Issue #1736
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index 783ca43d862..8fbe0ed7888 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -191,6 +191,7 @@ debug_opaque(type_desc *t, uint8_t *front) {
     }
 }
 
+// FIXME this no longer reflects the actual structure of boxes!
 struct rust_box {
     RUST_REFCOUNTED(rust_box)