MCPcopy Create free account
hub / github.com/F-Stack/f-stack / statlist

Function statlist

freebsd/contrib/openzfs/module/lua/lparser.c:607–617  ·  view source on GitHub ↗

* by inlining statlist() and test_then_block() we cut back the * native stack usage per nested C call from 272 bytes to 152 * which allows us to stay within budget for 8K kernel stacks */

Source from the content-addressed store, hash-verified

605 * which allows us to stay within budget for 8K kernel stacks
606 */
607__attribute__((always_inline)) inline
608static void statlist (LexState *ls) {
609 /* statlist -> { stat [`;'] } */
610 while (!block_follow(ls, 1)) {
611 if (ls->t.token == TK_RETURN) {
612 statement(ls);
613 return; /* 'return' must be last statement */
614 }
615 statement(ls);
616 }
617}
618
619
620static void fieldsel (LexState *ls, expdesc *v) {

Callers 5

bodyFunction · 0.85
blockFunction · 0.85
repeatstatFunction · 0.85
test_then_blockFunction · 0.85
mainfuncFunction · 0.85

Calls 2

block_followFunction · 0.70
statementFunction · 0.70

Tested by 1

test_then_blockFunction · 0.68