port methods about inlineability from jvm backend