mirror of
https://github.com/corda/corda.git
synced 2025-06-18 07:08:15 +00:00
add flavor type check to Compiler::store
This commit is contained in:
committed by
Joshua Warner
parent
2ed52c05a8
commit
aef5acce84
@ -2598,6 +2598,8 @@ class MyCompiler: public Compiler {
|
||||
ir::Type dstType,
|
||||
Operand* dst)
|
||||
{
|
||||
assert(&c, srcType.flavor() == static_cast<Value*>(src)->type.flavor());
|
||||
// assert(&c, dstType.flavor() == static_cast<Value*>(dst)->type.flavor());
|
||||
appendMove(&c,
|
||||
lir::Move,
|
||||
srcType.size(),
|
||||
|
Reference in New Issue
Block a user