Codegen: fix vararg function call

Hi,

Attached is a patch to fix codegen of function calls to varargs functions.
e.g.: printf("size=%d\n",sizeof(long));

Nuno

clang.txt (3.42 KB)

For the record, this patch has already been commited by Eli.
Nuno

Ah. Sorry about not crediting the fix to you in the commit comment; I
actually lost track of it and ended up rewriting it from scratch.

-Eli