Rename asInt/asQuad to indicate signed/unsigned.

Internal code rename, no function change.
This commit is contained in:
Wilson Snyder
2008-09-03 17:40:01 -04:00
parent b7fafdafaa
commit fc7a449f6d
6 changed files with 31 additions and 30 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ private:
bool operandIsTwo(AstNode* nodep) {
return (nodep->castConst()
&& nodep->width() <= VL_QUADSIZE
&& nodep->castConst()->asQuad()==2);
&& nodep->castConst()->toUQuad()==2);
}
bool operandIsTwostate(AstNode* nodep) {
return (nodep->castConst()