Relates :
|
Add the check that a corresponding intrinsic will be inlined into the current code and inline the java method if the check failed. Currently checks are done too late, when C2 tries to inline intrinsic, for example: LibraryCallKit::inline_string_indexOf() { ... // don't intrinsify if argument isn't a constant string. if (!argument->is_Con()) { return false; } And if checks fail it is too late to inline java method.
|