Commit ca8d02d7 authored by Philip Reames's avatar Philip Reames Committed by Philip Reames
Browse files

[RISCV] Use a switch instead of a series of if-clauses [nfc] (try 2)

This way the compiler can tell us about missing cases if we add a new value
to this enum.  Amusingly, the first time I landed this, I had indeed forgotten
a switch case, and the build bots were quite happy to remind me of such.
parent 716c0220
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment