@@ -5433,52 +5433,41 @@ switch (buf[0]) {
54335433 }
54345434 }
54355435 case ' n' : {
5436- switch (buf[8 ]) {
5437- case ' e' : {
5438- switch (buf[10 ]) {
5439- case ' \0 ' :
5440- if (op == " struct.new" sv) {
5441- CHECK_ERR (makeStructNew (ctx, pos, annotations, false , false ));
5442- return Ok{};
5443- }
5444- goto parse_error;
5445- case ' _' : {
5446- switch (buf[13 ]) {
5447- case ' f' : {
5448- switch (buf[18 ]) {
5449- case ' \0 ' :
5450- if (op == " struct.new_default" sv) {
5451- CHECK_ERR (makeStructNew (ctx, pos, annotations, true , false ));
5452- return Ok{};
5453- }
5454- goto parse_error;
5455- case ' _' :
5456- if (op == " struct.new_default_desc" sv) {
5457- CHECK_ERR (makeStructNew (ctx, pos, annotations, true , true ));
5458- return Ok{};
5459- }
5460- goto parse_error;
5461- default : goto parse_error;
5436+ switch (buf[10 ]) {
5437+ case ' \0 ' :
5438+ if (op == " struct.new" sv) {
5439+ CHECK_ERR (makeStructNew (ctx, pos, annotations, false , false ));
5440+ return Ok{};
5441+ }
5442+ goto parse_error;
5443+ case ' _' : {
5444+ switch (buf[13 ]) {
5445+ case ' f' : {
5446+ switch (buf[18 ]) {
5447+ case ' \0 ' :
5448+ if (op == " struct.new_default" sv) {
5449+ CHECK_ERR (makeStructNew (ctx, pos, annotations, true , false ));
5450+ return Ok{};
54625451 }
5463- }
5464- case ' s ' :
5465- if (op == " struct.new_desc " sv) {
5466- CHECK_ERR (makeStructNew (ctx, pos, annotations, false , true ));
5452+ goto parse_error;
5453+ case ' _ ' :
5454+ if (op == " struct.new_default_desc " sv) {
5455+ CHECK_ERR (makeStructNew (ctx, pos, annotations, true , true ));
54675456 return Ok{};
54685457 }
54695458 goto parse_error;
54705459 default : goto parse_error;
54715460 }
54725461 }
5462+ case ' s' :
5463+ if (op == " struct.new_desc" sv) {
5464+ CHECK_ERR (makeStructNew (ctx, pos, annotations, false , true ));
5465+ return Ok{};
5466+ }
5467+ goto parse_error;
54735468 default : goto parse_error;
54745469 }
54755470 }
5476- case ' o' :
5477- if (op == " struct.notify" sv) {
5478- CHECK_ERR (makeStructNotify (ctx, pos, annotations));
5479- return Ok{};
5480- }
5481- goto parse_error;
54825471 default : goto parse_error;
54835472 }
54845473 }
@@ -5878,6 +5867,23 @@ switch (buf[0]) {
58785867 default : goto parse_error;
58795868 }
58805869 }
5870+ case ' w' : {
5871+ switch (buf[11 ]) {
5872+ case ' e' :
5873+ if (op == " waitqueue.new" sv) {
5874+ CHECK_ERR (makeWaitqueueNew (ctx, pos, annotations));
5875+ return Ok{};
5876+ }
5877+ goto parse_error;
5878+ case ' o' :
5879+ if (op == " waitqueue.notify" sv) {
5880+ CHECK_ERR (makeWaitqueueNotify (ctx, pos, annotations));
5881+ return Ok{};
5882+ }
5883+ goto parse_error;
5884+ default : goto parse_error;
5885+ }
5886+ }
58815887 default : goto parse_error;
58825888}
58835889parse_error:
0 commit comments