[llvm-commits] CVS: llvm/include/llvm/Instruction.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 29 12:55:01 PST 2004
Changes in directory llvm/include/llvm:
Instruction.h updated: 1.50 -> 1.51
---
Log message:
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.
---
Diffs of the changes: (+2 -1)
Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.50 llvm/include/llvm/Instruction.h:1.51
--- llvm/include/llvm/Instruction.h:1.50 Mon Jan 12 17:18:06 2004
+++ llvm/include/llvm/Instruction.h Sun Feb 29 12:54:23 2004
@@ -16,6 +16,7 @@
#define LLVM_INSTRUCTION_H
#include "llvm/User.h"
+#include "Support/Annotation.h"
namespace llvm {
@@ -25,7 +26,7 @@
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
More information about the llvm-commits
mailing list