Support const-bound counter loop generation for 'downTo'
This commit is contained in:
+4
-1
@@ -29,4 +29,7 @@ fun box(): String {
|
||||
// 0 getFirst
|
||||
// 0 getLast
|
||||
// 0 getStep
|
||||
// 0 IF_ICMPEQ
|
||||
// 0 IFEQ
|
||||
// 0 IF_ICMPEQ
|
||||
// 2 IF_ICMPLT
|
||||
// 1 LCMP
|
||||
@@ -12,4 +12,6 @@ fun test(): Int {
|
||||
// 0 getStart
|
||||
// 0 getEnd
|
||||
// 0 getFirst
|
||||
// 0 getLast
|
||||
// 0 getLast
|
||||
// 0 IF_ICMPEQ
|
||||
// 1 IF_ICMPLT
|
||||
Reference in New Issue
Block a user