diff --git a/llvm/include/llvm/Instruction.h b/llvm/include/llvm/Instruction.h index 78c875009060..a7407ab3c82f 100644 --- a/llvm/include/llvm/Instruction.h +++ b/llvm/include/llvm/Instruction.h @@ -18,12 +18,12 @@ class MachineCodeForVMInstr; class Instruction : public User { BasicBlock *Parent; - unsigned iType; // InstructionType MachineCodeForVMInstr* machineInstrVec; friend class ValueHolder; 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.