emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/comp-static-data 9c6acb9681e 15/16: pdumper.c (dump_object): Ass


From: Vibhav Pant
Subject: scratch/comp-static-data 9c6acb9681e 15/16: pdumper.c (dump_object): Assert the object is not statically emitted
Date: Thu, 19 Jan 2023 12:44:47 -0500 (EST)

branch: scratch/comp-static-data
commit 9c6acb9681e5b035f4d3fd12f4fcab6f3bc937c2
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>

    pdumper.c (dump_object): Assert the object is not statically emitted
---
 src/pdumper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pdumper.c b/src/pdumper.c
index d228ba97b38..dd16e905a03 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -3123,6 +3123,7 @@ dump_object (struct dump_context *ctx, Lisp_Object object)
 # error "Lisp_Type changed. See CHECK_STRUCTS comment in config.h."
 #endif
   eassert (!EQ (object, dead_object ()));
+  eassert (!static_comp_object_p (object));
 
   dump_off offset = dump_recall_object (ctx, object);
   if (offset > 0)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]