aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-10-20 15:11:12 +0200
committerSverker Eriksson <[email protected]>2016-10-21 15:02:06 +0200
commita148265b865abbd001b308be9a6f79b68896306a (patch)
treeab36bcbeca68fbd300db17c080fa051a8ba13d7f /lib
parentf96c3f2e8c02ec3e50708fed6e58227bd234318e (diff)
downloadotp-a148265b865abbd001b308be9a6f79b68896306a.tar.gz
otp-a148265b865abbd001b308be9a6f79b68896306a.tar.bz2
otp-a148265b865abbd001b308be9a6f79b68896306a.zip
hipe: Remove redundant assertion
Diffstat (limited to 'lib')
-rw-r--r--lib/hipe/llvm/hipe_rtl_to_llvm.erl4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/hipe/llvm/hipe_rtl_to_llvm.erl b/lib/hipe/llvm/hipe_rtl_to_llvm.erl
index f5ea6d676f..44bd1ad9c5 100644
--- a/lib/hipe/llvm/hipe_rtl_to_llvm.erl
+++ b/lib/hipe/llvm/hipe_rtl_to_llvm.erl
@@ -439,10 +439,6 @@ trans_call_name(RtlCallName, RtlCallType, Relocs, CallArgs, FinalArgs) ->
{"@" ++ LlvmName, [], Relocs1};
{M, F, A} when is_atom(M), is_atom(F), is_integer(A) ->
LlvmName = trans_mfa_name({M, F, A}, RtlCallType),
- ok = case RtlCallType of
- not_remote -> ok;
- remote -> ok
- end,
Relocs1 =
relocs_store(LlvmName, {call, RtlCallType, {M, F, length(CallArgs)}}, Relocs),
{"@" ++ LlvmName, [], Relocs1};