Skip to content
Snippets Groups Projects
Commit 42129180 authored by Trịnh Tuấn Phương's avatar Trịnh Tuấn Phương Committed by Marge Bot
Browse files

Apply suggestion to rts/CheckUnload.c

parent f81f3964
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@
// In certain circumstances, there may be a lot of unloaded ObjectCode structs
// chained in `unloaded_objects` (such as when users `:load` a module in a very
// big repo in GHCi). To speed up checking whether an address lies within any of
// these objects, we populate the addresses of the their mapped sections in
// these objects, we populate the addresses of their mapped sections in
// an array sorted by their `start` address and do binary search for our address
// on that array. Note that this works because the sections are mapped to mutual
// exclusive memory regions, so we can simply find the largest lower bound among
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment