InterpreterMacroAssembler::profile_virtual_call has a trailing 'receiver_can_be_null' parameter that triggers another code path in that function.
However, this parameter has a default value of 'false' on most platforms (except PPC) and is not set explicitly when calling the method, or is always set to 'false' explicitly (PPC).
In other words, this parameter and the code path that it triggers appear to be unused, and adding an assert that checks this doesn't seem to be triggered.
However, this parameter has a default value of 'false' on most platforms (except PPC) and is not set explicitly when calling the method, or is always set to 'false' explicitly (PPC).
In other words, this parameter and the code path that it triggers appear to be unused, and adding an assert that checks this doesn't seem to be triggered.