Skip to content

Commit

Permalink
Shorten AsmPrinterFlags filed to accomodate for future Flags field
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127097 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
asl committed Mar 5, 2011
1 parent 2b0f9e7 commit 6647b59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/llvm/CodeGen/MachineInstr.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ class MachineInstr : public ilist_node<MachineInstr> {

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
Expand Down Expand Up @@ -125,7 +125,7 @@ class MachineInstr : public ilist_node<MachineInstr> {

/// getAsmPrinterFlags - Return the asm printer flags bitvector.
///
unsigned short getAsmPrinterFlags() const { return AsmPrinterFlags; }
uint8_t getAsmPrinterFlags() const { return AsmPrinterFlags; }

/// clearAsmPrinterFlags - clear the AsmPrinter bitvector
///
Expand Down

0 comments on commit 6647b59

Please sign in to comment.