Commit 77c87da
committed
Implement better indy and LDC for DynamicConstant
1 parent 63650d1 commit 77c87da
File tree
10 files changed
+57
-30
lines changed- src
- main/kotlin/com/koresframework/kores/bytecode
- processor/processors
- util
- test
- java/com/koresframework/kores/test/asm
- resources/disassembled
10 files changed
+57
-30
lines changed- Kores-DSL/build.gradle+1-1
- README.md+1-1
- book/src/Getting-started.md+3-3
- build.gradle+1-1
- docs/Getting-started.html+3-3
- docs/print.html+3-3
- docs/searchindex.js+1-1
- docs/searchindex.json+1-1
- gradle/common.gradle+1-1
- kdocs/-kores/com.koresframework.kores.base/-arguments-holder/-builder/index.md+1
- kdocs/-kores/com.koresframework.kores.base/-arguments-holder/index.md+1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-builder/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-local-code-base/-builder/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-local-code-base/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-method-ref-base/-builder/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-method-ref-base/bootstrap-args.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/-lambda-method-ref-base/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/bootstrap-args.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic-base/index.md+3-3
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/-builder/dynamic.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/-builder/index.md+2-2
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/-invoke-dynamic.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/-lambda-local-code/-builder/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/-lambda-local-code/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/-lambda-method-ref/-builder/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/-lambda-method-ref/index.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/bootstrap-args.md+1-1
- kdocs/-kores/com.koresframework.kores.base/-invoke-dynamic/index.md+2-2
- kdocs/-kores/com.koresframework.kores.base/-named/-builder/index.md+2
- kdocs/-kores/com.koresframework.kores.base/-named/index.md+2
- kdocs/-kores/com.koresframework.kores.base/-typed/-builder/index.md+2
- kdocs/-kores/com.koresframework.kores.base/-typed/index.md+2
- kdocs/-kores/com.koresframework.kores.base/index.md+1-1
- kdocs/-kores/com.koresframework.kores.common/-dynamic-method-spec/-builder/index.md+1-1
- kdocs/-kores/com.koresframework.kores.common/-dynamic-method-spec/index.md+2-2
- kdocs/-kores/com.koresframework.kores.common/index.md+3-1
- kdocs/-kores/com.koresframework.kores.literal/-literal/index.md+1
- kdocs/-kores/com.koresframework.kores.literal/-literals/index.md+2
- kdocs/-kores/com.koresframework.kores.literal/index.md+1
- kdocs/-kores/package-list+40-8
- src/main/kotlin/com/koresframework/kores/base/InvokeDynamic.kt+30-31
- src/main/kotlin/com/koresframework/kores/common/DynamicDescriptor.kt+53
- src/main/kotlin/com/koresframework/kores/common/DynamicMethodSpec.kt+8-5
- src/main/kotlin/com/koresframework/kores/common/DynamicTypeSpec.kt+131
- src/main/kotlin/com/koresframework/kores/literal/Literals.kt+18
- src/main/kotlin/com/koresframework/kores/serialization/SerialModule.kt+2
- src/test/java/com/koresframework/kores/test/BuilderTest.java+1-12
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | | - | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| |||
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
95 | | - | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
Lines changed: 13 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 159 | + | |
165 | 160 | | |
166 | 161 | | |
167 | 162 | | |
| |||
181 | 176 | | |
182 | 177 | | |
183 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
238 | 241 | | |
239 | 242 | | |
240 | 243 | | |
241 | | - | |
| 244 | + | |
242 | 245 | | |
243 | 246 | | |
244 | 247 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| |||
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
59 | | - | |
60 | | - | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | | - | |
| 75 | + | |
71 | 76 | | |
72 | | - | |
73 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| |||
0 commit comments