Skip to content

Commit 19e2664

Browse files
authored
Merge pull request #40292 from compnerd/constantinople
IRGen: do not mark AFP as const
2 parents 22c6f9f + 64d2d39 commit 19e2664

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/IRGen/GenThunk.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ llvm::Constant *IRGenModule::defineAsyncFunctionPointer(LinkEntity entity,
384384
auto asyncEntity = LinkEntity::forAsyncFunctionPointer(entity);
385385
auto *var = cast<llvm::GlobalVariable>(
386386
getAddrOfLLVMVariable(asyncEntity, init, DebugTypeInfo()));
387-
setTrueConstGlobal(var);
388387
return var;
389388
}
390389

0 commit comments

Comments
 (0)