pgsql: Remove dead code

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove dead code
Date: 2024-04-17 08:52:45
Message-ID: E1rx124-002TzK-MX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove dead code

The configure check for HAVE_DECL_LLVMORCREGISTERPERF was removed by
e9a9843e138, but some code guarded by it was left. (That commit
removed the "register" calls but left the "unregister" calls.) That
code cannot be reached anymore, so remove it.

Reported-by: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Discussion: https://www.postgresql.org/message-id/5539b16c-cff7-46d5-9621-c3fb6b549e9e@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ca89db5f9d0b03a10706312bbe8b8a43b1ec7538

Modified Files
--------------
src/backend/jit/llvm/llvmjit.c | 8 --------
1 file changed, 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-04-17 13:25:24 pgsql: meson: Add some missing LLVM function checks
Previous Message Peter Eisentraut 2024-04-17 07:11:14 pgsql: Add missing source file to libpq/nls.mk