Prohibit from eliminating non-local temporary variables
This commit is contained in:
+2
@@ -24,4 +24,6 @@ class TemporaryAssignmentEliminationTest : BasicOptimizerTest("temporary-assignm
|
||||
@Test fun returnStatement() = box()
|
||||
|
||||
@Test fun declaration() = box()
|
||||
|
||||
@Test fun skipsGlobalDeclarations() = box()
|
||||
}
|
||||
+2
@@ -22,4 +22,6 @@ class TemporaryVariableEliminationTest : BasicOptimizerTest("temporary-variable"
|
||||
@Test fun declaration() = box()
|
||||
|
||||
@Test fun assignment() = box()
|
||||
|
||||
@Test fun skipsGlobalDeclarations() = box()
|
||||
}
|
||||
Reference in New Issue
Block a user