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

Commitef668d8

Browse files
llvmjit: Make llvm_types_module variable static
Commitb059d2f introduced llvm_types_module and accidentallyexported it. As there is no usecase for accessing this variableexternally, this makes it static.Author: Andres Freund <andres@anarazel.de>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/20221101055132.pjjsvlkeo4stbjkq@awork3.anarazel.de
1 parent2dad308 commitef668d8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

‎src/backend/jit/llvm/llvmjit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ LLVMTypeRef StructAggStatePerTransData;
7777

7878
LLVMValueRefAttributeTemplate;
7979

80-
LLVMModuleRefllvm_types_module=NULL;
80+
staticLLVMModuleRefllvm_types_module=NULL;
8181

8282
staticboolllvm_session_initialized= false;
8383
staticsize_tllvm_generation=0;

‎src/include/jit/llvmjit.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ typedef struct LLVMJitContext
5555
List*handles;
5656
}LLVMJitContext;
5757

58-
/* llvm module containing information about types */
59-
externPGDLLIMPORTLLVMModuleRefllvm_types_module;
60-
6158
/* type and struct definitions */
6259
externPGDLLIMPORTLLVMTypeRefTypeParamBool;
6360
externPGDLLIMPORTLLVMTypeRefTypePGFunction;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp