[FIR] Don't pass data flow to property accessors of non local classes

This commit is contained in:
Dmitriy Novozhilov
2020-03-31 15:44:10 +03:00
parent bb8d743741
commit 1d39270b3e
19 changed files with 305 additions and 333 deletions
@@ -27,22 +27,20 @@ digraph assignSafeCall_kt {
7 -> {4} [style=dotted];
subgraph cluster_2 {
color=red
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_3 {
color=red
13 [label="Enter function bar" style="filled" fillcolor=red];
14 [label="Exit function bar" style="filled" fillcolor=red];
}
13 -> {14};
subgraph cluster_4 {
subgraph cluster_3 {
color=red
15 [label="Enter class A" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_5 {
color=blue
10 [label="Enter property" style="filled" fillcolor=red];
@@ -55,6 +53,7 @@ digraph assignSafeCall_kt {
10 -> {12};
11 -> {16} [color=green];
12 -> {11};
8 -> {9};
subgraph cluster_6 {
color=red
@@ -249,22 +248,20 @@ digraph assignSafeCall_kt {
88 -> {89};
subgraph cluster_21 {
color=red
90 [label="Enter function getter" style="filled" fillcolor=red];
91 [label="Exit function getter" style="filled" fillcolor=red];
}
90 -> {91};
subgraph cluster_22 {
color=red
94 [label="Enter function bar" style="filled" fillcolor=red];
95 [label="Exit function bar" style="filled" fillcolor=red];
}
94 -> {95};
subgraph cluster_23 {
subgraph cluster_22 {
color=red
96 [label="Enter class B" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
90 [label="Enter function getter" style="filled" fillcolor=red];
91 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_24 {
color=blue
92 [label="Enter property" style="filled" fillcolor=red];
@@ -275,6 +272,7 @@ digraph assignSafeCall_kt {
96 -> {92} [color=green];
92 -> {93};
93 -> {97} [color=green];
90 -> {91};
subgraph cluster_25 {
color=red