~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to target-i386/translate.c

  • Committer: aliguori
  • Date: 2009-01-15 22:36:53 UTC
  • Revision ID: git-v1:8fec2b8c454f00d9200e6eb75c6cda73f8425c00
global s/loglevel & X/qemu_loglevel_mask(X)/ (Eduardo Habkost)

These are references to 'loglevel' that aren't on a simple 'if (loglevel &
X) qemu_log()' statement.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6340 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
3961
3961
    target_ulong next_eip, tval;
3962
3962
    int rex_w, rex_r;
3963
3963
 
3964
 
    if (unlikely(loglevel & CPU_LOG_TB_OP))
 
3964
    if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP)))
3965
3965
        tcg_gen_debug_insn_start(pc_start);
3966
3966
    s->pc = pc_start;
3967
3967
    prefixes = 0;
7676
7676
 
7677
7677
#ifdef DEBUG_DISAS
7678
7678
    log_cpu_state_mask(CPU_LOG_TB_CPU, env, X86_DUMP_CCOP);
7679
 
    if (loglevel & CPU_LOG_TB_IN_ASM) {
 
7679
    if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) {
7680
7680
        int disas_flags;
7681
7681
        qemu_log("----------------\n");
7682
7682
        qemu_log("IN: %s\n", lookup_symbol(pc_start));
7712
7712
{
7713
7713
    int cc_op;
7714
7714
#ifdef DEBUG_DISAS
7715
 
    if (loglevel & CPU_LOG_TB_OP) {
 
7715
    if (qemu_loglevel_mask(CPU_LOG_TB_OP)) {
7716
7716
        int i;
7717
7717
        qemu_log("RESTORE:\n");
7718
7718
        for(i = 0;i <= pc_pos; i++) {