From 24ebf5f31a178051cff1a4aab5ba621037191577 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 18 Feb 2010 21:25:23 +0100 Subject: 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 Signed-off-by: Blue Swirl --- qemu-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qemu-common.h') 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. */ -- cgit v1.1