octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #64676] VM Support anonymous functions


From: Petter T.
Subject: [Octave-bug-tracker] [bug #64676] VM Support anonymous functions
Date: Thu, 14 Sep 2023 18:36:37 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64676>

                 Summary: VM Support anonymous functions
                   Group: GNU Octave
               Submitter: petter
               Submitted: Thu 14 Sep 2023 10:36:35 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 14 Sep 2023 10:36:35 PM UTC By: Petter T. <petter>

New opcodes to support dynamic nargout and ignored outputs for anonymous
functions.

* libinterp/corefcn/compile.cc: Print anonymous function's bytecode
* libinterp/corefcn/stack-frame.cc: Correct ip range for argname lookup
* libinterp/octave-value/ov-fcn-handle.cc: Anon. fn. use VM
* libinterp/parse-tree/pt-bytecode-vm-internal.h:
* libinterp/parse-tree/pt-bytecode-vm.cc: New opcodes, refactor ignore data
class
* libinterp/parse-tree/pt-bytecode-vm.h:
* libinterp/parse-tree/pt-bytecode-walk.cc: Compile anonymous functions.
* libinterp/parse-tree/pt-bytecode-walk.h: New opcodes, flags
* libinterp/parse-tree/pt-eval.cc: Set ignore outputs when calling into VM
* test/compile/bytecode.tst: Update tests
* test/compile/bytecode_anon_handles.m









    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Thu 14 Sep 2023 10:36:35 PM UTC  Name: octave_32352.patch  Size: 65KiB  
By: petter

<http://savannah.gnu.org/bugs/download.php?file_id=55140>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64676>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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