- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitb7f1fe6
committed
Ensure that the result of evaluating a function during constant-expression
simplification gets detoasted before it is incorporated into a Const node.Otherwise, if an immutable function were to return a TOAST pointer (anunlikely case, but it can be made to happen), we would end up with a planthat depends on the continued existence of the out-of-line toast datum.1 parent245dd2b commitb7f1fe6
1 file changed
+14
-3
lines changedLines changed: 14 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1702 | 1702 |
| |
1703 | 1703 |
| |
1704 | 1704 |
| |
1705 |
| - | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
1706 | 1712 |
| |
1707 |
| - | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
1708 | 1719 |
| |
1709 | 1720 |
| |
1710 | 1721 |
| |
|
0 commit comments
Comments
(0)