forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2111a48
committed
Adapt expression JIT to stdbool.h introduction.
The LLVM JIT provider uses clang to synchronize types between normal Ccode and runtime generated code. Clang represents stdbool.h stylebooleans in return values & parameters differently from booleansstored in variables.Thus the expression compilation code from2a0faed needs to beadapted to9a95a77. Instead of hardcoding i8 as the type forbooleans (which already was wrong on some edge case platforms!), usepostgres' notion of a boolean as used for storage and for parameters.Per buildfarm animal xenodermus.Author: Andres Freund1 parentfdb7894 commit2111a48
File tree
5 files changed
+132
-64
lines changed- src
- backend/jit/llvm
- include/jit
5 files changed
+132
-64
lines changedLines changed: 30 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
49 | 51 |
| |
50 | 52 |
| |
51 | 53 |
| |
| |||
682 | 684 |
| |
683 | 685 |
| |
684 | 686 |
| |
685 |
| - | |
| 687 | + | |
686 | 688 |
| |
687 | 689 |
| |
688 | 690 |
| |
| |||
702 | 704 |
| |
703 | 705 |
| |
704 | 706 |
| |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
705 | 732 |
| |
706 | 733 |
| |
707 | 734 |
| |
| |||
740 | 767 |
| |
741 | 768 |
| |
742 | 769 |
| |
| 770 | + | |
| 771 | + | |
743 | 772 |
| |
744 | 773 |
| |
745 | 774 |
| |
|
0 commit comments
Comments
(0)