Skip to content

Commit

Permalink
Eta-expand iDtoIdx in base to prevent ptrdiff_ikind lookup during ini…
Browse files Browse the repository at this point in the history
…tialization
  • Loading branch information
sim642 committed Sep 24, 2024
1 parent 84e738b commit d4b4291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/base.ml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ struct
* Abstract evaluation functions
**************************************************************************)

let iDtoIdx = ID.cast_to (Cilfacade.ptrdiff_ikind ())
let iDtoIdx x = ID.cast_to (Cilfacade.ptrdiff_ikind ()) x

let unop_ID = function
| Neg -> ID.neg
Expand Down

0 comments on commit d4b4291

Please sign in to comment.