]> git.eshelyaron.com Git - emacs.git/commitdiff
fix max depth compilation
authorAndrea Corallo <akrl@sdf.org>
Thu, 14 Nov 2019 17:01:00 +0000 (18:01 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:05 +0000 (11:38 +0100)
src/eval.c

index 4559a0e1f66d17cd1181538b9eae531f4f6a7a6f..bf37ed9cefaa4bd9e1b866ef3caf00d0914055ad 100644 (file)
@@ -219,8 +219,14 @@ void
 init_eval_once (void)
 {
   /* Don't forget to update docs (lispref node "Local Variables").  */
+#ifndef HAVE_NATIVE_COMP
   max_specpdl_size = 1600; /* 1500 is not enough for cl-generic.el.  */
   max_lisp_eval_depth = 800;
+#else
+  /* Original values increased for comp.el.  */
+  max_specpdl_size = 2100;
+  max_lisp_eval_depth = 1400;
+#endif
   Vrun_hooks = Qnil;
   pdumper_do_now_and_after_load (init_eval_once_for_pdumper);
 }