@@ -5448,52 +5448,41 @@ switch (buf[0]) {
54485448 }
54495449 }
54505450 case ' n' : {
5451- switch (buf[8 ]) {
5452- case ' e' : {
5453- switch (buf[10 ]) {
5454- case ' \0 ' :
5455- if (op == " struct.new" sv) {
5456- CHECK_ERR (makeStructNew (ctx, pos, annotations, false , false ));
5457- return Ok{};
5458- }
5459- goto parse_error;
5460- case ' _' : {
5461- switch (buf[13 ]) {
5462- case ' f' : {
5463- switch (buf[18 ]) {
5464- case ' \0 ' :
5465- if (op == " struct.new_default" sv) {
5466- CHECK_ERR (makeStructNew (ctx, pos, annotations, true , false ));
5467- return Ok{};
5468- }
5469- goto parse_error;
5470- case ' _' :
5471- if (op == " struct.new_default_desc" sv) {
5472- CHECK_ERR (makeStructNew (ctx, pos, annotations, true , true ));
5473- return Ok{};
5474- }
5475- goto parse_error;
5476- default : goto parse_error;
5451+ switch (buf[10 ]) {
5452+ case ' \0 ' :
5453+ if (op == " struct.new" sv) {
5454+ CHECK_ERR (makeStructNew (ctx, pos, annotations, false , false ));
5455+ return Ok{};
5456+ }
5457+ goto parse_error;
5458+ case ' _' : {
5459+ switch (buf[13 ]) {
5460+ case ' f' : {
5461+ switch (buf[18 ]) {
5462+ case ' \0 ' :
5463+ if (op == " struct.new_default" sv) {
5464+ CHECK_ERR (makeStructNew (ctx, pos, annotations, true , false ));
5465+ return Ok{};
54775466 }
5478- }
5479- case ' s ' :
5480- if (op == " struct.new_desc " sv) {
5481- CHECK_ERR (makeStructNew (ctx, pos, annotations, false , true ));
5467+ goto parse_error;
5468+ case ' _ ' :
5469+ if (op == " struct.new_default_desc " sv) {
5470+ CHECK_ERR (makeStructNew (ctx, pos, annotations, true , true ));
54825471 return Ok{};
54835472 }
54845473 goto parse_error;
54855474 default : goto parse_error;
54865475 }
54875476 }
5477+ case ' s' :
5478+ if (op == " struct.new_desc" sv) {
5479+ CHECK_ERR (makeStructNew (ctx, pos, annotations, false , true ));
5480+ return Ok{};
5481+ }
5482+ goto parse_error;
54885483 default : goto parse_error;
54895484 }
54905485 }
5491- case ' o' :
5492- if (op == " struct.notify" sv) {
5493- CHECK_ERR (makeStructNotify (ctx, pos, annotations));
5494- return Ok{};
5495- }
5496- goto parse_error;
54975486 default : goto parse_error;
54985487 }
54995488 }
@@ -5893,6 +5882,23 @@ switch (buf[0]) {
58935882 default : goto parse_error;
58945883 }
58955884 }
5885+ case ' w' : {
5886+ switch (buf[11 ]) {
5887+ case ' e' :
5888+ if (op == " waitqueue.new" sv) {
5889+ CHECK_ERR (makeWaitqueueNew (ctx, pos, annotations));
5890+ return Ok{};
5891+ }
5892+ goto parse_error;
5893+ case ' o' :
5894+ if (op == " waitqueue.notify" sv) {
5895+ CHECK_ERR (makeWaitqueueNotify (ctx, pos, annotations));
5896+ return Ok{};
5897+ }
5898+ goto parse_error;
5899+ default : goto parse_error;
5900+ }
5901+ }
58965902 default : goto parse_error;
58975903}
58985904parse_error:
0 commit comments