Patchwork dyngen-exec.h: cleanup

login
register
mail settings
Submitter Blue Swirl
Date July 30, 2011, 7:23 p.m.
Message ID <CAAu8pHt2FHRNozBGmNhEQB=JMUReKdcDh1oubHFMt2Z+-xDrxg@mail.gmail.com>
Download mbox | patch
Permalink /patch/107515/
State New
Headers show

Comments

Blue Swirl - July 30, 2011, 7:23 p.m.
Remove unused or otherwise available stuff.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
 dyngen-exec.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

Patch

From 474aab1da10b49190493a65c073407510e129a8f Mon Sep 17 00:00:00 2001
Message-Id: <474aab1da10b49190493a65c073407510e129a8f.1312053733.git.blauwirbel@gmail.com>
From: Blue Swirl <blauwirbel@gmail.com>
Date: Sat, 30 Jul 2011 15:50:22 +0000
Subject: [PATCH] dyngen-exec.h: cleanup

Remove unused or otherwise available stuff.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
 dyngen-exec.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/dyngen-exec.h b/dyngen-exec.h
index cc1e4fb..8beb7f3 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -19,15 +19,6 @@ 
 #if !defined(__DYNGEN_EXEC_H__)
 #define __DYNGEN_EXEC_H__
 
-#include "qemu-common.h"
-
-#ifdef __OpenBSD__
-#include <sys/types.h>
-#endif
-
-/* XXX: This may be wrong for 64-bit ILP32 hosts.  */
-typedef void * host_reg_t;
-
 #if defined(__i386__)
 #define AREG0 "ebp"
 #elif defined(__x86_64__)
@@ -66,11 +57,6 @@  typedef void * host_reg_t;
 
 register CPUState *env asm(AREG0);
 
-#define xglue(x, y) x ## y
-#define glue(x, y) xglue(x, y)
-#define stringify(s)	tostring(s)
-#define tostring(s)	#s
-
 /* The return address may point to the start of the next instruction.
    Subtracting one gets us the call instruction itself.  */
 #if defined(__s390__) && !defined(__s390x__)
-- 
1.7.2.5