aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-09-24 14:46:16 +0200
committerBjörn Gustavsson <[email protected]>2015-09-28 10:26:39 +0200
commitae125a3bc62c2165a9db028e12aa6e9f90c7d9cf (patch)
tree285bed8786ef081e5b45503c88a18237492b7c94 /lib
parentc60b4d8ae7d6481bd02782f561fd4d9f626ea6df (diff)
downloadotp-ae125a3bc62c2165a9db028e12aa6e9f90c7d9cf.tar.gz
otp-ae125a3bc62c2165a9db028e12aa6e9f90c7d9cf.tar.bz2
otp-ae125a3bc62c2165a9db028e12aa6e9f90c7d9cf.zip
beam_type: Remove unused clause
The clause cannot possibly match, because there will always be a {bif,...} clause that will match before reaching the fclearerror instruction.
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/src/beam_type.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_type.erl b/lib/compiler/src/beam_type.erl
index 6b5cf667ba..bb91bbcc0a 100644
--- a/lib/compiler/src/beam_type.erl
+++ b/lib/compiler/src/beam_type.erl
@@ -618,7 +618,6 @@ checkerror(Is) ->
checkerror_1(Is, Is).
checkerror_1([{set,[],[],fcheckerror}|_], OrigIs) -> OrigIs;
-checkerror_1([{set,[],[],fclearerror}|_], OrigIs) -> OrigIs;
checkerror_1([{set,_,_,{bif,fadd,_}}|_], OrigIs) -> checkerror_2(OrigIs);
checkerror_1([{set,_,_,{bif,fsub,_}}|_], OrigIs) -> checkerror_2(OrigIs);
checkerror_1([{set,_,_,{bif,fmul,_}}|_], OrigIs) -> checkerror_2(OrigIs);