[llvm-commits] CVS: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 2 17:53:01 PST 2003
Changes in directory poolalloc/lib/PoolAllocate:
PoolAllocate.cpp updated: 1.27 -> 1.28
---
Log message:
Do not abort when running across an unwind instruction
---
Diffs of the changes: (+2 -1)
Index: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
diff -u poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.27 poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.28
--- poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.27 Sun Nov 2 17:50:10 2003
+++ poolalloc/lib/PoolAllocate/PoolAllocate.cpp Sun Nov 2 17:52:15 2003
@@ -612,6 +612,7 @@
// The following instructions are never modified by pool allocation
void visitBranchInst(BranchInst &I) { }
+ void visitUnwindInst(UnwindInst &I) { }
void visitBinaryOperator(Instruction &I) { }
void visitShiftInst (ShiftInst &I) { }
void visitSwitchInst (SwitchInst &I) { }
@@ -625,7 +626,7 @@
void visitPHINode(PHINode &I);
void visitInstruction(Instruction &I) {
- std::cerr << "PoolAllocate does not recognize this instruction\n";
+ std::cerr << "PoolAllocate does not recognize this instruction:\n" << I;
abort();
}
More information about the llvm-commits
mailing list