return false;
else if (SUBR_NATIVE_COMPILEDP (x))
{
- if (NILP (Fgethash (x, comp_u->lambda_gc_guard, Qnil)))
+ 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)))
/* We must protect it against GC because the function is not
reachable through symbols. */
- Fputhash (tem, Qt, cu->lambda_gc_guard);
+ Fputhash (tem, Qt, cu->lambda_gc_guard_h);
/* This is for fixing up the value in d_reloc while resurrecting
from dump. See 'dump_do_dump_relocation'. */
eassert (NILP (Fgethash (c_name, cu->lambda_c_name_idx_h, Qnil)));
comp_u->cfile = xlispstrdup (file);
#endif
comp_u->data_vec = Qnil;
- comp_u->lambda_gc_guard = CALLN (Fmake_hash_table, QCtest, Qeq);
+ comp_u->lambda_gc_guard_h = CALLN (Fmake_hash_table, QCtest, Qeq);
comp_u->lambda_c_name_idx_h = CALLN (Fmake_hash_table, QCtest, Qequal);
load_comp_unit (comp_u, false, !NILP (late_load));
/* Original eln file loaded. */
Lisp_Object file;
Lisp_Object optimize_qualities;
- /* Guard anonymous lambdas against Garbage Collection and make them
- dumpable. */
- Lisp_Object lambda_gc_guard;
+ /* Guard anonymous lambdas against Garbage Collection and serve
+ sanity checks. */
+ Lisp_Object lambda_gc_guard_h;
/* Hash c_name -> d_reloc_imp index. */
Lisp_Object lambda_c_name_idx_h;
/* Hash doc-idx -> function documentaiton. */
static enum { UNKNOWN, LOCAL_BUILD, INSTALLED } installation_state;
struct Lisp_Native_Comp_Unit *comp_u =
dump_ptr (dump_base, reloc_offset);
- comp_u->lambda_gc_guard = CALLN (Fmake_hash_table, QCtest, Qeq);
+ comp_u->lambda_gc_guard_h = CALLN (Fmake_hash_table, QCtest, Qeq);
if (!CONSP (comp_u->file))
error ("Trying to load incoherent dumped .eln");
&(comp_u->data_imp_relocs[XFIXNUM (lambda_data_idx)]);
eassert (EQ (*fixup, Qlambda_fixup));
*fixup = tem;
- Fputhash (tem, Qt, comp_u->lambda_gc_guard);
+ Fputhash (tem, Qt, comp_u->lambda_gc_guard_h);
}
break;
}