summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2011-03-05 18:42:54 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2011-03-05 18:42:54 +0000
commit6647b59c9263eb1decd7f7ff353c0c99ec09ae6c (patch)
tree178443e7d0a274120e98a5c6d2d2752c8448e31f /include/llvm
parent2b0f9e73d8623b21fc14335ef6208deab2629cdf (diff)
downloadllvm-6647b59c9263eb1decd7f7ff353c0c99ec09ae6c.tar.gz
llvm-6647b59c9263eb1decd7f7ff353c0c99ec09ae6c.tar.bz2
llvm-6647b59c9263eb1decd7f7ff353c0c99ec09ae6c.tar.xz
Shorten AsmPrinterFlags filed to accomodate for future Flags field
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 82c5332ccd..4f580eaf73 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -53,10 +53,10 @@ public:
private:
const TargetInstrDesc *TID; // Instruction descriptor.
- unsigned short NumImplicitOps; // Number of implicit operands (which
+ uint16_t NumImplicitOps; // Number of implicit operands (which
// are determined at construction time).
- unsigned short AsmPrinterFlags; // Various bits of information used by
+ uint8_t AsmPrinterFlags; // Various bits of information used by
// the AsmPrinter to emit helpful
// comments. This is *not* semantic
// information. Do not use this for
@@ -125,7 +125,7 @@ public:
/// getAsmPrinterFlags - Return the asm printer flags bitvector.
///
- unsigned short getAsmPrinterFlags() const { return AsmPrinterFlags; }
+ uint8_t getAsmPrinterFlags() const { return AsmPrinterFlags; }
/// clearAsmPrinterFlags - clear the AsmPrinter bitvector
///