diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-02-18 21:25:23 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-18 20:38:35 +0000 |
commit | 24ebf5f31a178051cff1a4aab5ba621037191577 (patch) | |
tree | cea4158f79e102f29e5719332d6a84ca732645af /qemu-common.h | |
parent | df2a54e6987172ad5de725b541e3650834d329bf (diff) | |
download | qemu-24ebf5f31a178051cff1a4aab5ba621037191577.zip qemu-24ebf5f31a178051cff1a4aab5ba621037191577.tar.gz qemu-24ebf5f31a178051cff1a4aab5ba621037191577.tar.bz2 |
get rid of hostregs_helper.h
Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global
register that is used is AREG0, so the complexity of hostregs_helper.h
is unused. Use regular assignments and a compiler optimization barrier.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r-- | qemu-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h index b09f717..a98fccd 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -11,6 +11,8 @@ #define QEMU_WARN_UNUSED_RESULT #endif +#define QEMU_BUILD_BUG_ON(x) typedef char __build_bug_on__##__LINE__[(x)?-1:1]; + /* Hack around the mess dyngen-exec.h causes: We need QEMU_NORETURN in files that cannot include the following headers without conflicts. This condition has to be removed once dyngen is gone. */ |