Add support for the unwind instruction

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-09-08 18:54:55 +00:00
parent a6ce898dad
commit 36143fc444
9 changed files with 49 additions and 2 deletions

View File

@ -421,6 +421,9 @@ bool BytecodeParser::ParseInstruction(const unsigned char *&Buf,
Res = new StoreInst(getValue(ValTy, Raw.Arg1), Ptr, Raw.Opcode == 63);
return false;
}
case Instruction::Unwind:
if (Raw.NumOperands != 0) return true;
return new UnwindInst();
} // end switch(Raw.Opcode)
std::cerr << "Unrecognized instruction! " << Raw.Opcode