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 @@ -3343,8 +3343,8 @@ def CatchParamOp : CIR_Op<"catch_param"> {
3343
3343
}];
3344
3344
3345
3345
let extraClassDeclaration = [{
3346
- bool isBegin() { return getKind() == mlir::cir::CatchParamKind::begin; }
3347
- bool isEnd() { return getKind() == mlir::cir::CatchParamKind::end; }
3346
+ bool isBegin() { return getKind() == mlir::cir::CatchParamKind::begin; }
3347
+ bool isEnd() { return getKind() == mlir::cir::CatchParamKind::end; }
3348
3348
}];
3349
3349
3350
3350
let hasVerifier = 1;
Original file line number Diff line number Diff line change @@ -3603,7 +3603,6 @@ class CIRCatchParamOpLowering
3603
3603
op->getParentOfType <mlir::LLVM::LLVMFuncOp>());
3604
3604
auto catchFn = rewriter.create <mlir::LLVM::LLVMFuncOp>(
3605
3605
op.getLoc (), cxaBeginCatch, catchFnTy);
3606
- sourceSymbol = catchFn;
3607
3606
}
3608
3607
rewriter.replaceOpWithNewOp <mlir::LLVM::CallOp>(
3609
3608
op, mlir::TypeRange{llvmPtrTy}, cxaBeginCatch,
@@ -3623,7 +3622,6 @@ class CIRCatchParamOpLowering
3623
3622
op->getParentOfType <mlir::LLVM::LLVMFuncOp>());
3624
3623
auto catchFn = rewriter.create <mlir::LLVM::LLVMFuncOp>(
3625
3624
op.getLoc (), cxaEndCatch, catchFnTy);
3626
- sourceSymbol = catchFn;
3627
3625
}
3628
3626
rewriter.create <mlir::LLVM::CallOp>(op.getLoc (), mlir::TypeRange{},
3629
3627
cxaEndCatch, mlir::ValueRange{});
You can’t perform that action at this time.
0 commit comments