Ugh, the old sparc backend attaches MachineCodeForInstruction annotations on

LLVM instructions.  Because it contains an explicit cast, we didn't catch it.
I guess instruction's will be annotable for the duration of the sparcv9's
existence.

llvm-svn: 11999
This commit is contained in:
Chris Lattner 2004-02-29 18:54:23 +00:00
parent 9a4653edfa
commit 79b8d467da
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
#define LLVM_INSTRUCTION_H
#include "llvm/User.h"
#include "Support/Annotation.h"
namespace llvm {
@ -25,7 +26,7 @@ template<typename SC> struct ilist_traits;
template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
typename SubClass> class SymbolTableListTraits;
class Instruction : public User {
class Instruction : public User, public Annotable {
BasicBlock *Parent;
Instruction *Prev, *Next; // Next and Prev links for our intrusive linked list