mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
The personality function should be a Function* and not just a Value*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -914,10 +914,6 @@ void SelectionDAGBuilder::visitPHI(const PHINode &) {
|
||||
llvm_unreachable("SelectionDAGBuilder shouldn't visit PHI nodes!");
|
||||
}
|
||||
|
||||
void SelectionDAGBuilder::visitLandingPad(const LandingPadInst &) {
|
||||
// FIXME: Handle this
|
||||
}
|
||||
|
||||
void SelectionDAGBuilder::visit(unsigned Opcode, const User &I) {
|
||||
// Note: this doesn't use InstVisitor, because it has to work with
|
||||
// ConstantExpr's in addition to instructions.
|
||||
@@ -1813,7 +1809,13 @@ void SelectionDAGBuilder::visitUnwind(const UnwindInst &I) {
|
||||
}
|
||||
|
||||
void SelectionDAGBuilder::visitResume(const ResumeInst &RI) {
|
||||
llvm_unreachable("SelectionDAGBuilder shouldn't visit resume instructions!");
|
||||
}
|
||||
|
||||
void SelectionDAGBuilder::visitLandingPad(const LandingPadInst &) {
|
||||
// FIXME: Handle this
|
||||
assert(FuncInfo.MBB->isLandingPad() &&
|
||||
"Call to landingpad not in landing pad!");
|
||||
}
|
||||
|
||||
/// handleSmallSwitchCaseRange - Emit a series of specific tests (suitable for
|
||||
|
Reference in New Issue
Block a user