diff --git a/llvm/include/llvm/Instruction.h b/llvm/include/llvm/Instruction.h index 54dcf603ef6cae06edc24fff9967f04cea74699d..85f5c0f42968db4902bea74d7cce7973f38f379c 100644 --- a/llvm/include/llvm/Instruction.h +++ b/llvm/include/llvm/Instruction.h @@ -38,10 +38,6 @@ public: // virtual Instruction *clone() const = 0; - // Add a machine instruction used to implement this instruction - // - void addMachineInstruction(MachineInstr* minstr); - // Accessor methods... // inline const BasicBlock *getParent() const { return Parent; } @@ -55,6 +51,10 @@ public: return *machineInstrVec; } + // Add a machine instruction used to implement this instruction + // + void addMachineInstruction(MachineInstr* minstr); + // --------------------------------------------------------------------------- // Subclass classification... getInstType() returns a member of // one of the enums that is coming soon (down below)...