emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS native subrs


From: Andrea Corallo
Subject: Re: MPS native subrs
Date: Wed, 26 Jun 2024 10:41:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Helmut Eller via "Emacs development discussions." <emacs-devel@gnu.org>
writes:

> On Sat, Jun 22 2024, Helmut Eller wrote:
>>>> I thought native comp works for you?
>>
>> I haven't tried with the latest dump loading code.  I think that needs
>> some work for native-comp-units.
>
> Here are some patches for this.  I also have some questions:
>
> 1) In fix_subr, the &s->intspec.native field should only traced if the
>    subr is a non-primitive.  Because, for primitives, it's a (possibly
>    non-aligned) char*.  Right?

I believe that's correct.

> 2) In dump_subr, the command_modes field is dumped with dump_field_lv
>    for non-primitives but for primitives with dump_field_emacs_ptr.
>    Is this intentional or a bug?

Right, I'm not the author of the change but I suspect as well it should
be 'dump_field_lv'.

> 3) In fix_subr, why is the command_modes field only traced if
>    HAVE_NATIVE_COMP?  (Today was the first time I heard of the
>    command-modes function; still have no clue what it's used for :-)

I think Gerd already replied.

  Andrea



reply via email to

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