git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@548
4a8a32a2-be11-0410-ad9d-
d568d2c75423
{
ast *newType = NULL;
+ printf("oogie ");
+
if (IS_CAST_OP(actParm)
|| (IS_AST_LIT_VALUE(actParm) && actParm->values.literalFromCast))
{
/* Parameter was explicitly typecast; don't touch it. */
+ printf("typecast.\n");
return 0;
}
DCL_TYPE(newType->opval.lnk) = GPOINTER;
}
+ if (IS_AGGREGATE(actParm->ftype))
+ {
+ newType = newAst_LINK(copyLinkChain(actParm->ftype));
+ DCL_TYPE(newType->opval.lnk) = GPOINTER;
+ }
+
if (newType)
{
/* cast required; change this op to a cast. */
actParm->left = newType;
actParm->right= parmCopy;
decorateType(actParm);
+
+ printf("boogie\n");
+ }
+ else
+ {
+ printf("nada\n");
}
return 0;