codedump.c: remove unnecessary condition.

`(irep->pool[b].tt & IREP_TT_NFLAG) == 0` is always true ensured by
the assertion.
parent f9f2d4c4
......@@ -494,12 +494,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
break;
CASE(OP_STRING, BB):
mrb_assert((irep->pool[b].tt&IREP_TT_NFLAG)==0);
if ((irep->pool[b].tt & IREP_TT_NFLAG) == 0) {
printf("STRING\tR%d\tL(%d)\t; %s", a, b, irep->pool[b].u.str);
}
else {
printf("STRING\tR%d\tL(%d)\t", a, b);
}
printf("STRING\tR%d\tL(%d)\t; %s", a, b, irep->pool[b].u.str);
print_lv_a(mrb, irep, a);
break;
CASE(OP_STRCAT, B):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment