================
@@ -133,4 +137,48 @@ mlir::Operation *LowerItaniumCXXABI::lowerGetRuntimeMember(
                              cir::CastKind::bitcast, memberBytesPtr);
 }
 
+mlir::TypedAttr LowerItaniumCXXABI::lowerMethodConstant(
+    cir::MethodAttr attr, const mlir::DataLayout &layout,
+    const mlir::TypeConverter &typeConverter) const {
+  cir::IntType ptrdiffCIRTy = getPtrDiffCIRTy(lm);
+  auto loweredMethodTy = mlir::cast<cir::RecordType>(
----------------
erichkeane wrote:

Why are we doing `lowerMethodType`  and getting a `RecordType` back?  Is that 
weird? 

https://github.com/llvm/llvm-project/pull/174640
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to