Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit54ff1c3

Browse files
committed
Don't rely on llvm::make_unique.
Bleeding-edge LLVM has stopped supplying replacements for variousC++14 library features, for people on older C++ versions. Since we'renot ready to require C++14 yet, just use plain old new instead ofmake_unique. As revealed by buildfarm animal seawasp.Back-patch to 11.Reviewed-by: Andres FreundDiscussion:https://postgr.es/m/CA%2BhUKGJWG7unNqmkxg7nC5o3o-0p2XP6co4r%3D9epqYMm8UY4Mw%40mail.gmail.com
1 parent08e6882 commit54ff1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/jit/llvm/llvmjit_inline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ llvm_inline(LLVMModuleRef M)
174174
static std::unique_ptr<ImportMapTy>
175175
llvm_build_inline_plan(llvm::Module *mod)
176176
{
177-
std::unique_ptr<ImportMapTy> globalsToInline = llvm::make_unique<ImportMapTy>();
177+
std::unique_ptr<ImportMapTy>globalsToInline(newImportMapTy());
178178
FunctionInlineStates functionStates;
179179
InlineWorkList worklist;
180180

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp