Debian Codegraph @

test/1965-get-set-local-primitive-no-tables/jasmin/TestCases1965.j

raw
1 ; Copyright (C) 2019 The Android Open Source Project
2 ;
3 ; Licensed under the Apache License, Version 2.0 (the "License");
4 ; you may not use this file except in compliance with the License.
5 ; You may obtain a copy of the License at
6 ;
7 ; http://www.apache.org/licenses/LICENSE-2.0
8 ;
9 ; Unless required by applicable law or agreed to in writing, software
10 ; distributed under the License is distributed on an "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ; See the License for the specific language governing permissions and
13 ; limitations under the License.
14
15 .class public final art_test/TestCases1965
16 .super java/lang/Object
17
18 .method public <init>()V
19 .limit stack 1
20 .limit locals 1
21 0: aload_0
22 1: invokespecial java/lang/Object/<init>()V
23 4: return
24 .end method
25
26 ; NB We limit locals 4 so that every method has space to fit a long/double in it.
27 .method public static NullObjectMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
28 .limit stack 2
29 .limit locals 4
30 0: aconst_null
31 1: astore_2
32 2: aload_0
33 3: sipush 2
34 6: invokeinterface java/util/function/IntConsumer/accept(I)V 2
35 11: aload_1
36 12: aload_2
37 13: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
38 18: return
39 .end method
40
41 .method public static ObjectMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
42 .limit stack 2
43 .limit locals 4
44 0: ldc "TARGET_VALUE"
45 2: astore_2
46 3: aload_0
47 4: sipush 2
48 7: invokeinterface java/util/function/IntConsumer/accept(I)V 2
49 12: aload_1
50 13: aload_2
51 14: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
52 19: return
53 .end method
54
55 .method public static BooleanMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
56 .limit stack 2
57 .limit locals 4
58 0: iconst_0
59 1: istore_2
60 2: aload_0
61 3: sipush 2
62 6: invokeinterface java/util/function/IntConsumer/accept(I)V 2
63 11: aload_1
64 12: iload_2
65 13: invokestatic java/lang/Boolean/valueOf(Z)Ljava/lang/Boolean;
66 16: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
67 21: return
68 .end method
69
70 .method public static ByteMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
71 .limit stack 2
72 .limit locals 4
73 0: bipush 8
74 2: istore_2
75 3: aload_0
76 4: sipush 2
77 7: invokeinterface java/util/function/IntConsumer/accept(I)V 2
78 12: aload_1
79 13: iload_2
80 14: invokestatic java/lang/Byte/valueOf(B)Ljava/lang/Byte;
81 17: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
82 22: return
83 .end method
84
85 .method public static CharMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
86 .limit stack 2
87 .limit locals 4
88 0: bipush 113
89 2: istore_2
90 3: aload_0
91 4: sipush 2
92 7: invokeinterface java/util/function/IntConsumer/accept(I)V 2
93 12: aload_1
94 13: iload_2
95 14: invokestatic java/lang/Character/valueOf(C)Ljava/lang/Character;
96 17: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
97 22: return
98 .end method
99
100 .method public static ShortMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
101 .limit stack 2
102 .limit locals 4
103 0: sipush 321
104 3: istore_2
105 4: aload_0
106 5: sipush 2
107 8: invokeinterface java/util/function/IntConsumer/accept(I)V 2
108 13: aload_1
109 14: iload_2
110 15: invokestatic java/lang/Short/valueOf(S)Ljava/lang/Short;
111 18: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
112 23: return
113 .end method
114
115 .method public static IntMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
116 .limit stack 2
117 .limit locals 4
118 0: bipush 42
119 2: istore_2
120 3: aload_0
121 4: sipush 2
122 7: invokeinterface java/util/function/IntConsumer/accept(I)V 2
123 12: aload_1
124 13: iload_2
125 14: invokestatic java/lang/Integer/valueOf(I)Ljava/lang/Integer;
126 17: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
127 22: return
128 .end method
129
130 .method public static LongMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
131 .limit stack 3
132 .limit locals 4
133 0: ldc2_w 9001
134 3: lstore_2
135 4: aload_0
136 5: sipush 2
137 8: invokeinterface java/util/function/IntConsumer/accept(I)V 2
138 13: aload_1
139 14: lload_2
140 15: invokestatic java/lang/Long/valueOf(J)Ljava/lang/Long;
141 18: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
142 23: return
143 .end method
144
145 .method public static FloatMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
146 .limit stack 2
147 .limit locals 4
148 0: ldc 1.618
149 2: fstore_2
150 3: aload_0
151 4: sipush 2
152 7: invokeinterface java/util/function/IntConsumer/accept(I)V 2
153 12: aload_1
154 13: fload_2
155 14: invokestatic java/lang/Float/valueOf(F)Ljava/lang/Float;
156 17: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
157 22: return
158 .end method
159
160 .method public static DoubleMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V
161 .limit stack 3
162 .limit locals 4
163 0: ldc2_w 3.1415
164 3: dstore_2
165 4: aload_0
166 5: sipush 2
167 8: invokeinterface java/util/function/IntConsumer/accept(I)V 2
168 13: aload_1
169 14: dload_2
170 15: invokestatic java/lang/Double/valueOf(D)Ljava/lang/Double;
171 18: invokeinterface java/util/function/Consumer/accept(Ljava/lang/Object;)V 2
172 23: return
173 .end method