changeset 27214:47589e990a27

eliminate direct access to call stack through interpreter class * interpreter.h, interpreter.cc (interpreter::get_call_stack): Delete.
author John W. Eaton <jwe@octave.org>
date Tue, 02 Apr 2019 12:00:29 +0000
parents dc8df9a9e8b6
children 274766cae722
files libinterp/corefcn/interpreter.cc libinterp/corefcn/interpreter.h
diffstat 2 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter.cc	Tue Apr 02 11:54:57 2019 +0000
+++ b/libinterp/corefcn/interpreter.cc	Tue Apr 02 12:00:29 2019 +0000
@@ -43,7 +43,6 @@
 #include "builtin-defun-decls.h"
 #include "defaults.h"
 #include "Cell.h"
-#include "call-stack.h"
 #include "defun.h"
 #include "display.h"
 #include "error.h"
@@ -1114,11 +1113,6 @@
     return scope;
   }
 
-  call_stack& interpreter::get_call_stack (void)
-  {
-    return m_evaluator.get_call_stack ();
-  }
-
   profiler& interpreter::get_profiler (void)
   {
     return m_evaluator.get_profiler ();
--- a/libinterp/corefcn/interpreter.h	Tue Apr 02 11:54:57 2019 +0000
+++ b/libinterp/corefcn/interpreter.h	Tue Apr 02 12:00:29 2019 +0000
@@ -62,7 +62,6 @@
 namespace octave
 {
   class profiler;
-  class call_stack;
   class child_list;
 
   // The application object contains a pointer to the current
@@ -213,8 +212,6 @@
 
     tree_evaluator& get_evaluator (void);
 
-    call_stack& get_call_stack (void);
-
     symbol_scope get_top_scope (void) const;
     symbol_scope get_current_scope (void) const;
     symbol_scope require_current_scope (const std::string& who) const;