Commit c9f1a72
Fix logic bug in JIT_CHECK_ONCE macro where check ran every time
Summary:
The checked flag was only set to true in the else branch (reached when
checked is already true), so it never actually became true and the
"once" semantics were completely broken.
Reviewed By: yoney
Differential Revision: D94927042
fbshipit-source-id: b4a81c562542ebc29604f5a532032279853b1fc91 parent 607e15b commit c9f1a72
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | 73 | | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
0 commit comments