Optimize DataFlowInfo.and()

Instead of copying everything, we now only completely copy one data flow info
and use another as a delegation target
This commit is contained in:
Alexander Udalov
2012-11-15 22:23:26 +04:00
parent f5ed3ff6bd
commit 6b65c44d45
3 changed files with 66 additions and 11 deletions
@@ -0,0 +1,18 @@
fun foo(x: Number) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
if (x is Int) {
} } } } } } } } } } } } } } }
}