Internals: Add isRanged, more debug. No functional change.

This commit is contained in:
Wilson Snyder
2012-03-04 16:18:41 -05:00
parent 03dfbdb7b1
commit 8687dcbce1
8 changed files with 35 additions and 18 deletions
+1
View File
@@ -68,6 +68,7 @@ private:
// Width, not widthMin, as we may be in middle of BITSEL expression which
// though it's one bit wide, needs the mask in the upper bits.
// (Someday we'll have a valid bitmask instead of widths....)
// See t_func_crc for an example test that requires this
AstLogicPacked(), nodep->width());
if (!m_funcp) nodep->v3fatalSrc("Deep expression not under a function");
m_funcp->addInitsp(varp);