change jump offset asserts to expects

This commit is contained in:
Joel Dice 2008-01-08 17:30:55 -07:00
parent 96ddae1742
commit 1a79fc45df

View File

@ -1585,7 +1585,7 @@ unconditional(Context* c, unsigned jump, AddressOperand* operand)
v = 0;
}
assert(c, isInt32(v));
expect(c, isInt32(v));
c->code.append(jump);
c->code.append4(v);
@ -1603,7 +1603,7 @@ conditional(Context* c, unsigned condition, AddressOperand* operand)
v = 0;
}
assert(c, isInt32(v));
expect(c, isInt32(v));
c->code.append(0x0f);
c->code.append(condition);