aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorPaul Guyot <[email protected]>2010-07-11 19:24:04 +0200
committerBjörn Gustavsson <[email protected]>2010-08-27 13:37:15 +0200
commit7d6a8045152c1a1a3721d76583701a15a5fb5ada (patch)
tree929354f4671661a818332cd5201eaf094e3d7699 /erts
parentc4b4edaaf03ac12e12080cb4a3768edbb6ecf77d (diff)
downloadotp-7d6a8045152c1a1a3721d76583701a15a5fb5ada.tar.gz
otp-7d6a8045152c1a1a3721d76583701a15a5fb5ada.tar.bz2
otp-7d6a8045152c1a1a3721d76583701a15a5fb5ada.zip
Fix hipe:load/1
hipe:load/1 (and unexported hipe:load/2) just did not work. Calling it would fail with a badmatch because only the hipe chunk was passed to do_load/3's third parameter called WholeModule. Since this parameter is then passed to beam_lib:all_chunks/1 which accepts the whole module as a binary as well as a path to the beam file, and since a path is exactly what we have in load/2, the fix consists in letting do_load/3 accept a path and passing it from load/2.
Diffstat (limited to 'erts')
0 files changed, 0 insertions, 0 deletions