deref: fix inverted tests
[smatch.git] / target-h8300.c
blobc3652350bac789ec97a03db4dddfffbcb3def4b1
1 #include "symbol.h"
2 #include "target.h"
3 #include "machine.h"
6 static void init_h8300(const struct target *self)
8 intptr_ctype = &int_ctype;
9 uintptr_ctype = &uint_ctype;
10 ssize_t_ctype = &long_ctype;
11 size_t_ctype = &ulong_ctype;
12 wchar_ctype = &ushort_ctype;
14 fast16_ctype = &int_ctype;
15 ufast16_ctype = &uint_ctype;
16 fast32_ctype = &int_ctype;
17 ufast32_ctype = &uint_ctype;
20 static void predefine_h8300(const struct target *self)
22 predefine("__H8300H__", 1, "1");
25 const struct target target_h8300 = {
26 .mach = MACH_H8300,
27 .bitness = ARCH_LP32,
28 .big_endian = true,
30 .bits_in_longdouble = 64,
32 .init = init_h8300,
33 .predefine = predefine_h8300,