Re: [RFA][1/5] New port: Cell BE SPU (dwarf2loc.c fix)

Jim Blandy
2006-11-22T01:42:43Z

"Ulrich Weigand" <uweigand@de.ibm.com> writes:
>> Would it be a good idea to introduce a new function, a companion to
>> value_from_register, that wraps up the composition of
>> value_from_register and value_as_address?
>
> You mean something like the patch below? Tested on spu, s390-ibm-linux
> and s390x-ibm-linux.

Yes, that's great. Please commit.

It seems a shame to be creating a value and then throwing it away, but
the composition of those two functions has the semantics we want, so I
don't see a good alternative without some more restructuring.