aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-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 57edc7d43e..52c6085a84 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -332,7 +332,7 @@ private:
//===----------------------------------------------------------------------===//
class MachineInstr {
- int opCode; // the opcode
+ int Opcode; // the opcode
std::vector<MachineOperand> operands; // the operands
unsigned numImplicitRefs; // number of implicit operands
MachineInstr* prev, *next; // links for our intrusive list
@@ -371,7 +371,7 @@ public:
/// Accessors for opcode.
///
- const int getOpcode() const { return opCode; }
+ const int getOpcode() const { return Opcode; }
/// Access to explicit operands of the instruction.
///
@@ -591,7 +591,7 @@ public:
/// setOpcode - Replace the opcode of the current instruction with a new one.
///
- void setOpcode(unsigned Op) { opCode = Op; }
+ void setOpcode(unsigned Op) { Opcode = Op; }
/// RemoveOperand - Erase an operand from an instruction, leaving it with one
/// fewer operand than it started with.