Skip to content

Commit 19e292e

Browse files
committed
Revert "[clang][CIR] Fix build after 4d10c11"
This reverts commit c243406.
1 parent ead8092 commit 19e292e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/lib/CIR/CodeGen/CIRGenVTables.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ mlir::Attribute CIRGenVTables::getVTableComponent(
145145
case VTableComponent::CK_FunctionPointer:
146146
case VTableComponent::CK_CompleteDtorPointer:
147147
case VTableComponent::CK_DeletingDtorPointer: {
148-
GlobalDecl gd = component.getGlobalDecl(
149-
cgm.getASTContext().getTargetInfo().emitVectorDeletingDtors(
150-
cgm.getASTContext().getLangOpts()));
148+
GlobalDecl gd = component.getGlobalDecl();
151149

152150
assert(!cir::MissingFeatures::cudaSupport());
153151

0 commit comments

Comments
 (0)