Coverage Report

Created: 2018-07-03 15:31

/home/travis/build/MoarVM/MoarVM/src/gen/config.h
Line
Count
Source
1
/* !!!
2
 * If you're looking at config.h and thinking of editing - this is a
3
 * generated file. See build/config.h.in, unless you're just twiddling
4
 * to get things to work on your platform before updating Configure,
5
 * in which case go right ahead. :-)
6
 * !!!
7
 */
8
9
/* Version information. */
10
#define MVM_VERSION "2018.06-103-gaf455397f"
11
#define MVM_VERSION_MAJOR 2018
12
#define MVM_VERSION_MINOR 06
13
#define MVM_VERSION_PATCH 103
14
15
/* Various compiler-specific pragmii. */
16
#define MVM_NO_RETURN 
17
#define MVM_NO_RETURN_ATTRIBUTE __attribute__((noreturn))
18
#define MVM_FORMAT(X, Y, Z) __attribute__((format(X, Y, Z)))
19
20
/* DLL interface definitions. */
21
#define MVM_DLL_IMPORT __attribute__ ((visibility ("default")))
22
#define MVM_DLL_EXPORT __attribute__ ((visibility ("default")))
23
#define MVM_DLL_LOCAL  __attribute__ ((visibility ("hidden")))
24
25
/* Set in case of big-endian sytems.
26
 * The default byte order is little-endian. */
27
#if 0
28
#define MVM_BIGENDIAN 0
29
#endif
30
31
/* pthread_yield() detection */
32
#if 0
33
#define MVM_HAS_PTHREAD_YIELD 0
34
#endif
35
36
/* How this compiler does static inline functions. */
37
#define MVM_STATIC_INLINE static __inline__
38
39
#if 1
40
#define MVM_CAN_UNALIGNED_INT32
41
#endif
42
43
#if 1
44
#define MVM_CAN_UNALIGNED_INT64
45
#endif
46
47
#if 1
48
#define MVM_CAN_UNALIGNED_NUM64
49
#endif
50
51
#define MVM_PTR_SIZE 8
52
53
54
#if 1
55
#define MVM_BOOL _Bool
56
#endif
57
58
/* Should we translate \n to \r\n on output? */
59
316
#define MVM_TRANSLATE_NEWLINE_OUTPUT 0
60
61
#define MVM_JIT_ARCH MVM_JIT_ARCH_X64
62
#define MVM_JIT_PLATFORM MVM_JIT_PLATFORM_POSIX
63
64
#define MVM_VECTORIZE_LOOP _Pragma ("clang loop vectorize(enable)")
65
66
/* Branch condition compiler hints */
67
94.8M
#define MVM_LIKELY(condition) __builtin_expect(!!(condition), 1)
68
97.9M
#define MVM_UNLIKELY(condition) __builtin_expect(!!(condition), 0)
69
4.39M
#define MVM_EXPECT(condition, expection) __builtin_expect((condition), (expection))