From 7899b6bd84e44e22e48039a7a514d36809618f0f Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 25 Oct 2024 13:50:11 -0700 Subject: [PATCH] wip: undo part of #111940 --- llvm/lib/SandboxIR/Constant.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/llvm/lib/SandboxIR/Constant.cpp b/llvm/lib/SandboxIR/Constant.cpp index 3e13c935c42811a..5f836985b8bc78e 100644 --- a/llvm/lib/SandboxIR/Constant.cpp +++ b/llvm/lib/SandboxIR/Constant.cpp @@ -302,27 +302,6 @@ template class GlobalWithNodeAPI; -#ifdef _MSC_VER -// These are needed for SandboxIRTest when building with LLVM_BUILD_LLVM_DYLIB -template LLVM_EXPORT_TEMPLATE GlobalIFunc & -GlobalWithNodeAPI::LLVMGVToGV::operator()(llvm::GlobalIFunc - &LLVMGV) - const; -template LLVM_EXPORT_TEMPLATE Function & -GlobalWithNodeAPI:: - LLVMGVToGV::operator()(llvm::Function &LLVMGV) const; - -template LLVM_EXPORT_TEMPLATE GlobalVariable &GlobalWithNodeAPI< - GlobalVariable, llvm::GlobalVariable, GlobalObject, - llvm::GlobalObject>::LLVMGVToGV::operator()(llvm::GlobalVariable &LLVMGV) - const; -template LLVM_EXPORT_TEMPLATE GlobalAlias & -GlobalWithNodeAPI::LLVMGVToGV::operator()(llvm::GlobalAlias - &LLVMGV) const; -#endif - void GlobalIFunc::setResolver(Constant *Resolver) { Ctx.getTracker() .emplaceIfTracking<