JVM_IR add bytecode shape check to all relevant for-loop tests
This commit is contained in:
committed by
TeamCityServer
parent
d9e4dec810
commit
860c80d210
@@ -1,3 +1,5 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
// IMPORTANT!
|
||||
// Please, when your changes cause failures in bytecodeText tests for 'for' loops,
|
||||
// examine the resulting bytecode shape carefully.
|
||||
@@ -21,4 +23,11 @@ fun f(): Int {
|
||||
// 1 INVOKESTATIC .*\.array \(\)
|
||||
// 1 ARRAYLENGTH
|
||||
// 1 IF_ICMPGE
|
||||
// 1 IF
|
||||
// 1 IF
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 4 ILOAD
|
||||
// 3 ISTORE
|
||||
// 0 IADD
|
||||
// 0 ISUB
|
||||
// 2 IINC
|
||||
Reference in New Issue
Block a user