[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ReadInst.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Sep 8 13:55:09 PDT 2003
Changes in directory llvm/lib/Bytecode/Reader:
ReadInst.cpp updated: 1.48 -> 1.49
---
Log message:
Add support for the unwind instruction
---
Diffs of the changes:
Index: llvm/lib/Bytecode/Reader/ReadInst.cpp
diff -u llvm/lib/Bytecode/Reader/ReadInst.cpp:1.48 llvm/lib/Bytecode/Reader/ReadInst.cpp:1.49
--- llvm/lib/Bytecode/Reader/ReadInst.cpp:1.48 Mon Sep 8 13:20:14 2003
+++ llvm/lib/Bytecode/Reader/ReadInst.cpp Mon Sep 8 13:54:49 2003
@@ -421,6 +421,9 @@
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
More information about the llvm-commits
mailing list