mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
change jump offset asserts to expects
This commit is contained in:
parent
96ddae1742
commit
1a79fc45df
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user