@@ -1208,9 +1208,9 @@ instructions! {
12081208 StructNewDesc ( Index <' a>) : [ 0xfb , 32 ] : "struct.new_desc" ,
12091209 StructNewDefaultDesc ( Index <' a>) : [ 0xfb , 33 ] : "struct.new_default_desc" ,
12101210 RefGetDesc ( Index <' a>) : [ 0xfb , 34 ] : "ref.get_desc" ,
1211- RefCastDesc ( RefCastDesc <' a>) : [ ] : "ref.cast_desc " ,
1212- BrOnCastDesc ( Box <BrOnCastDesc <' a>>) : [ ] : "br_on_cast_desc " ,
1213- BrOnCastDescFail ( Box <BrOnCastDescFail <' a>>) : [ ] : "br_on_cast_desc_fail " ,
1211+ RefCastDescEq ( RefCastDescEq <' a>) : [ ] : "ref.cast_desc_eq " ,
1212+ BrOnCastDescEq ( Box <BrOnCastDescEq <' a>>) : [ ] : "br_on_cast_desc_eq " ,
1213+ BrOnCastDescEqFail ( Box <BrOnCastDescEqFail <' a>>) : [ ] : "br_on_cast_desc_eq_fail " ,
12141214 }
12151215}
12161216
@@ -1974,22 +1974,22 @@ impl<'a> Parse<'a> for BrOnCastFail<'a> {
19741974
19751975/// Extra data associated with the `ref.cast_desc` instruction
19761976#[ derive( Debug , Clone ) ]
1977- pub struct RefCastDesc < ' a > {
1977+ pub struct RefCastDescEq < ' a > {
19781978 /// The type to cast to.
19791979 pub r#type : RefType < ' a > ,
19801980}
19811981
1982- impl < ' a > Parse < ' a > for RefCastDesc < ' a > {
1982+ impl < ' a > Parse < ' a > for RefCastDescEq < ' a > {
19831983 fn parse ( parser : Parser < ' a > ) -> Result < Self > {
1984- Ok ( RefCastDesc {
1984+ Ok ( RefCastDescEq {
19851985 r#type : parser. parse ( ) ?,
19861986 } )
19871987 }
19881988}
19891989
1990- /// Extra data associated with the `br_on_cast_desc ` instruction
1990+ /// Extra data associated with the `br_on_cast_desc_eq ` instruction
19911991#[ derive( Debug , Clone ) ]
1992- pub struct BrOnCastDesc < ' a > {
1992+ pub struct BrOnCastDescEq < ' a > {
19931993 /// The label to branch to.
19941994 pub label : Index < ' a > ,
19951995 /// The type we're casting from.
@@ -1998,9 +1998,9 @@ pub struct BrOnCastDesc<'a> {
19981998 pub to_type : RefType < ' a > ,
19991999}
20002000
2001- impl < ' a > Parse < ' a > for BrOnCastDesc < ' a > {
2001+ impl < ' a > Parse < ' a > for BrOnCastDescEq < ' a > {
20022002 fn parse ( parser : Parser < ' a > ) -> Result < Self > {
2003- Ok ( BrOnCastDesc {
2003+ Ok ( BrOnCastDescEq {
20042004 label : parser. parse ( ) ?,
20052005 from_type : parser. parse ( ) ?,
20062006 to_type : parser. parse ( ) ?,
@@ -2010,7 +2010,7 @@ impl<'a> Parse<'a> for BrOnCastDesc<'a> {
20102010
20112011/// Extra data associated with the `br_on_cast_desc_fail` instruction
20122012#[ derive( Debug , Clone ) ]
2013- pub struct BrOnCastDescFail < ' a > {
2013+ pub struct BrOnCastDescEqFail < ' a > {
20142014 /// The label to branch to.
20152015 pub label : Index < ' a > ,
20162016 /// The type we're casting from.
@@ -2019,9 +2019,9 @@ pub struct BrOnCastDescFail<'a> {
20192019 pub to_type : RefType < ' a > ,
20202020}
20212021
2022- impl < ' a > Parse < ' a > for BrOnCastDescFail < ' a > {
2022+ impl < ' a > Parse < ' a > for BrOnCastDescEqFail < ' a > {
20232023 fn parse ( parser : Parser < ' a > ) -> Result < Self > {
2024- Ok ( BrOnCastDescFail {
2024+ Ok ( BrOnCastDescEqFail {
20252025 label : parser. parse ( ) ?,
20262026 from_type : parser. parse ( ) ?,
20272027 to_type : parser. parse ( ) ?,
0 commit comments