mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
96c9b8b496
commit
9548f20ad5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user