[JVM_IR] Drop reversed call from writeLocalVariablesInTable
It is better to use simple for loop. This change speeds up backend by approximately 0.07%.
This commit is contained in:
+2
-2
@@ -438,8 +438,8 @@ class ExpressionCodegen(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
info.variables.reversed().forEach {
|
for (i in info.variables.size - 1 downTo 0) {
|
||||||
frameMap.leave(it.declaration.symbol)
|
frameMap.leave(info.variables[i].declaration.symbol)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user