add a hook to insert a noop

llvm-svn: 26560
This commit is contained in:
Chris Lattner 2006-03-05 23:48:51 +00:00
parent fa5e1c9c26
commit fbfdfd5d1c
1 changed files with 7 additions and 0 deletions

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