From: Chris Lattner Date: Tue, 28 Sep 2004 18:37:00 +0000 (+0000) Subject: Be consistent with our naming X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=49db6fe193168239be2f5aa8b4201614b739e840;p=oota-llvm.git Be consistent with our naming git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16552 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index fe4922a5ab0..603bf67a4d1 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -48,7 +48,7 @@ const unsigned M_BRANCH_FLAG = 1 << 1; const unsigned M_CALL_FLAG = 1 << 2; const unsigned M_RET_FLAG = 1 << 3; const unsigned M_BARRIER_FLAG = 1 << 4; -const unsigned M_DELAY_SLOT = 1 << 5; +const unsigned M_DELAY_SLOT_FLAG = 1 << 5; const unsigned M_CC_FLAG = 1 << 6; const unsigned M_LOAD_FLAG = 1 << 10; const unsigned M_STORE_FLAG = 1 << 12; @@ -208,7 +208,7 @@ public: /// hasDelaySlot - Returns true if the specified instruction has a delay slot /// which must be filled by the code generator. bool hasDelaySlot(unsigned Opcode) const { - return get(Opcode).Flags & M_DELAY_SLOT; + return get(Opcode).Flags & M_DELAY_SLOT_FLAG; } virtual bool hasResultInterlock(MachineOpCode Opcode) const {