constraintExpr ce;
if (sRef_isInvalid (s))
- llfatalbug(("Invalid sRef"));
+ llfatalbug((message("Invalid sRef")));
switch (s->kind)
{
s->info->field->field));
ce = constraintExpr_makeTermsRef (temp);
return ce;
- }
+ }
case SK_PTR:
{
sRef temp;
ce = constraintExpr_makeTermsRef (s);
return ce;
case SK_PARAM:
- if (exprNodeList_size (args) > s->info->paramno)
+ llassert(exprNodeList_size (args) > s->info->paramno);
{
exprNode e = exprNodeList_nth (args, s->info->paramno);
-
- if (exprNode_isError (e))
- {
- llassert (FALSE);
- }
-
+
+ llassert( !(exprNode_isError (e)) );
ce = constraintExpr_makeExprNode (e);
+ return ce;
}
- else
- {
- llassert(FALSE);
- }
- return ce;
+
default:
llcontbug ((message("Trying to do fixConstraintParam on nonparam, nonglobal: %s for function with arguments %s", sRef_unparse (s), exprNodeList_unparse(args) ) ));
ce = constraintExpr_makeTermsRef (s);
/*drl7x 11/28/2000 */
-bool sRef_isFixedArray (sRef p_s) {
+bool sRef_isFixedArray (sRef p_s) /*@*/ {
ctype c;
c = sRef_getType (p_s);
return ( ctype_isFixedArray (c) );
}
-int sRef_getArraySize (sRef p_s) {
+long int sRef_getArraySize (sRef p_s) /*@*/ {
ctype c;
llassert (sRef_isFixedArray(p_s) );