File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
include/clang/CIR/Dialect/IR
lib/CIR/Lowering/DirectToLLVM Expand file tree Collapse file tree 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 @@ -3605,7 +3605,6 @@ class CIRCatchParamOpLowering
3605
3605
op->getParentOfType <mlir::LLVM::LLVMFuncOp>());
3606
3606
auto catchFn = rewriter.create <mlir::LLVM::LLVMFuncOp>(
3607
3607
op.getLoc (), cxaBeginCatch, catchFnTy);
3608
- sourceSymbol = catchFn;
3609
3608
}
3610
3609
rewriter.replaceOpWithNewOp <mlir::LLVM::CallOp>(
3611
3610
op, mlir::TypeRange{llvmPtrTy}, cxaBeginCatch,
@@ -3625,7 +3624,6 @@ class CIRCatchParamOpLowering
3625
3624
op->getParentOfType <mlir::LLVM::LLVMFuncOp>());
3626
3625
auto catchFn = rewriter.create <mlir::LLVM::LLVMFuncOp>(
3627
3626
op.getLoc (), cxaEndCatch, catchFnTy);
3628
- sourceSymbol = catchFn;
3629
3627
}
3630
3628
rewriter.create <mlir::LLVM::CallOp>(op.getLoc (), mlir::TypeRange{},
3631
3629
cxaEndCatch, mlir::ValueRange{});
You can’t perform that action at this time.
0 commit comments