@@ -863,7 +863,7 @@ impl<'a> Inliner<'a> {
863863 ) ) ;
864864 frame. funcs . push ( dfg:: CoreDef :: Trampoline ( index) ) ;
865865 }
866- StreamCloseReadable { ty, func } => {
866+ StreamDropReadable { ty, func } => {
867867 let InterfaceType :: Stream ( ty) =
868868 types. defined_type ( frame. translation . types_ref ( ) , * ty) ?
869869 else {
@@ -872,10 +872,10 @@ impl<'a> Inliner<'a> {
872872 let index = self
873873 . result
874874 . trampolines
875- . push ( ( * func, dfg:: Trampoline :: StreamCloseReadable { ty } ) ) ;
875+ . push ( ( * func, dfg:: Trampoline :: StreamDropReadable { ty } ) ) ;
876876 frame. funcs . push ( dfg:: CoreDef :: Trampoline ( index) ) ;
877877 }
878- StreamCloseWritable { ty, func } => {
878+ StreamDropWritable { ty, func } => {
879879 let InterfaceType :: Stream ( ty) =
880880 types. defined_type ( frame. translation . types_ref ( ) , * ty) ?
881881 else {
@@ -884,7 +884,7 @@ impl<'a> Inliner<'a> {
884884 let index = self
885885 . result
886886 . trampolines
887- . push ( ( * func, dfg:: Trampoline :: StreamCloseWritable { ty } ) ) ;
887+ . push ( ( * func, dfg:: Trampoline :: StreamDropWritable { ty } ) ) ;
888888 frame. funcs . push ( dfg:: CoreDef :: Trampoline ( index) ) ;
889889 }
890890 FutureNew { ty, func } => {
@@ -957,7 +957,7 @@ impl<'a> Inliner<'a> {
957957 ) ) ;
958958 frame. funcs . push ( dfg:: CoreDef :: Trampoline ( index) ) ;
959959 }
960- FutureCloseReadable { ty, func } => {
960+ FutureDropReadable { ty, func } => {
961961 let InterfaceType :: Future ( ty) =
962962 types. defined_type ( frame. translation . types_ref ( ) , * ty) ?
963963 else {
@@ -966,10 +966,10 @@ impl<'a> Inliner<'a> {
966966 let index = self
967967 . result
968968 . trampolines
969- . push ( ( * func, dfg:: Trampoline :: FutureCloseReadable { ty } ) ) ;
969+ . push ( ( * func, dfg:: Trampoline :: FutureDropReadable { ty } ) ) ;
970970 frame. funcs . push ( dfg:: CoreDef :: Trampoline ( index) ) ;
971971 }
972- FutureCloseWritable { ty, func } => {
972+ FutureDropWritable { ty, func } => {
973973 let InterfaceType :: Future ( ty) =
974974 types. defined_type ( frame. translation . types_ref ( ) , * ty) ?
975975 else {
@@ -978,7 +978,7 @@ impl<'a> Inliner<'a> {
978978 let index = self
979979 . result
980980 . trampolines
981- . push ( ( * func, dfg:: Trampoline :: FutureCloseWritable { ty } ) ) ;
981+ . push ( ( * func, dfg:: Trampoline :: FutureDropWritable { ty } ) ) ;
982982 frame. funcs . push ( dfg:: CoreDef :: Trampoline ( index) ) ;
983983 }
984984 ErrorContextNew { func, options } => {
0 commit comments