changeset 13916:0ec8413d4bbc

avoid reloading private functions when checking to see whether they are out of date * symtab.cc (symbol_table::fcn_info::fcn_info_rep::xfind): Avoid relative lookups when checking for out of date private functions.
author John W. Eaton <jwe@octave.org>
date Tue, 22 Nov 2011 22:01:52 -0500
parents 5fa482628bf6
children 826f008c829b
files src/symtab.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/symtab.cc	Tue Nov 22 18:26:28 2011 -0800
+++ b/src/symtab.cc	Tue Nov 22 22:01:52 2011 -0500
@@ -674,7 +674,7 @@
                   octave_value& fval = q->second;
 
                   if (fval.is_defined ())
-                    out_of_date_check (fval);
+                    out_of_date_check (fval, "", false);
 
                   if (fval.is_defined ())
                     return fval;