def computeExpression(self, constraint_collection):
        function = self.getFunction()

        values = self.getArgumentValues()

        # TODO: This needs some design.
        cost = function.getCallCost(values)

        if function.getFunctionRef().getFunctionBody().mayRaiseException(BaseException):
            constraint_collection.onExceptionRaiseExit(BaseException)

        if cost is not None and cost < 50:
            result = function.createOutlineFromCall(
                provider = self.getParentVariableProvider(),
                values   = values
            )

            return result, "new_statements", "Function call in-lined."

        return self, None, None
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/nodes/FunctionNodes.py/ExpressionFunctionCall.computeExpression/original