projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43cc4ee
)
Make PGJIT_* macros safer.
author
Heikki Linnakangas
Mon, 23 Apr 2018 08:48:08 +0000
(
04:48
-0400)
committer
Heikki Linnakangas
Mon, 23 Apr 2018 08:48:08 +0000
(
04:48
-0400)
Author: David Rowley
Discussion: https://www.postgresql.org/message-id/CAKJS1f8Ge2y0sDs6RQEJFH-vjb-bWhs86rCX4Fp4FZ+TmxtRkw@mail.gmail.com
src/include/jit/jit.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/jit/jit.h
b/src/include/jit/jit.h
index ddeffae27314670dfc3c9cd6cfedecf9a6396355..b451f4027e7f562e84e8f2ceac064036d41f02eb 100644
(file)
--- a/
src/include/jit/jit.h
+++ b/
src/include/jit/jit.h
@@
-17,11
+17,11
@@
/* Flags determining what kind of JIT operations to perform */
#define PGJIT_NONE 0
-#define PGJIT_PERFORM
1 << 0
-#define PGJIT_OPT3
1 << 1
-#define PGJIT_INLINE
1 << 2
-#define PGJIT_EXPR
1 << 3
-#define PGJIT_DEFORM
1 << 4
+#define PGJIT_PERFORM
(1 << 0)
+#define PGJIT_OPT3
(1 << 1)
+#define PGJIT_INLINE
(1 << 2)
+#define PGJIT_EXPR
(1 << 3)
+#define PGJIT_DEFORM
(1 << 4)
typedef struct JitContext