Mercurial > octave
changeset 32840:3f9ecdc396a6 bytecode-interpreter
Special nil octave_value class (bug #65200)
* ov.cc: Define vm_dispatch_call for octave_nil_value class
author | Petter T. <petter.vilhelm@gmail.com> |
---|---|
date | Tue, 23 Jan 2024 20:28:09 +0100 |
parents | 3c4c1af66055 |
children | 5df143724047 |
files | libinterp/octave-value/ov.cc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov.cc Tue Jan 23 20:02:39 2024 +0100 +++ b/libinterp/octave-value/ov.cc Tue Jan 23 20:28:09 2024 +0100 @@ -137,6 +137,10 @@ octave_value_nilrep.m_count++; return &octave_value_nilrep; } + +#if defined (OCTAVE_ENABLE_BYTECODE_EVALUATOR) + vm_call_dispatch_type vm_dispatch_call (void) { return vm_call_dispatch_type::OCT_FN_LOOKUP; } +#endif }; octave_nil_value octave_value_nilrep;