File tree 2 files changed +2
-4
lines changed
include/clang/CIR/Dialect/IR
lib/CIR/Lowering/DirectToLLVM
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3334,8 +3334,8 @@ def CatchParamOp : CIR_Op<"catch_param"> {
3334
3334
}];
3335
3335
3336
3336
let extraClassDeclaration = [{
3337
- bool isBegin() { return getKind() == mlir::cir::CatchParamKind::begin; }
3338
- bool isEnd() { return getKind() == mlir::cir::CatchParamKind::end; }
3337
+ bool isBegin() { return getKind() == mlir::cir::CatchParamKind::begin; }
3338
+ bool isEnd() { return getKind() == mlir::cir::CatchParamKind::end; }
3339
3339
}];
3340
3340
3341
3341
let hasVerifier = 1;
Original file line number Diff line number Diff line change @@ -3602,7 +3602,6 @@ class CIRCatchParamOpLowering
3602
3602
op->getParentOfType <mlir::LLVM::LLVMFuncOp>());
3603
3603
auto catchFn = rewriter.create <mlir::LLVM::LLVMFuncOp>(
3604
3604
op.getLoc (), cxaBeginCatch, catchFnTy);
3605
- sourceSymbol = catchFn;
3606
3605
}
3607
3606
rewriter.replaceOpWithNewOp <mlir::LLVM::CallOp>(
3608
3607
op, mlir::TypeRange{llvmPtrTy}, cxaBeginCatch,
@@ -3622,7 +3621,6 @@ class CIRCatchParamOpLowering
3622
3621
op->getParentOfType <mlir::LLVM::LLVMFuncOp>());
3623
3622
auto catchFn = rewriter.create <mlir::LLVM::LLVMFuncOp>(
3624
3623
op.getLoc (), cxaEndCatch, catchFnTy);
3625
- sourceSymbol = catchFn;
3626
3624
}
3627
3625
rewriter.create <mlir::LLVM::CallOp>(op.getLoc (), mlir::TypeRange{},
3628
3626
cxaEndCatch, mlir::ValueRange{});
You can’t perform that action at this time.
0 commit comments