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