diff options
author | Kostis Sagonas <[email protected]> | 2015-06-13 15:16:00 +0200 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2015-06-13 15:16:00 +0200 |
commit | 9e67864235e2a9183746dc904f41d03743a77fd2 (patch) | |
tree | 8e5383c413805c1eb08094d97b8be5a8774584bc /lib/hipe/amd64/hipe_amd64_registers.erl | |
parent | 831aab8a46f9f659bc422fbbef4971e9e68b201f (diff) | |
download | otp-9e67864235e2a9183746dc904f41d03743a77fd2.tar.gz otp-9e67864235e2a9183746dc904f41d03743a77fd2.tar.bz2 otp-9e67864235e2a9183746dc904f41d03743a77fd2.zip |
Simplify handling of o2 and o3 option expansion
A recent rewrite of some code in this file (commit 355f4b5)
exposed some dialyzer warnings of some code which is unreachable.
Indeed, checking whether one executes on an unsupported architecture
when expanding the 'o2' and 'o3' hipe compiler options is unnecessary
because that check is performed in the expansion of the 'o1' option
anyway. While at it, simplified the code a bit not to have a very
long case clause.
Diffstat (limited to 'lib/hipe/amd64/hipe_amd64_registers.erl')
0 files changed, 0 insertions, 0 deletions