finish value in register test

This commit is contained in:
Nikita Smith
2025-12-16 13:49:23 -08:00
parent da57259379
commit 0aea6c4e8f
2 changed files with 14 additions and 4 deletions
+4
View File
@@ -1415,6 +1415,10 @@ dw_eval_expr(Arena *arena, Arch arch, DW_Format format, U64 cfa, U64 tls, U64 ex
}
}
if (stack->top) {
*value_out = stack->top->v;
}
result = DW_ExprEvalResult_Ok;
exit:;
scratch_end(scratch);