aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/hipe_unified_loader.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-02-06 07:43:43 +0100
committerBjörn Gustavsson <[email protected]>2016-02-25 14:53:10 +0100
commit54debd4a9ce3afb680738179d29bafb43e2cba3b (patch)
treeb00dcf98051e59d2837dfefa56ab3c8345ccb36f /lib/kernel/src/hipe_unified_loader.erl
parentb9869e4940c991783be56d12507f127c85b8bac4 (diff)
downloadotp-54debd4a9ce3afb680738179d29bafb43e2cba3b.tar.gz
otp-54debd4a9ce3afb680738179d29bafb43e2cba3b.tar.bz2
otp-54debd4a9ce3afb680738179d29bafb43e2cba3b.zip
Simplify and robustify code_server:all_loaded/1
The main ets table kept by code_server contains several pieces of information. Therefore, code_server:all_loaded/1 need to filter the information in the table. code_server:all_loaded/1 can be simplified if we use ets:select/2. Currently, the filtering is done by filtering away unwanted stuff ({sticky_dir,Mod} tuples). It is more robust to filter on the stuff that we want to keep ({Mod,Path} tuples, where Mod is an atom) in case that we'll add more auxiliary records to the table later.
Diffstat (limited to 'lib/kernel/src/hipe_unified_loader.erl')
0 files changed, 0 insertions, 0 deletions