https://github.com/efriedma-quic commented:

This is fragile: it depends on CanDevirtualizeCall here matching the 
corresponding devirtualization code in EmitObjectDelete.  I'd rather not have 
that implicit coupling.

Maybe it makes sense to call emitVirtualObjectDelete() directly, instead of 
going through EmitObjectDelete()?

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

Reply via email to