removed unremoved code in the previous commit

This commit is contained in:
hyung-hwan 2018-08-08 03:44:11 +00:00
parent 9a186711e4
commit d7f2458ed0

View File

@ -651,8 +651,7 @@ enum
COP_POST_WHILE_BODY, COP_POST_WHILE_BODY,
COP_POST_WHILE_COND, COP_POST_WHILE_COND,
COP_UPDATE_BREAK, COP_UPDATE_BREAK
COP_DO_NOTHING
}; };
/* ========================================================================= */ /* ========================================================================= */
@ -2710,11 +2709,6 @@ int hcl_compile (hcl_t* hcl, hcl_oop_t obj)
if (update_break(hcl) <= -1) goto oops; if (update_break(hcl) <= -1) goto oops;
break; break;
case COP_DO_NOTHING:
/* do nothing but popping the current cframe */
POP_CFRAME (hcl);
break;
default: default:
HCL_DEBUG1 (hcl, "Internal error - invalid compiler opcode %d\n", cf->opcode); HCL_DEBUG1 (hcl, "Internal error - invalid compiler opcode %d\n", cf->opcode);
hcl_seterrbfmt (hcl, HCL_EINTERN, "invalid compiler opcode %d", cf->opcode); hcl_seterrbfmt (hcl, HCL_EINTERN, "invalid compiler opcode %d", cf->opcode);