Re: [RISU v2 09/17] Unify i/o functions and use RisuResult

2020-05-20 Thread Alex Bennée
Richard Henderson writes: > Push the trace check down from the function calling the reginfo > function down into the i/o function. This means we don't have > to pass a function pointer. > > Return a RisuResult from the i/o functions. This fixes a minor bug > in send_register_info (even before

[RISU v2 09/17] Unify i/o functions and use RisuResult

2020-05-18 Thread Richard Henderson
Push the trace check down from the function calling the reginfo function down into the i/o function. This means we don't have to pass a function pointer. Return a RisuResult from the i/o functions. This fixes a minor bug in send_register_info (even before the conversion to RisuResult), which ret