Generating run-time code with jump to main