diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-12 16:09:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-12 16:09:53 +0000 |
commit | 2a90ba60175f93e7438165d8423100aa573c16c5 (patch) | |
tree | 0bf3aa076acfead37098e40357afb567c07938ea /include/llvm/CodeGen/MachineInstr.h | |
parent | 9fc77d1358b4d5c2d71ce7b94bafacbbb35956c6 (diff) |
Rename the opCode instance variable to Opcode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 6 |
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. |