aboutsummaryrefslogtreecommitdiff
path: root/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec.h')
-rw-r--r--exec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/exec.h b/exec.h
index 5341496b72..29779f99de 100644
--- a/exec.h
+++ b/exec.h
@@ -32,6 +32,12 @@
#define __builtin_expect(x, n) (x)
#endif
+#ifdef __i386__
+#define REGPARM(n) __attribute((regparm(n)))
+#else
+#define REGPARM(n)
+#endif
+
/* is_jmp field values */
#define DISAS_NEXT 0 /* next instruction can be analyzed */
#define DISAS_JUMP 1 /* only pc was modified dynamically */