Mercurial > octave
changeset 32140:8877fb5301b6
remove functions accidentally included in changeset f31cbed22bf6
These functions were accidentally included by jwe when committing
changeset f31cbed22bf6.
* ov-range.h (octave_trivial_range::vm_extract_forloop_value,
octave_trivial_range::vm_extract_forloop_double,
ov_range<T>::vm_extract_forloop_value,
ov_range<T>::vm_need_storable_call): Delete.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 19 Jun 2023 12:01:24 -0400 |
parents | 1a370dc10d83 |
children | e1aacfd46471 |
files | libinterp/octave-value/ov-range.h |
diffstat | 1 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-range.h Mon Jun 19 11:36:39 2023 -0400 +++ b/libinterp/octave-value/ov-range.h Mon Jun 19 12:01:24 2023 -0400 @@ -63,22 +63,6 @@ octave_trivial_range (const octave_trivial_range&) = default; - OCTINTERP_API octave_value - vm_extract_forloop_value (octave_idx_type i) - { - if (i < m_numel - 1) - return m_base + static_cast<int> (i) * m_increment; - return m_base + (m_numel - 1) * m_increment; - } - - double - vm_extract_forloop_double (octave_idx_type i) - { - if (i < m_numel - 1) - return m_base + static_cast<int> (i) * m_increment; - return m_base + (m_numel - 1) * m_increment; - } - bool is_trivial_range () const { return true; }; private: @@ -171,9 +155,6 @@ OCTINTERP_API octave_value as_trivial_range (); OCTINTERP_API bool could_be_trivial_range (); - OCTINTERP_API octave_value - vm_extract_forloop_value (octave_idx_type idx); - octave_idx_type numel () const { return m_range.numel (); } octave_idx_type nnz () const @@ -210,7 +191,6 @@ bool is_constant () const { return true; } bool is_range () const { return true; } - bool vm_need_storable_call (void) const { return true; } bool is_double_type () const { return builtin_type () == btyp_double; }