[clang] 53d3038 - Fix build failure due to dump()
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 1 13:44:19 PST 2021
Author: Yaxun (Sam) Liu
Date: 2021-03-01T16:44:08-05:00
New Revision: 53d30381f54fbeef3e9ca7f9b52d29d235365f19
URL: https://github.com/llvm/llvm-project/commit/53d30381f54fbeef3e9ca7f9b52d29d235365f19
DIFF: https://github.com/llvm/llvm-project/commit/53d30381f54fbeef3e9ca7f9b52d29d235365f19.diff
LOG: Fix build failure due to dump()
Change-Id: I86b534223d63bf8bb8f49af5a64b300efbeba77b
Added:
Modified:
clang/lib/CodeGen/CGExpr.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index d57dd7f49d50..55e19313850c 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -5278,7 +5278,6 @@ RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee
isa<CUDAKernelCallExpr>(E) &&
(!TargetDecl || !isa<FunctionDecl>(TargetDecl))) {
llvm::Value *Handle = Callee.getFunctionPointer();
- Handle->dump();
auto *Cast =
Builder.CreateBitCast(Handle, Handle->getType()->getPointerTo());
auto *Stub = Builder.CreateLoad(Address(Cast, CGM.getPointerAlign()));
More information about the cfe-commits
mailing list