mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Subclasses can change the opcode of an instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
682ea21397
commit
9df24be93b
@ -18,12 +18,12 @@ class MachineCodeForVMInstr;
|
||||
|
||||
class Instruction : public User {
|
||||
BasicBlock *Parent;
|
||||
unsigned iType; // InstructionType
|
||||
|
||||
MachineCodeForVMInstr* machineInstrVec;
|
||||
friend class ValueHolder<Instruction,BasicBlock,Method>;
|
||||
inline void setParent(BasicBlock *P) { Parent = P; }
|
||||
|
||||
protected:
|
||||
unsigned iType; // InstructionType
|
||||
public:
|
||||
Instruction(const Type *Ty, unsigned iType, const string &Name = "");
|
||||
virtual ~Instruction(); // Virtual dtor == good.
|
||||
|
Loading…
x
Reference in New Issue
Block a user