Write select instructions to bytecode

llvm-svn: 12315
This commit is contained in:
Chris Lattner 2004-03-12 05:52:01 +00:00
parent 92412466b6
commit e7c9f6f7ae
1 changed files with 2 additions and 1 deletions

View File

@ -207,9 +207,10 @@ void BytecodeWriter::outputInstruction(const Instruction &I) {
//
const Type *Ty;
switch (I.getOpcode()) {
case Instruction::Select:
case Instruction::Malloc:
case Instruction::Alloca:
Ty = I.getType(); // Malloc & Alloca ALWAYS want to encode the return type
Ty = I.getType(); // These ALWAYS want to encode the return type
break;
case Instruction::Store:
Ty = I.getOperand(1)->getType(); // Encode the pointer type...