Age | Commit message (Collapse) | Author |
|
|
|
|
|
This plugs a leak.
|
|
|
|
|
|
|
|
Because value_set_word needs a type set, to resolve (potential) endian
issues. But we don't need this when all we do is set something to zero.
|
|
We need to cover the other direction as well. Note that the assert in
value_set_word currently fires. That's because when we are passing structs
by value, those structs may be larger than what fits in long. We may need
to add a heuristic to fetch.c to support legacy back ends. When those
asserts are removed, most test suite actually passes (6 failures related
to ABI support, 2 failures in filtering test).
|
|
|
|
For consistency with value_extract_word
|
|
|
|
|
|
- I consider this a temporary solution before ARGTYPE_STRING is removed.
Since we need to handle strings as array(char, zero)*, it's necessary to
do this conversion by hand every once in a while. This code implements
such transformation.
|
|
- in callstack_pop, we don't free arch_ptr. That's because this doesn't
get copied over the clone. It's a mere coincidence that fork() doesn't
need to save register arguments, and this works.
- added copyright notices to files that this touches. This is based on
git blame. Only contributors of 10+ lines are added
- test suite adjusted to not include "void" type as "don't show this int".
Back ends in general need to know the exact type, so this never worked
anyway.
|
|
- none of this is plugged in yet
- expr.c/.h is not in yet, so we still express array length with len_spec
integer. Some function are mocked out so the thing compiles
|