aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-11-23 16:27:20 +0100
committerSverker Eriksson <[email protected]>2016-11-23 16:27:20 +0100
commit2ee19c8a5b44a5b4eeb21f1e6ba6ae4236563c6f (patch)
treefbcf02b955d84310dcdabdfe2d36cf9fdcca78fa /lib/hipe/icode
parent46be02ff3a36f680013c7e8cd9152adc0e280361 (diff)
parentbb4624af3e5e1a5979c547e70110a923f1c9d503 (diff)
downloadotp-2ee19c8a5b44a5b4eeb21f1e6ba6ae4236563c6f.tar.gz
otp-2ee19c8a5b44a5b4eeb21f1e6ba6ae4236563c6f.tar.bz2
otp-2ee19c8a5b44a5b4eeb21f1e6ba6ae4236563c6f.zip
Merge branch 'margnus1/hipe-call-elim-crash/PR-1253/OTP-13965' into maint
* margnus1/hipe-call-elim-crash/PR-1253: hipe_icode_call_elim: Fix cf elimination crash hipe: Improve error message on internal crashes
Diffstat (limited to 'lib/hipe/icode')
-rw-r--r--lib/hipe/icode/hipe_icode_call_elim.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hipe/icode/hipe_icode_call_elim.erl b/lib/hipe/icode/hipe_icode_call_elim.erl
index 6a22133962..71c709a7d1 100644
--- a/lib/hipe/icode/hipe_icode_call_elim.erl
+++ b/lib/hipe/icode/hipe_icode_call_elim.erl
@@ -46,7 +46,8 @@ cfg(IcodeSSA) ->
-spec elim_insn(icode_instr()) -> icode_instr().
elim_insn(Insn=#icode_call{'fun'={_,_,_}=MFA, args=Args, type=remote,
dstlist=[Dst=#icode_variable{
- annotation={type_anno, RetType, _}}]}) ->
+ annotation={type_anno, RetType, _}}],
+ continuation=[], fail_label=[]}) ->
Opaques = 'universe',
case erl_types:t_is_singleton(RetType, Opaques) of
true ->