~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/recompiler/tcg/tcg.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
#include "config.h"
47
47
#include "qemu-common.h"
48
48
 
49
 
/* Note: the long term plan is to reduce the dependancies on the QEMU
 
49
/* Note: the long term plan is to reduce the dependencies on the QEMU
50
50
   CPU definitions. Currently they are used for qemu_ld/st
51
51
   instructions */
52
52
#define NO_CPU_IO_DEFS
60
60
#ifdef VBOX
61
61
/*
62
62
 * Liveness analysis doesn't work well with 32-bit hosts and 64-bit targets,
63
 
 * second element of the register pair to store 64-bit value is consedered
 
63
 * second element of the register pair to store 64-bit value is considered
64
64
 * dead, it seems.
65
65
 * @todo: fix it in compiler
66
66
 */
1464
1464
    }
1465
1465
}
1466
1466
 
1467
 
/* save globals to their cannonical location and assume they can be
 
1467
/* save globals to their canonical location and assume they can be
1468
1468
   modified be the following code. 'allocated_regs' is used in case a
1469
1469
   temporary registers needs to be allocated to store a constant. */
1470
1470
static void save_globals(TCGContext *s, TCGRegSet allocated_regs)