// TODO getTypeAtBlockEnd will automatically convert up to the concrete type, which we don't want here,
...
...
@@ -1523,7 +1533,7 @@ class IRGeneratorImpl : public IRGenerator {
ASSERT(it->second->canConvertTo(ending_type),"%s is supposed to be %s, but somehow is %s",it->first.c_str(),ending_type->debugName().c_str(),it->second->getType()->debugName().c_str());
#endif
it++;
++it;
}
}
...
...
@@ -1533,18 +1543,29 @@ class IRGeneratorImpl : public IRGenerator {