diff options
Diffstat (limited to 'lib/VMCore/Instruction.cpp')
-rw-r--r-- | lib/VMCore/Instruction.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index e6ff3d28d2..2c7f6eae91 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -14,6 +14,10 @@ Instruction::Instruction(const Type *ty, unsigned it, const std::string &Name) iType = it; } +void Instruction::setParent(BasicBlock *P) { + Parent = P; +} + // Specialize setName to take care of symbol table majik void Instruction::setName(const std::string &name, SymbolTable *ST) { BasicBlock *P = 0; Function *PP = 0; |