diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2012-02-07 11:25:04 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-02-07 14:36:02 +0100 |
| commit | b28a5552e3e822063499c8fb7c6c0be6bb881863 (patch) | |
| tree | 837024f6ad4c54e40b200c716c5a1370ee5ff110 /src/rt/rust_builtin.cpp | |
| parent | 3bd0338c19a594d538bc6dd4656c0cb8da9b9680 (diff) | |
| download | rust-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.cpp | 1 |
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) |
