Codegen: fix vararg function call


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


clang.txt (3.42 KB)

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

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.