Fixed bug with too big DFG for no reason

This commit is contained in:
Igor Chevdar
2019-06-06 09:23:28 +03:00
parent b0296b1c8d
commit b18bc11624
@@ -827,7 +827,7 @@ internal object Devirtualization {
val argument = argumentToConstraintNode(arguments[index]) val argument = argumentToConstraintNode(arguments[index])
argument.addEdge(parameter) argument.addEdge(parameter)
} }
return doCast(function, callee.returns, returnType) return callee.returns
} }
fun doCall(callee: DataFlowIR.FunctionSymbol, fun doCall(callee: DataFlowIR.FunctionSymbol,