add a hook to insert a noop

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-05 23:48:51 +00:00
parent 6cc3f0a774
commit 65e9f3969b

View File

@ -273,6 +273,13 @@ public:
return MI;
}
/// insertNoop - Insert a noop into the instruction stream at the specified
/// point.
virtual void insertNoop(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI) const {
assert(0 && "Target didn't implement insertNoop!");
abort();
}
//-------------------------------------------------------------------------
// Code generation support for creating individual machine instructions