JS/Inlining: in temporary variable elimination don't treat FQN without side effects as trivial, i.e. disable moving these vars freely across function body

This commit is contained in:
Alexey Andreev
2016-06-01 12:57:53 +03:00
parent 878e95e040
commit 57ac23a606
3 changed files with 11 additions and 23 deletions
@@ -1,7 +1,7 @@
package foo
// CHECK_CONTAINS_NO_CALLS: test
// CHECK_VARS_COUNT: function=test count=0
// CHECK_VARS_COUNT: function=test count=1
object SumHolder {
var sum = 0