aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/Disassembler
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-09-11 04:19:21 +0000
committerCraig Topper <craig.topper@gmail.com>2012-09-11 04:19:21 +0000
commit9e6dc8b9e70c98fc269303a5a94f0476942fb35a (patch)
tree97a243479cfd982f200e903231c6c8c88d8e6ac4 /lib/Target/X86/Disassembler
parent0dd9b61f9f0dad1b1b9c4e5a54fe826e18fae787 (diff)
downloadexternal_llvm-9e6dc8b9e70c98fc269303a5a94f0476942fb35a.zip
external_llvm-9e6dc8b9e70c98fc269303a5a94f0476942fb35a.tar.gz
external_llvm-9e6dc8b9e70c98fc269303a5a94f0476942fb35a.tar.bz2
Change unsigned to a uint16_t in static disassembler tables to reduce the table size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Disassembler')
-rw-r--r--lib/Target/X86/Disassembler/X86Disassembler.h2
-rw-r--r--lib/Target/X86/Disassembler/X86DisassemblerDecoder.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/Disassembler/X86Disassembler.h b/lib/Target/X86/Disassembler/X86Disassembler.h
index 0dbfa26..981701f 100644
--- a/lib/Target/X86/Disassembler/X86Disassembler.h
+++ b/lib/Target/X86/Disassembler/X86Disassembler.h
@@ -78,7 +78,7 @@
uint16_t operands;
#define INSTRUCTION_IDS \
- unsigned instructionIDs;
+ uint16_t instructionIDs;
#include "X86DisassemblerDecoderCommon.h"
diff --git a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h
index 05cbb4c..407ead3 100644
--- a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h
+++ b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h
@@ -24,7 +24,7 @@ extern "C" {
uint16_t operands;
#define INSTRUCTION_IDS \
- unsigned instructionIDs;
+ uint16_t instructionIDs;
#include "X86DisassemblerDecoderCommon.h"