Commit c73878f8 authored by Matthias Braun's avatar Matthias Braun
Browse files

Fix warnings

parent 717ea07b
...@@ -109,6 +109,7 @@ static const char *get_insn_mode_string(amd64_insn_mode_t mode) ...@@ -109,6 +109,7 @@ static const char *get_insn_mode_string(amd64_insn_mode_t mode)
case INSN_MODE_16: return "16"; case INSN_MODE_16: return "16";
case INSN_MODE_32: return "32"; case INSN_MODE_32: return "32";
case INSN_MODE_64: return "64"; case INSN_MODE_64: return "64";
case INSN_MODE_80: return "80";
case INSN_MODE_128: return "128"; case INSN_MODE_128: return "128";
case INSN_MODE_INVALID: break; case INSN_MODE_INVALID: break;
} }
......
...@@ -64,6 +64,7 @@ static int get_insn_mode_bytes(amd64_insn_mode_t insn_mode) ...@@ -64,6 +64,7 @@ static int get_insn_mode_bytes(amd64_insn_mode_t insn_mode)
case INSN_MODE_32: return 4; case INSN_MODE_32: return 4;
case INSN_MODE_64: return 8; case INSN_MODE_64: return 8;
case INSN_MODE_128: return 16; case INSN_MODE_128: return 16;
case INSN_MODE_80:
case INSN_MODE_INVALID: break; case INSN_MODE_INVALID: break;
} }
panic("bad insn mode"); panic("bad insn mode");
......
Markdown is supported
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