- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit2d83d72
committed
jit: Fix accidentally-harmless type confusion
In2a0faed, which added JIT compilation support for expressions, Iaccidentally used sizeof(LLVMBasicBlockRef *) instead ofsizeof(LLVMBasicBlockRef) as part of computing the size of an allocation. Thatturns out to have no real negative consequences due to LLVMBasicBlockRef beinga pointer itself (and thus having the same size). It still is wrong andconfusing, so fix it.Reported by coverity.Backpatch-through: 131 parentd115de9 commit2d83d72
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2505 | 2505 | | |
2506 | 2506 | | |
2507 | 2507 | | |
2508 | | - | |
| 2508 | + | |
2509 | 2509 | | |
2510 | 2510 | | |
2511 | 2511 | | |
| |||
0 commit comments
Comments
(0)