revision 978:eed5089fcfdb
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 978:eed5089fcfdb |
parent | 977:8514fb4bc101 |
child | 979:2cc7b486ea6c |
author | nkeynes |
date | Wed Feb 04 00:57:04 2009 +0000 (15 years ago) |
Remove accidentally committed debugging code
1.1 --- a/src/sh4/sh4trans.c Mon Feb 02 01:40:13 2009 +00001.2 +++ b/src/sh4/sh4trans.c Wed Feb 04 00:57:04 2009 +00001.3 @@ -27,18 +27,6 @@1.4 #include "sh4/sh4mmio.h"1.5 #include "sh4/mmu.h"1.7 -unsigned long block_count = 0;1.8 -1.9 -static void dump_state()1.10 -{1.11 - int i;1.12 - printf( "%08x: [%08x] ", sh4r.pc, mmu_urc % mmu_urb );1.13 - for( i=0; i<16; i++ ) {1.14 - printf( " %08x", sh4r.r[i] );1.15 - }1.16 - printf( "\n" );1.17 -}1.18 -1.19 /**1.20 * Execute a timeslice using translated code only (ie translate/execute loop)1.21 */1.22 @@ -78,12 +66,6 @@1.23 }1.24 code = sh4_translate_basic_block( sh4r.pc );1.25 }1.26 -// if( IS_TLB_ENABLED() ) {1.27 -// block_count++;1.28 -// if( block_count == 52048225 ) {1.29 -// dump_state();1.30 -// }1.31 -// }1.32 code = code();1.33 }1.34 return nanosecs;
.