MCPcopy Create free account
hub / github.com/codr7/hacktical-c / push_eval

Function push_eval

vm/vm.c:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137static uint8_t *push_eval(struct hc_vm *vm, uint8_t *data) {
138 struct hc_push_op *op = (void *)hc_align(data, alignof(struct hc_push_op));
139 hc_value_copy(hc_vm_push(vm), &op->value);
140 return (uint8_t *)op + sizeof(struct hc_push_op);
141}
142
143const struct hc_op HC_PUSH = (struct hc_op){
144 .name = "push",

Callers

nothing calls this directly

Calls 2

hc_value_copyFunction · 0.85
hc_vm_pushFunction · 0.85

Tested by

no test coverage detected