This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
sp-03/test-output/forEachCollectionMethod.asm.txt
github-classroom[bot] 61202b8db3
Initial commit
2023-10-09 07:08:58 +00:00

30 lines
755 B
Text

Method: forEachCollectionMethod(Ljava/util/Set;)I
0: // label
1: // line number information
2: ICONST_0
3: ISTORE 2
4: // label
5: // line number information
6: ALOAD 1
7: INVOKEINTERFACE java/util/Set.iterator ()Ljava/util/Iterator;
8: ASTORE 3
9: // label
10: // stack frame map
11: ALOAD 3
12: INVOKEINTERFACE java/util/Iterator.hasNext ()Z
13: IFEQ 24
14: ALOAD 3
15: INVOKEINTERFACE java/util/Iterator.next ()Ljava/lang/Object;
16: CHECKCAST java/lang/String
17: ASTORE 4
18: // label
19: // line number information
20: IINC 2 1
21: // label
22: // line number information
23: GOTO 9
24: // label
25: // line number information
26: // stack frame map
27: ILOAD 2
28: IRETURN