about summary refs log tree commit diff
path: root/src/test/codegen-units
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2016-09-13 22:09:22 -0400
committerMichael Woerister <michaelwoerister@posteo.net>2016-09-13 22:11:01 -0400
commit1b3a588f55c84d4fc36f4889f4c7ef7357ad471a (patch)
tree2018bbf21002b50de65786c3236fdd2bf3b7098c /src/test/codegen-units
parentc87ba3f1222ba20d491e8ed76a04977283280742 (diff)
downloadrust-1b3a588f55c84d4fc36f4889f4c7ef7357ad471a.tar.gz
rust-1b3a588f55c84d4fc36f4889f4c7ef7357ad471a.zip
trans: Let the collector find drop-glue for all vtables, not just VTableImpl.
Diffstat (limited to 'src/test/codegen-units')
-rw-r--r--src/test/codegen-units/item-collection/instantiation-through-vtable.rs2
-rw-r--r--src/test/codegen-units/item-collection/unsizing.rs2
-rw-r--r--src/test/codegen-units/partitioning/vtable-through-const.rs2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/test/codegen-units/item-collection/instantiation-through-vtable.rs b/src/test/codegen-units/item-collection/instantiation-through-vtable.rs
index 06e547f0dd0..b7725251220 100644
--- a/src/test/codegen-units/item-collection/instantiation-through-vtable.rs
+++ b/src/test/codegen-units/item-collection/instantiation-through-vtable.rs
@@ -40,5 +40,3 @@ fn main() {
     //~ TRANS_ITEM fn instantiation_through_vtable::{{impl}}[0]::bar[0]<u64>
     let _ = &s1 as &Trait;
 }
-
-//~ TRANS_ITEM drop-glue i8
diff --git a/src/test/codegen-units/item-collection/unsizing.rs b/src/test/codegen-units/item-collection/unsizing.rs
index 5c67ab7a826..45ba441bc8b 100644
--- a/src/test/codegen-units/item-collection/unsizing.rs
+++ b/src/test/codegen-units/item-collection/unsizing.rs
@@ -78,5 +78,3 @@ fn main()
     //~ TRANS_ITEM fn unsizing::{{impl}}[3]::foo[0]
     let _wrapper_sized = wrapper_sized as Wrapper<Trait>;
 }
-
-//~ TRANS_ITEM drop-glue i8
diff --git a/src/test/codegen-units/partitioning/vtable-through-const.rs b/src/test/codegen-units/partitioning/vtable-through-const.rs
index b40bb7f6097..ee5e97cd9c2 100644
--- a/src/test/codegen-units/partitioning/vtable-through-const.rs
+++ b/src/test/codegen-units/partitioning/vtable-through-const.rs
@@ -89,5 +89,3 @@ fn main() {
     //~ TRANS_ITEM fn vtable_through_const::mod1[0]::id[0]<char> @@ vtable_through_const[Internal]
     mod1::ID_CHAR('x');
 }
-
-//~ TRANS_ITEM drop-glue i8