aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/main/hipe.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-10-24 12:55:12 +0200
committerBjörn Gustavsson <[email protected]>2018-10-24 12:55:12 +0200
commit58bea75b67754f1aeee2bccb537b50c0430ba08b (patch)
tree84cea5e436f453ecc378d6e4eec3571edc470131 /lib/hipe/main/hipe.erl
parent8d34db5c230660f42bd146b6db23096c015c221d (diff)
parentc37f7a2215646c85c1ae12303f07bc9bc27b75ae (diff)
downloadotp-58bea75b67754f1aeee2bccb537b50c0430ba08b.tar.gz
otp-58bea75b67754f1aeee2bccb537b50c0430ba08b.tar.bz2
otp-58bea75b67754f1aeee2bccb537b50c0430ba08b.zip
Merge branch 'maint'
* maint: beam_lib: Remove obsolete module() from the beam() type hipe: Don't use beam_lib:info/1 with an atom as filename Honor the max heap size when copying literals after purging
Diffstat (limited to 'lib/hipe/main/hipe.erl')
-rw-r--r--lib/hipe/main/hipe.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/main/hipe.erl b/lib/hipe/main/hipe.erl
index ac2e6c1e3b..e2cb9c0f0b 100644
--- a/lib/hipe/main/hipe.erl
+++ b/lib/hipe/main/hipe.erl
@@ -542,7 +542,7 @@ file(File) ->
| {'error', term()}
when Mod :: mod().
file(File, Options) when is_atom(File) ->
- case beam_lib:info(File) of
+ case beam_lib:info(atom_to_list(File)) of
L when is_list(L) ->
{module, Mod} = lists:keyfind(module, 1, L),
case compile(Mod, File, Options) of