all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master b389379: bytecomp: Don't inline functions that use byte-switch (Bug#26518)
       [not found] ` <20170420155323.D7EB420740@vcs0.savannah.gnu.org>
@ 2017-04-20 17:17   ` Stefan Monnier
  2017-04-21  4:25     ` Vibhav Pant
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2017-04-20 17:17 UTC (permalink / raw)
  To: emacs-devel; +Cc: Vibhav Pant

> +    ;; optimized switch bytecode makes it impossible to guess the correct
> +    ;; `byte-compile-depth', which can result in incorrect inlined code.

I really doubt this is true.  Maybe it makes it difficult/impractical,
but I doubt it makes it impossible.


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Emacs-diffs] master b389379: bytecomp: Don't inline functions that use byte-switch (Bug#26518)
  2017-04-20 17:17   ` [Emacs-diffs] master b389379: bytecomp: Don't inline functions that use byte-switch (Bug#26518) Stefan Monnier
@ 2017-04-21  4:25     ` Vibhav Pant
  0 siblings, 0 replies; 2+ messages in thread
From: Vibhav Pant @ 2017-04-21  4:25 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel@gnu.org

On Thu, Apr 20, 2017 at 10:47 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> I really doubt this is true.  Maybe it makes it difficult/impractical,
> but I doubt it makes it impossible.

I'll try adding a longish outline of the problem to the comment, and
a TODO on investigating a fix.

-- 
Vibhav Pant
vibhavp@gmail.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-21  4:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20170420155323.20935.84585@vcs0.savannah.gnu.org>
     [not found] ` <20170420155323.D7EB420740@vcs0.savannah.gnu.org>
2017-04-20 17:17   ` [Emacs-diffs] master b389379: bytecomp: Don't inline functions that use byte-switch (Bug#26518) Stefan Monnier
2017-04-21  4:25     ` Vibhav Pant

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.