JVM_IR add bytecode shape check to all relevant for-loop tests

This commit is contained in:
Dmitry Petrov
2021-09-06 16:42:48 +03:00
committed by TeamCityServer
parent d9e4dec810
commit 860c80d210
105 changed files with 780 additions and 78 deletions
@@ -37,3 +37,10 @@ fun box(): String {
// 0 getFirst
// 0 getLast
// 0 getStep
// JVM_IR_TEMPLATES
// 4 ILOAD
// 5 ISTORE
// 1 IADD
// 0 ISUB
// 1 IINC
@@ -38,3 +38,10 @@ fun box(): String {
// 0 getLast
// 0 getStep
// 0 getIndices
// JVM_IR_TEMPLATES
// 4 ILOAD
// 4 ISTORE
// 0 IADD
// 0 ISUB
// 1 IINC
@@ -37,3 +37,10 @@ fun box(): String {
// 0 getFirst
// 0 getLast
// 0 getStep
// JVM_IR_TEMPLATES
// 4 ILOAD
// 5 ISTORE
// 1 IADD
// 0 ISUB
// 1 IINC
@@ -39,3 +39,10 @@ fun box(): String {
// 0 getStep
// 0 reversed
// 0 step
// JVM_IR_TEMPLATES
// 7 ILOAD
// 6 ISTORE
// 1 IADD
// 0 ISUB
// 1 IINC
@@ -38,3 +38,10 @@ fun box(): String {
// 0 getLast
// 0 getStep
// 0 reversed
// JVM_IR_TEMPLATES
// 4 ILOAD
// 5 ISTORE
// 1 IADD
// 0 ISUB
// 1 IINC
@@ -39,3 +39,10 @@ fun box(): String {
// 0 getStep
// 0 reversed
// 0 step
// JVM_IR_TEMPLATES
// 5 ILOAD
// 5 ISTORE
// 1 IADD
// 0 ISUB
// 1 IINC
@@ -38,3 +38,10 @@ fun box(): String {
// 0 getLast
// 0 getStep
// 0 step
// JVM_IR_TEMPLATES
// 7 ILOAD
// 6 ISTORE
// 1 IADD
// 0 ISUB
// 1 IINC
@@ -37,3 +37,10 @@ fun box(): String {
// 0 getFirst
// 0 getLast
// 0 getStep
// JVM_IR_TEMPLATES
// 4 ILOAD
// 5 ISTORE
// 1 IADD
// 0 ISUB
// 1 IINC
@@ -37,3 +37,10 @@ fun box(): String {
// 0 getFirst
// 0 getLast
// 0 getStep
// JVM_IR_TEMPLATES
// 2 ILOAD
// 3 ISTORE
// 1 IADD
// 0 ISUB
// 1 IINC
@@ -22,3 +22,10 @@ fun box(): String {
// 1 next
// 0 component1
// 0 component2
// JVM_IR_TEMPLATES
// 0 ILOAD
// 0 ISTORE
// 0 IADD
// 0 ISUB
// 0 IINC
@@ -23,3 +23,10 @@ fun box(): String {
// 1 component1
// 1 component2
// 1 reversed
// JVM_IR_TEMPLATES
// 0 ILOAD
// 2 ISTORE
// 0 IADD
// 0 ISUB
// 0 IINC
@@ -27,3 +27,10 @@ fun box(): String {
// The ICONST_0 is for initializing the index in the lowered for-loop.
// 1 ICONST_0
// JVM_IR_TEMPLATES
// 2 ILOAD
// 3 ISTORE
// 1 IADD
// 0 ISUB
// 0 IINC