projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
682ea21
)
Subclasses can change the opcode of an instruction
author
Chris Lattner
<sabre@nondot.org>
Thu, 13 Dec 2001 00:39:33 +0000
(
00:39
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 13 Dec 2001 00:39:33 +0000
(
00:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1440
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instruction.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instruction.h
b/include/llvm/Instruction.h
index 78c87500906002340b051d36b0011a22a0ad9829..a7407ab3c82f17e2153fd7d509932a314c418977 100644
(file)
--- a/
include/llvm/Instruction.h
+++ b/
include/llvm/Instruction.h
@@
-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.