summaryrefslogtreecommitdiff
path: root/include/llvm/Instruction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-21 20:08:52 +0000
committerChris Lattner <sabre@nondot.org>2001-07-21 20:08:52 +0000
commit87bdcaf2b85ba3ad7e979987210545774795ea29 (patch)
tree69b113a6fa98f118dee06be51a5cad66bc998aca /include/llvm/Instruction.h
parentcfad5df977f257299063309fa34f3c24831093c4 (diff)
downloadllvm-87bdcaf2b85ba3ad7e979987210545774795ea29.tar.gz
llvm-87bdcaf2b85ba3ad7e979987210545774795ea29.tar.bz2
llvm-87bdcaf2b85ba3ad7e979987210545774795ea29.tar.xz
More minor reorganizations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-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)...