Updated code generation for upcall handlers.
Updated code generation for upcall handlers.

--HG--
branch : chuangw/multicompiler

jojochuang/eventwave,jojochuang/eventwave,jojochuang/eventwave,jojochuang/eventwave,jojochuang/eventwave