Tiny change
This commit is contained in:
parent
55e5bc48ab
commit
a8ab63e096
1 changed files with 5 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ void* h_rvm_run__m(HAllocator *mm__, HRVMProg *prog, const char* input, size_t l
|
|||
|
||||
|
||||
ret_trace = invert_trace(ret_trace);
|
||||
HParseResult *ret = run_trace(ret_trace, input, length);
|
||||
HParseResult *ret = run_trace(mm__, ret_trace, input, length);
|
||||
// ret is in its own arena
|
||||
h_delete_arena(arena);
|
||||
return ret;
|
||||
|
|
@ -167,3 +167,7 @@ HRVMTrace *invert_trace(HRVMTrace *trace) {
|
|||
} while (trace->next);
|
||||
return trace;
|
||||
}
|
||||
|
||||
HParseResult *run_trace(HAllocator mm__, HRVMTrace *trace, uint8_t *input, int len) {
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue