aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorGustav Simonsson <[email protected]>2012-02-22 10:18:33 +0100
committerGustav Simonsson <[email protected]>2012-02-22 10:18:33 +0100
commit7140a4e44d728e6b796c812cd7a50cd4cb5e0283 (patch)
tree9b3ea9134b4985e01f1dbeb40a8f4a35b1e09ecd /lib/hipe
parent3735ecf0815925950db313e56e8d2371afe2207a (diff)
parentbe237a6c5adfe8ea089bd8ff395316614888a768 (diff)
downloadotp-7140a4e44d728e6b796c812cd7a50cd4cb5e0283.tar.gz
otp-7140a4e44d728e6b796c812cd7a50cd4cb5e0283.tar.bz2
otp-7140a4e44d728e6b796c812cd7a50cd4cb5e0283.zip
Merge branch 'maint'
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/main/hipe.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/hipe/main/hipe.erl b/lib/hipe/main/hipe.erl
index 309d847374..1be679a13f 100644
--- a/lib/hipe/main/hipe.erl
+++ b/lib/hipe/main/hipe.erl
@@ -574,12 +574,8 @@ file(File, Options) when is_atom(File) ->
disasm(File) ->
case beam_disasm:file(File) of
#beam_file{labeled_exports = LabeledExports,
- compile_info = CompInfo0,
+ compile_info = CompInfo,
code = BeamCode} ->
- CompInfo = case CompInfo0 of
- none -> [];
- _ -> CompInfo0
- end,
CompOpts = proplists:get_value(options, CompInfo, []),
HCompOpts = case lists:keyfind(hipe, 1, CompOpts) of
{hipe, L} when is_list(L) -> L;