enhanced compile_if_expression() not to eliminate blocks containing one or more labels

This commit is contained in:
hyunghwan.chung
2019-08-07 05:33:35 +00:00
parent b2ac09072b
commit 3e1aded8a8
14 changed files with 143 additions and 107 deletions

View File

@ -139,7 +139,7 @@ static int _equal_objects (moo_t* moo, moo_oop_t rcv, moo_oop_t arg)
int n;
/* TODO: remove recursion */
/* NOTE: even if the object implements the equality method,
/* [NOTE] even if the object implements the equality method,
* this primitive method doesn't honor it. */
n = _equal_objects(moo, MOO_OBJ_GET_OOP_VAL(rcv, i), MOO_OBJ_GET_OOP_VAL(arg, i));
if (n <= 0) return n;