VirtualBox

忽略:
時間撮記:
2011-3-4 下午12:49:02 (14 年 以前)
作者:
vboxsync
訊息:

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

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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 
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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