diff options
| author | Andrea Corallo | 2022-08-19 10:21:38 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2022-08-19 10:22:32 +0200 |
| commit | 5dc274593920e36f58023f92d603824fa0b85b3f (patch) | |
| tree | ac48c39ef4e69447ddd4fcb4094af534d81d5143 /src | |
| parent | 9297a9c45eba1b258b820af00ae60486fb79c43c (diff) | |
| download | emacs-5dc274593920e36f58023f92d603824fa0b85b3f.tar.gz emacs-5dc274593920e36f58023f92d603824fa0b85b3f.zip | |
* src/pdumper.c (dump_native_comp_unit): Error if CU is not fixed-up
Diffstat (limited to 'src')
| -rw-r--r-- | src/pdumper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pdumper.c b/src/pdumper.c index 168027726c5..fb70df994a6 100644 --- a/src/pdumper.c +++ b/src/pdumper.c | |||
| @@ -2910,6 +2910,9 @@ static dump_off | |||
| 2910 | dump_native_comp_unit (struct dump_context *ctx, | 2910 | dump_native_comp_unit (struct dump_context *ctx, |
| 2911 | struct Lisp_Native_Comp_Unit *comp_u) | 2911 | struct Lisp_Native_Comp_Unit *comp_u) |
| 2912 | { | 2912 | { |
| 2913 | if (!CONSP (comp_u->file)) | ||
| 2914 | error ("Trying to dump non fixed-up eln file\n"); | ||
| 2915 | |||
| 2913 | /* Have function documentation always lazy loaded to optimize load-time. */ | 2916 | /* Have function documentation always lazy loaded to optimize load-time. */ |
| 2914 | comp_u->data_fdoc_v = Qnil; | 2917 | comp_u->data_fdoc_v = Qnil; |
| 2915 | START_DUMP_PVEC (ctx, &comp_u->header, struct Lisp_Native_Comp_Unit, out); | 2918 | START_DUMP_PVEC (ctx, &comp_u->header, struct Lisp_Native_Comp_Unit, out); |