From 516575369b7168f09030d297b5a2f89a26f1894d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicol=C3=A1s=20B=C3=A9rtolo?= Date: Sun, 31 May 2020 15:55:18 -0300 Subject: [PATCH] * Remove unnecessary DLL load of gcc_jit_block_add_assignment_op. * src/comp.c (gcc_jit_block_add_assignment_op): Remove unnecessary func import. --- src/comp.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/comp.c b/src/comp.c index d8e78bc2175..b6726822b75 100644 --- a/src/comp.c +++ b/src/comp.c @@ -46,7 +46,6 @@ along with GNU Emacs. If not, see . */ # include "w32common.h" #undef gcc_jit_block_add_assignment -#undef gcc_jit_block_add_assignment_op #undef gcc_jit_block_add_comment #undef gcc_jit_block_add_eval #undef gcc_jit_block_end_with_conditional @@ -201,10 +200,6 @@ DEF_DLL_FN (gcc_jit_type *, gcc_jit_type_get_pointer, (gcc_jit_type *type)); DEF_DLL_FN (void, gcc_jit_block_add_assignment, (gcc_jit_block *block, gcc_jit_location *loc, gcc_jit_lvalue *lvalue, gcc_jit_rvalue *rvalue)); -DEF_DLL_FN (void, gcc_jit_block_add_assignment_op, - (gcc_jit_block *block, gcc_jit_location *loc, - gcc_jit_lvalue *lvalue, enum gcc_jit_binary_op op, - gcc_jit_rvalue *rvalue)); DEF_DLL_FN (void, gcc_jit_block_add_eval, (gcc_jit_block *block, gcc_jit_location *loc, gcc_jit_rvalue *rvalue)); @@ -250,7 +245,6 @@ init_gccjit_functions (void) /* In alphabetical order */ LOAD_DLL_FN (library, gcc_jit_block_add_assignment); - LOAD_DLL_FN (library, gcc_jit_block_add_assignment_op); LOAD_DLL_FN (library, gcc_jit_block_add_comment); LOAD_DLL_FN (library, gcc_jit_block_add_eval); LOAD_DLL_FN (library, gcc_jit_block_end_with_conditional); @@ -312,7 +306,6 @@ init_gccjit_functions (void) /* In alphabetical order */ #define gcc_jit_block_add_assignment fn_gcc_jit_block_add_assignment -#define gcc_jit_block_add_assignment_op fn_gcc_jit_block_add_assignment_op #define gcc_jit_block_add_comment fn_gcc_jit_block_add_comment #define gcc_jit_block_add_eval fn_gcc_jit_block_add_eval #define gcc_jit_block_end_with_conditional fn_gcc_jit_block_end_with_conditional -- 2.39.5