]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
_jit_gen_spill_reg: spill properly to global registers for ARM.
authorRhys Weatherley <rweather@southern-storm.com.au>
Tue, 8 Jun 2004 06:16:12 +0000 (06:16 +0000)
committerRhys Weatherley <rweather@southern-storm.com.au>
Tue, 8 Jun 2004 06:16:12 +0000 (06:16 +0000)
jit/jit-rules-arm.c

index 094fd93420bea663ff5fee7569fc481286749f30..c64c0c5239cceee54c7eb32055270dcc49effb03 100644 (file)
@@ -634,7 +634,7 @@ void _jit_gen_spill_reg(jit_gencode_t gen, int reg,
        /* Output an appropriate instruction to spill the value */
        if(value->has_global_register)
        {
-               arm_mov_reg_reg(gen, _jit_reg_info[value->global_reg].cpu_reg,
+               arm_mov_reg_reg(inst, _jit_reg_info[value->global_reg].cpu_reg,
                                                _jit_reg_info[reg].cpu_reg);
        }
        else