VirtualBox

Ignore:
Timestamp:
Mar 4, 2011 12:49:02 PM (14 years ago)
Author:
vboxsync
Message:

rem: synced up to svn://svn.savannah.nongnu.org/qemu/trunk@6686 (repo UUID c046a42c-6fe2-441c-8c8c-71466251a162).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/gen-icount.h

    r36125 r36170  
    66static inline void gen_icount_start(void)
    77{
    8     TCGv count;
     8    TCGv_i32 count;
    99
    1010    if (!use_icount)
     
    1616       we allow the target to supply a convenient register temporary.  */
    1717#ifndef ICOUNT_TEMP
    18     count = tcg_temp_local_new(TCG_TYPE_I32);
     18    count = tcg_temp_local_new_i32();
    1919#else
    2020    count = ICOUNT_TEMP;
     
    2828    tcg_gen_st16_i32(count, cpu_env, offsetof(CPUState, icount_decr.u16.low));
    2929#ifndef ICOUNT_TEMP
    30     tcg_temp_free(count);
     30    tcg_temp_free_i32(count);
    3131#endif
    3232}
     
    4141}
    4242
    43 inline static void gen_io_start(void)
     43static inline void gen_io_start(void)
    4444{
    45     TCGv tmp = tcg_const_i32(1);
     45    TCGv_i32 tmp = tcg_const_i32(1);
    4646    tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io));
    47     tcg_temp_free(tmp);
     47    tcg_temp_free_i32(tmp);
    4848}
    4949
    5050static inline void gen_io_end(void)
    5151{
    52     TCGv tmp = tcg_const_i32(0);
     52    TCGv_i32 tmp = tcg_const_i32(0);
    5353    tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io));
    54     tcg_temp_free(tmp);
     54    tcg_temp_free_i32(tmp);
    5555}
    56 
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette