Mercurial > octave-nkf
diff libinterp/corefcn/jit-typeinfo.h @ 20649:d35201e5ce5d
Fix compilation of jit broken by dd6345fd8a97 (bug #46191).
* jit-typeinfo.cc (octave_jit_compute_nelem): Use rng.numel() rather than
deprecated nelem().
* jit-typeinfo.cc (octave_jit_ginvalid_index): Call gripe_invalid_index (-1)
now that 0-argument form of function has been removed.
* jit-typeinfo.h (jit_range): Use numel() rather than nelem() for Range.
* pt-jit.cc (trip_count): Use numel() rather than nelem() for Range.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 12 Oct 2015 16:08:12 -0700 |
parents | 5dfaaaae784f |
children | b65888ec820e |
line wrap: on
line diff
--- a/libinterp/corefcn/jit-typeinfo.h Mon Oct 12 23:28:29 2015 +0200 +++ b/libinterp/corefcn/jit-typeinfo.h Mon Oct 12 16:08:12 2015 -0700 @@ -45,7 +45,7 @@ jit_range { jit_range (const Range& from) : base (from.base ()), limit (from.limit ()), - inc (from.inc ()), nelem (from.nelem ()) + inc (from.inc ()), nelem (from.numel ()) { } operator Range () const