- Notifications
You must be signed in to change notification settings - Fork28
Commit01c6370
committed
jit: Correct parameter type for generated expression evaluation functions.
clang only uses the 'i1' type for scalar booleans, not for pointers tobooleans (as the pointer might be pointing into a larger memoryallocation). Therefore a pointer-to-bool needs to the "storage" boolean.There's no known case of wrong code generation due to this, but it seems quitepossible that it could cause problems (see e.g. 72559438f92).Author: Andres FreundDiscussion:https://postgr.es/m/20201207212142.wz5tnbk2jsaqzogb@alap3.anarazel.deBackpatch: 11-, where jit support was added1 parent4f64daf commit01c6370
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
270 | 268 | | |
271 | 269 | | |
272 | 270 | | |
| |||
0 commit comments
Comments
(0)