pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove dead code
Date: Wed, 17 Apr 2024 08:52:45 +0000
Message-ID: <E1rx124-002TzK-MX@gemulon.postgresql.org> (raw)

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@iki.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(-)



view thread (10+ messages)  latest in thread

Message-ID: <E1rx124-002TzK-MX@gemulon.postgresql.org>
Permalink:  ../E1rx124-002TzK-MX@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rx124-002TzK-MX@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove dead code
  In-Reply-To: <E1rx124-002TzK-MX@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox