In JITed function the parameters appear in registers of 64-bit size. So if an int is needed then it needs a conversion from quad to int. This should be done whenever the parameter is needed rather than at the start, as then hopefully there will not be issues related to liveness