Skip to content

Commit

Permalink
forgot an important boolification spec mode to support
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Apr 6, 2014
1 parent f7fe878 commit a06c456
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spesh/optimize.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ static void optimize_iffy(MVMThreadContext *tc, MVMSpeshGraph *g, MVMSpeshIns *i
case MVM_BOOL_MODE_BIGINT:
case MVM_BOOL_MODE_ITER:
case MVM_BOOL_MODE_HAS_ELEMS:
case MVM_BOOL_MODE_NOT_TYPE_OBJECT:
MVM_coerce_istrue(tc, objval, resultreg, NULL, NULL, 0);
truthvalue = resultreg->i64;
break;
Expand Down

0 comments on commit a06c456

Please sign in to comment.