Mercurial > octave
comparison libinterp/parse-tree/pt-eval.h @ 30920:47cbc69e66cd
eliminate direct access to call stack from evaluator
The call stack is an internal implementation detail of the evaluator.
Direct access to it outside of the evlauator should not be needed.
* pt-eval.h (tree_evaluator::get_call_stack): Delete.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 08 Apr 2022 15:19:22 -0400 |
parents | 4ed7dfe28584 |
children | e88a07dec498 |
comparison
equal
deleted
inserted
replaced
30919:4ed7dfe28584 | 30920:47cbc69e66cd |
---|---|
428 | 428 |
429 bp_table& get_bp_table (void) { return m_bp_table; } | 429 bp_table& get_bp_table (void) { return m_bp_table; } |
430 | 430 |
431 profiler& get_profiler (void) { return m_profiler; } | 431 profiler& get_profiler (void) { return m_profiler; } |
432 | 432 |
433 call_stack& get_call_stack (void) { return m_call_stack; } | |
434 | |
435 void push_stack_frame (const symbol_scope& scope); | 433 void push_stack_frame (const symbol_scope& scope); |
436 | 434 |
437 void push_stack_frame (octave_user_function *fcn, | 435 void push_stack_frame (octave_user_function *fcn, |
438 const std::shared_ptr<stack_frame>& closure_frames = std::shared_ptr<stack_frame> ()); | 436 const std::shared_ptr<stack_frame>& closure_frames = std::shared_ptr<stack_frame> ()); |
439 | 437 |