MCPcopy Index your code
hub / github.com/endbasic/endbasic / push_frame

Method push_frame

core/src/vm/context.rs:339–347  ·  view source on GitHub ↗
(&mut self, frame: Frame)

Source from the content-addressed store, hash-verified

337 }
338
339 fn push_frame(&mut self, frame: Frame) -> bool {
340 if self.call_stack.len() >= self.max_call_stack {
341 self.set_exception(CALL_STACK_OVERFLOW_MSG);
342 false
343 } else {
344 self.call_stack.push(frame);
345 true
346 }
347 }
348
349 /// Constructs a `Scope` for an upcall with arguments starting at `reg`.
350 ///

Callers 2

do_callMethod · 0.80
do_gosubMethod · 0.80

Calls 3

set_exceptionMethod · 0.80
pushMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected