Changeset 36170 in vbox for trunk/src/recompiler/translate-all.c
- Timestamp:
- Mar 4, 2011 12:49:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/translate-all.c
r36140 r36170 16 16 * You should have received a copy of the GNU Lesser General Public 17 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307USA18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA 19 19 */ 20 20 … … 139 139 s->code_time -= profile_getclock(); 140 140 #endif 141 gen_code_size = dyngen_code(s, gen_code_buf);141 gen_code_size = tcg_gen_code(s, gen_code_buf); 142 142 *gen_code_size_ptr = gen_code_size; 143 143 #ifdef CONFIG_PROFILER … … 152 152 153 153 #ifdef DEBUG_DISAS 154 if ( loglevel & CPU_LOG_TB_OUT_ASM) {155 fprintf(logfile,"OUT: [size=%d]\n", *gen_code_size_ptr);156 disas(logfile,tb->tc_ptr, *gen_code_size_ptr);157 fprintf(logfile,"\n");158 fflush(logfile);154 if (qemu_loglevel_mask(CPU_LOG_TB_OUT_ASM)) { 155 qemu_log("OUT: [size=%d]\n", *gen_code_size_ptr); 156 log_disas(tb->tc_ptr, *gen_code_size_ptr); 157 qemu_log("\n"); 158 qemu_log_flush(); 159 159 } 160 160 #endif … … 202 202 s->tb_next = tb->tb_next; 203 203 #endif 204 j = dyngen_code_search_pc(s, (uint8_t *)tc_ptr, searched_pc - tc_ptr);204 j = tcg_gen_code_search_pc(s, (uint8_t *)tc_ptr, searched_pc - tc_ptr); 205 205 if (j < 0) 206 206 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.