aboutsummaryrefslogtreecommitdiff
path: root/lib/objFile.ml
diff options
context:
space:
mode:
authorLasse Blaauwbroek2021-04-19 11:08:03 +0200
committerLasse Blaauwbroek2021-04-19 12:46:13 +0200
commite50a6195097c0d15c839c5403c1d02511afd54e4 (patch)
treec612ea3c2817cb23cb6ff34d3e71b2e1b50ab05a /lib/objFile.ml
parent00391bd681098132cc89c356d1d27334d257fc8b (diff)
Check for existence before using `Global.lookup_constant` instead of catching `Not_found`
`Global.lookup_constant` fails with an assertion instead of `Not_found`. Some code relied upon `Not_found`.
Diffstat (limited to 'lib/objFile.ml')
0 files changed, 0 insertions, 0 deletions