mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
add type assert in Compiler::store, fix ensuing problems
This commit is contained in:
committed by
Joshua Warner
parent
e3d01746e8
commit
f6bc51647e
@ -2595,6 +2595,7 @@ class MyCompiler: public Compiler {
|
||||
|
||||
virtual void store(ir::Type srcType, ir::Value* src, ir::Value* dst)
|
||||
{
|
||||
assert(&c, srcType == src->type);
|
||||
assert(&c, srcType.flavor() == src->type.flavor());
|
||||
assert(&c, srcType.flavor() == dst->type.flavor());
|
||||
assert(&c,
|
||||
|
Reference in New Issue
Block a user