add extra flavor type check to Compiler::store

This commit is contained in:
Joshua Warner
2014-04-30 22:44:51 -06:00
committed by Joshua Warner
parent aef5acce84
commit 1fc6011bf7
2 changed files with 4 additions and 4 deletions

View File

@ -2599,7 +2599,7 @@ class MyCompiler: public Compiler {
Operand* dst)
{
assert(&c, srcType.flavor() == static_cast<Value*>(src)->type.flavor());
// assert(&c, dstType.flavor() == static_cast<Value*>(dst)->type.flavor());
assert(&c, dstType.flavor() == static_cast<Value*>(dst)->type.flavor());
appendMove(&c,
lir::Move,
srcType.size(),