From: Siu Kwan Lam <1929845+sklam@users.noreply.github.com>
Origin: https://github.com/numba/numba/pull/8545
Date: Mon, 29 Aug 2022 17:52:46 -0500
Subject: Ignore the NULL push from LOAD_GLOBAL.

It's only used in CALL which checks if the TOS is a NULL.
---
 numba/core/byteflow.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/numba/core/byteflow.py b/numba/core/byteflow.py
index ad33ca5..a02c171 100644
--- a/numba/core/byteflow.py
+++ b/numba/core/byteflow.py
@@ -101,6 +101,7 @@ class Flow(object):
             state = runner.pending.popleft()
             if state not in runner.finished:
                 _logger.debug("stack: %s", state._stack)
+                _logger.debug("state.pc_initial: %s", state)
                 first_encounter[state.pc_initial] = state
                 # Loop over the state until it is terminated.
                 while True:
@@ -338,8 +339,9 @@ class TraceRunner(object):
             res = state.make_temp()
             idx = inst.arg >> 1
             state.append(inst, idx=idx, res=res)
-            if inst.arg & 1:
-                state.push(state.make_temp())
+            ## ignoring the NULL
+            # if inst.arg & 1:
+                # state.push(state.make_temp())
             state.push(res)
     else:
         def op_LOAD_GLOBAL(self, state, inst):
