Mercurial > octave
changeset 27213:dc8df9a9e8b6
eliminate global direct access to call stack
* interpreter-private.h, interpreter-private.cc (__get_call_stack__):
Delete.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 02 Apr 2019 11:54:57 +0000 |
parents | f84c5528e932 |
children | 47589e990a27 |
files | libinterp/corefcn/interpreter-private.cc libinterp/corefcn/interpreter-private.h |
diffstat | 2 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter-private.cc Tue Apr 02 11:59:28 2019 +0000 +++ b/libinterp/corefcn/interpreter-private.cc Tue Apr 02 11:54:57 2019 +0000 @@ -28,7 +28,6 @@ #include <string> #include "bp-table.h" -#include "call-stack.h" #include "cdef-manager.h" #include "child-list.h" #include "error.h" @@ -161,13 +160,6 @@ return tw.get_bp_table (); } - call_stack& __get_call_stack__ (const std::string& who) - { - interpreter& interp = __get_interpreter__ (who); - - return interp.get_call_stack (); - } - child_list& __get_child_list__ (const std::string& who) { interpreter& interp = __get_interpreter__ (who);
--- a/libinterp/corefcn/interpreter-private.h Tue Apr 02 11:59:28 2019 +0000 +++ b/libinterp/corefcn/interpreter-private.h Tue Apr 02 11:54:57 2019 +0000 @@ -33,7 +33,6 @@ namespace octave { class bp_table; - class call_stack; class cdef_manager; class child_list; class dynamic_loader; @@ -79,8 +78,6 @@ extern bp_table& __get_bp_table__ (const std::string& who); - extern call_stack& __get_call_stack__ (const std::string& who); - extern child_list& __get_child_list__ (const std::string& who); extern cdef_manager& __get_cdef_manager__ (const std::string& who);