Skip to content

Instantly share code, notes, and snippets.

@szeiger
Created October 26, 2016 09:30
Show Gist options
  • Save szeiger/e9ce7ea8d32e9ffdd9ac52c31aa4cf84 to your computer and use it in GitHub Desktop.
Save szeiger/e9ce7ea8d32e9ffdd9ac52c31aa4cf84 to your computer and use it in GitHub Desktop.
public scala.Tuple2<java.lang.Object, java.lang.Object> find(int[][], int);
Code:
0: iconst_0
1: istore_3
2: iload_3
3: aload_1
4: arraylength
5: if_icmpge 60
8: aload_1
9: iload_3
10: aaload
11: astore 4
13: iconst_0
14: istore 5
16: iload 5
18: aload 4
20: arraylength
21: if_icmpge 53
24: aload 4
26: iload 5
28: iaload
29: iload_2
30: if_icmpne 44
33: new #20 // class scala/Tuple2$mcII$sp
36: dup
37: iload_3
38: iload 5
40: invokespecial #23 // Method scala/Tuple2$mcII$sp."<init>":(II)V
43: areturn
44: iload 5
46: iconst_1
47: iadd
48: istore 5
50: goto 16
53: iload_3
54: iconst_1
55: iadd
56: istore_3
57: goto 2
60: aconst_null
61: areturn
public scala.Tuple2<java.lang.Object, java.lang.Object> find3(int[][], int);
Code:
0: iconst_0
1: istore_3
2: iconst_0
3: istore 4
5: iconst_0
6: istore 8
8: iload 8
10: aload_1
11: arraylength
12: if_icmpge 70
15: aload_1
16: iload 8
18: aaload
19: astore 9
21: iconst_0
22: istore 10
24: iload 10
26: aload 9
28: arraylength
29: if_icmpge 61
32: aload 9
34: iload 10
36: iaload
37: iload_2
38: if_icmpne 52
41: iload 8
43: istore_3
44: iload 10
46: istore 4
48: getstatic #40 // Field Find$Escape$.MODULE$:LFind$Escape$;
51: athrow
52: iload 10
54: iconst_1
55: iadd
56: istore 10
58: goto 24
61: iload 8
63: iconst_1
64: iadd
65: istore 8
67: goto 8
70: aconst_null
71: goto 105
74: astore 5
76: aload 5
78: astore 6
80: getstatic #40 // Field Find$Escape$.MODULE$:LFind$Escape$;
83: aload 6
85: invokevirtual #44 // Method java/lang/Object.equals:(Ljava/lang/Object;)Z
88: ifeq 106
91: new #20 // class scala/Tuple2$mcII$sp
94: dup
95: iload_3
96: iload 4
98: invokespecial #23 // Method scala/Tuple2$mcII$sp."<init>":(II)V
101: astore 7
103: aload 7
105: areturn
106: aload 5
108: athrow
Exception table:
from to target type
5 74 74 any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment