Emilio G Cota writes:

> On Fri, Jul 07, 2017 at 05:46:19 -1000, Richard Henderson wrote:
>> I do wonder if we should provide a generic empty hook, so that a target that
>> does not need a particular hook need not define an empty function.  It could
>> just put e.g. "translator_noop" into the structure.  Ok, maybe a better name
>> than that...

> NULL would serve that purpose well. The subsequent "if (hook)" branch
> would be essentially free because it'd be trivially predicted.

Someone (Richard? can't remember exactly) already objected to using NULL.


Cheers,
  Lluis

Reply via email to