vbox的更動 36170 路徑 trunk/src/recompiler/gen-icount.h
- 時間撮記:
- 2011-3-4 下午12:49:02 (14 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/recompiler/gen-icount.h
r36125 r36170 6 6 static inline void gen_icount_start(void) 7 7 { 8 TCGv count;8 TCGv_i32 count; 9 9 10 10 if (!use_icount) … … 16 16 we allow the target to supply a convenient register temporary. */ 17 17 #ifndef ICOUNT_TEMP 18 count = tcg_temp_local_new (TCG_TYPE_I32);18 count = tcg_temp_local_new_i32(); 19 19 #else 20 20 count = ICOUNT_TEMP; … … 28 28 tcg_gen_st16_i32(count, cpu_env, offsetof(CPUState, icount_decr.u16.low)); 29 29 #ifndef ICOUNT_TEMP 30 tcg_temp_free (count);30 tcg_temp_free_i32(count); 31 31 #endif 32 32 } … … 41 41 } 42 42 43 inline staticvoid gen_io_start(void)43 static inline void gen_io_start(void) 44 44 { 45 TCGv tmp = tcg_const_i32(1);45 TCGv_i32 tmp = tcg_const_i32(1); 46 46 tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io)); 47 tcg_temp_free (tmp);47 tcg_temp_free_i32(tmp); 48 48 } 49 49 50 50 static inline void gen_io_end(void) 51 51 { 52 TCGv tmp = tcg_const_i32(0);52 TCGv_i32 tmp = tcg_const_i32(0); 53 53 tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io)); 54 tcg_temp_free (tmp);54 tcg_temp_free_i32(tmp); 55 55 } 56
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器