Check for the same entry in the type table

This commit is contained in:
Todd Strader 2020-03-27 08:24:07 -04:00
parent fce1fa0953
commit 862892c9bd

View File

@ -3594,8 +3594,8 @@ private:
if (VN_IS(typeRhsp, BasicDType) && basicLhsp->same(typeRhsp)) {
equal = true;
}
} else {
nodep->v3fatalSrc("TODO -- handle this");
} else if (refLhsp->dtypep() == refRhsp->dtypep()) {
equal = true;
}
} else {
nodep->v3fatalSrc("TODO -- also handle this");