MCPcopy Create free account
hub / github.com/Snapchat/Valdi / get_closure_stack_values

Function get_closure_stack_values

tsn/src/tsn/tsn.cpp:1362–1364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1360 return (tsn_var_ref*)get_closure_stack(closure);
1361}
1362static tsn_value* get_closure_stack_values(tsn_closure* closure) {
1363 return (tsn_value*)((uint8_t*)get_closure_stack_vrefs(closure) + sizeof(tsn_var_ref) * closure->stack_vrefs);
1364}
1365static tsn_iterator* get_closure_stack_iterators(tsn_closure* closure) {
1366 return (tsn_iterator*)((uint8_t*)get_closure_stack_values(closure) + sizeof(tsn_value) * closure->stack_values);
1367}

Callers 3

__tsn_trampoline_markFunction · 0.85
__tsn_deallocate_closureFunction · 0.85

Calls 1

get_closure_stack_vrefsFunction · 0.85

Tested by

no test coverage detected