mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
add type/footprint assert in Compiler::storeLocal
This commit is contained in:
parent
e7837c243e
commit
cc4525c31c
@ -2536,6 +2536,7 @@ class MyCompiler: public Compiler {
|
||||
|
||||
virtual void storeLocal(unsigned footprint, ir::Value* src, unsigned index)
|
||||
{
|
||||
assert(&c, typeFootprint(src->type) == footprint);
|
||||
compiler::storeLocal(&c, footprint, static_cast<Value*>(src), index, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user