aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Instruction.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 54dcf603ef..85f5c0f429 100644
--- a/include/llvm/Instruction.h
+++ b/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)...