JIT: factors out macro runtimes