Allow systemlib to use FThrowOnRefMismatch calling convention.
Summary:
The FIsParamByRef calling convention always results in bytecodes producing refs in one branch. We are trying to forbid bytecodes producing refs in the bodies of __Rx functions, so __Rx functions must use the FThrowOnRefMismatch calling convention. Systemlib was wholesale opted out of the FThrowOnRefMismatch calling convention.
Add call-site ref annotations where they are missing in systemlib, stop opting systemlib out of the FThrowOnRefMismatch calling convention, and convert systemlib files where we declared any functions __Rx from <?php to <?hh if needed.
Reviewed By: markw65
Differential Revision:
D10001081
fbshipit-source-id:
62255c0f8449882e3de5090033dc46be6e337711