]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/comp.c (check_comp_unit_relocs): Remove unneccesary double access.
authorAndrea Corallo <acorallo@gnu.org>
Fri, 24 May 2024 06:37:41 +0000 (08:37 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 26 May 2024 05:49:58 +0000 (07:49 +0200)
(cherry picked from commit e650a04dc415467806b77d4b3801f9e6eeb9dfaf)

src/comp.c

index e8945df63ffefb5e480f2b35bddf744d95af4797..545a8046377e7ede1ea13b6ac6cbba4153645e39 100644 (file)
@@ -5302,7 +5302,7 @@ check_comp_unit_relocs (struct Lisp_Native_Comp_Unit *comp_u)
          if (NILP (Fgethash (x, comp_u->lambda_gc_guard_h, Qnil)))
            return false;
        }
-      else if (!EQ (data_imp_relocs[i], AREF (comp_u->data_impure_vec, i)))
+      else if (!EQ (x, AREF (comp_u->data_impure_vec, i)))
        return false;
     }
   return true;