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/translate-all.c

    r36140 r36170  
    1616 * You should have received a copy of the GNU Lesser General Public
    1717 * License along with this library; if not, write to the Free Software
    18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
     18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA
    1919 */
    2020
     
    139139    s->code_time -= profile_getclock();
    140140#endif
    141     gen_code_size = dyngen_code(s, gen_code_buf);
     141    gen_code_size = tcg_gen_code(s, gen_code_buf);
    142142    *gen_code_size_ptr = gen_code_size;
    143143#ifdef CONFIG_PROFILER
     
    152152
    153153#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();
    159159    }
    160160#endif
     
    202202    s->tb_next = tb->tb_next;
    203203#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);
    205205    if (j < 0)
    206206        return -1;
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