diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2014-01-23 16:51:54 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2014-01-27 22:32:30 +0200 |
| commit | e81ab4198c15ef53a61c38196fad55add291fc58 (patch) | |
| tree | 74fbbe58de9ebeb78309a88f86a8e663a304a97b /src/libstd | |
| parent | d6d7812da841ddedf6c765eebb655be9866956ce (diff) | |
| download | rust-e81ab4198c15ef53a61c38196fad55add291fc58.tar.gz rust-e81ab4198c15ef53a61c38196fad55add291fc58.zip | |
Removed take_glue from tydesc, inlining the equivalent refcount increment code instead.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/unstable/intrinsics.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs index 1988993707f..067826f04dc 100644 --- a/src/libstd/unstable/intrinsics.rs +++ b/src/libstd/unstable/intrinsics.rs @@ -57,6 +57,8 @@ pub struct TyDesc { align: uint, // Called on a copy of a value of type `T` *after* memcpy + // NOTE remove after next snapshot + #[cfg(stage0)] take_glue: GlueFn, // Called when a value of type `T` is no longer needed |
