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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user