diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-03-01 01:26:01 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-03-01 01:26:01 +0000 |
commit | 741981adf3a2bc0c6652c9c4ec846250950f3e68 (patch) | |
tree | ff48140195f34e487c7ea9178a12a397e04b8c37 /include/llvm/CodeGen/MachineInstr.h | |
parent | b519a0fe0ee02804cc77cb9c40ded6604341b71c (diff) |
Move getBundleStart() into MachineInstrBundle.h.
This allows the function to be inlined, and makes it suitable for use in
getInstructionIndex().
Also provide a const version. C++ is great for touch typing practice.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index cd94abae7e..7f29d316ea 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -234,11 +234,6 @@ public: /// if either itself or its following instruction is marked "InsideBundle". bool isBundled() const; - /// getBundleStart - If this instruction is inside a bundle return the - /// instruction at the start of the bundle. Otherwise just returns the - /// instruction itself. - MachineInstr* getBundleStart(); - /// getDebugLoc - Returns the debug location id of this MachineInstr. /// DebugLoc getDebugLoc() const { return debugLoc; } |