Code for a SparkCore IR Emitter