Mercurial > octave-nkf
comparison src/symtab.cc @ 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 | 6c952376482d |
children | 7dd7cccf0757 |
comparison
equal
deleted
inserted
replaced
13915:5fa482628bf6 | 13916:0ec8413d4bbc |
---|---|
672 else | 672 else |
673 { | 673 { |
674 octave_value& fval = q->second; | 674 octave_value& fval = q->second; |
675 | 675 |
676 if (fval.is_defined ()) | 676 if (fval.is_defined ()) |
677 out_of_date_check (fval); | 677 out_of_date_check (fval, "", false); |
678 | 678 |
679 if (fval.is_defined ()) | 679 if (fval.is_defined ()) |
680 return fval; | 680 return fval; |
681 else | 681 else |
682 { | 682 { |