Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/instructions.def
Original file line number Diff line number Diff line change
@@ -162,7 +162,7 @@ end

instruction goto_if_nil(location) [ value -- ] => branch
Object* t1 = stack_pop();
if(t1 == cNil) {
if(t1->nil_p()) {
store_ip(location);
}
end

0 comments on commit 21de13f

Please sign in to comment.