@@ -3138,13 +3138,21 @@ switch (buf[0]) {
31383138 }
31393139 }
31403140 case ' c' : {
3141- switch (buf[10 ]) {
3142- case ' c' :
3143- if (op == " string.concat" sv) { return makeStringConcat (s); }
3144- goto parse_error;
3145- case ' s' :
3146- if (op == " string.const" sv) { return makeStringConst (s); }
3141+ switch (buf[9 ]) {
3142+ case ' m' :
3143+ if (op == " string.compare" sv) { return makeStringEq (s, StringEqCompare); }
31473144 goto parse_error;
3145+ case ' n' : {
3146+ switch (buf[10 ]) {
3147+ case ' c' :
3148+ if (op == " string.concat" sv) { return makeStringConcat (s); }
3149+ goto parse_error;
3150+ case ' s' :
3151+ if (op == " string.const" sv) { return makeStringConst (s); }
3152+ goto parse_error;
3153+ default : goto parse_error;
3154+ }
3155+ }
31483156 default : goto parse_error;
31493157 }
31503158 }
@@ -3178,7 +3186,7 @@ switch (buf[0]) {
31783186 }
31793187 }
31803188 case ' q' :
3181- if (op == " string.eq" sv) { return makeStringEq (s); }
3189+ if (op == " string.eq" sv) { return makeStringEq (s, StringEqEqual ); }
31823190 goto parse_error;
31833191 default : goto parse_error;
31843192 }
@@ -8812,21 +8820,33 @@ switch (buf[0]) {
88128820 }
88138821 }
88148822 case ' c' : {
8815- switch (buf[10 ]) {
8816- case ' c ' :
8817- if (op == " string.concat " sv) {
8818- auto ret = makeStringConcat (ctx, pos);
8823+ switch (buf[9 ]) {
8824+ case ' m ' :
8825+ if (op == " string.compare " sv) {
8826+ auto ret = makeStringEq (ctx, pos, StringEqCompare );
88198827 CHECK_ERR (ret);
88208828 return *ret;
88218829 }
88228830 goto parse_error;
8823- case ' s' :
8824- if (op == " string.const" sv) {
8825- auto ret = makeStringConst (ctx, pos);
8826- CHECK_ERR (ret);
8827- return *ret;
8831+ case ' n' : {
8832+ switch (buf[10 ]) {
8833+ case ' c' :
8834+ if (op == " string.concat" sv) {
8835+ auto ret = makeStringConcat (ctx, pos);
8836+ CHECK_ERR (ret);
8837+ return *ret;
8838+ }
8839+ goto parse_error;
8840+ case ' s' :
8841+ if (op == " string.const" sv) {
8842+ auto ret = makeStringConst (ctx, pos);
8843+ CHECK_ERR (ret);
8844+ return *ret;
8845+ }
8846+ goto parse_error;
8847+ default : goto parse_error;
88288848 }
8829- goto parse_error;
8849+ }
88308850 default : goto parse_error;
88318851 }
88328852 }
@@ -8877,7 +8897,7 @@ switch (buf[0]) {
88778897 }
88788898 case ' q' :
88798899 if (op == " string.eq" sv) {
8880- auto ret = makeStringEq (ctx, pos);
8900+ auto ret = makeStringEq (ctx, pos, StringEqEqual );
88818901 CHECK_ERR (ret);
88828902 return *ret;
88838903 }
0 commit comments