mirror of
https://github.com/corda/corda.git
synced 2025-06-03 08:00:57 +00:00
add type asserts in appendBranch
This commit is contained in:
parent
c259faf24a
commit
0eda1d7d11
@ -1517,6 +1517,8 @@ void
|
|||||||
appendBranch(Context* c, lir::TernaryOperation type, unsigned size, Value* firstValue,
|
appendBranch(Context* c, lir::TernaryOperation type, unsigned size, Value* firstValue,
|
||||||
Value* secondValue, Value* addressValue)
|
Value* secondValue, Value* addressValue)
|
||||||
{
|
{
|
||||||
|
assert(c, size == firstValue->type.size());
|
||||||
|
assert(c, size == secondValue->type.size());
|
||||||
bool thunk;
|
bool thunk;
|
||||||
OperandMask firstMask;
|
OperandMask firstMask;
|
||||||
OperandMask secondMask;
|
OperandMask secondMask;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user