arrow-resilience-kit 0.9.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-atomic.js +13 -13
- package/arrow-arrow-atomic.js.map +1 -1
- package/arrow-arrow-core.js +20 -20
- package/arrow-arrow-core.js.map +1 -1
- package/arrow-arrow-exception-utils.js.map +1 -1
- package/arrow-arrow-fx-stm.js +172 -172
- package/arrow-arrow-fx-stm.js.map +1 -1
- package/arrow-arrow-resilience.js +529 -529
- package/arrow-arrow-resilience.js.map +1 -1
- package/arrow-resilience-kit.d.ts +61 -31
- package/arrow-resilience-kit.js +6345 -5607
- package/arrow-resilience-kit.js.map +1 -1
- package/index.cjs +10 -0
- package/index.mjs +4 -0
- package/kotlin-kotlin-stdlib.js +1834 -1758
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging.js +172 -135
- package/kotlin-logging.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +1316 -1378
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +249 -249
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/package.json +14 -6
- package/Kotlin-DateTime-library-kotlinx-datetime.js +0 -15
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
package/arrow-arrow-fx-stm.js
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}(function (_, kotlin_kotlin, kotlin_io_arrow_kt_arrow_atomic, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
19
19
|
'use strict';
|
|
20
20
|
//region block: imports
|
|
21
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
22
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
21
|
+
var protoOf = kotlin_kotlin.$_$.s5;
|
|
22
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.h5;
|
|
23
23
|
var VOID = kotlin_kotlin.$_$.a;
|
|
24
24
|
var Atomic = kotlin_io_arrow_kt_arrow_atomic.$_$.a;
|
|
25
25
|
var Default_getInstance = kotlin_kotlin.$_$.v;
|
|
@@ -30,22 +30,22 @@
|
|
|
30
30
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.k;
|
|
31
31
|
var plus = kotlin_kotlin.$_$.x2;
|
|
32
32
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
33
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
33
|
+
var initMetadataForClass = kotlin_kotlin.$_$.g5;
|
|
34
34
|
var CoroutineImpl = kotlin_kotlin.$_$.a4;
|
|
35
35
|
var intercepted = kotlin_kotlin.$_$.n3;
|
|
36
36
|
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
|
|
37
37
|
var set_value = kotlin_io_arrow_kt_arrow_atomic.$_$.c;
|
|
38
38
|
var returnIfSuspended = kotlin_kotlin.$_$.c1;
|
|
39
39
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.l3;
|
|
40
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
41
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.i5;
|
|
41
|
+
var initMetadataForObject = kotlin_kotlin.$_$.m5;
|
|
42
42
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
44
|
-
var equals = kotlin_kotlin.$_$.
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.v6;
|
|
44
|
+
var equals = kotlin_kotlin.$_$.a5;
|
|
45
45
|
var Collection = kotlin_kotlin.$_$.d2;
|
|
46
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
47
|
-
var extendThrowable = kotlin_kotlin.$_$.
|
|
48
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
46
|
+
var isInterface = kotlin_kotlin.$_$.n5;
|
|
47
|
+
var extendThrowable = kotlin_kotlin.$_$.b5;
|
|
48
|
+
var captureStack = kotlin_kotlin.$_$.u4;
|
|
49
49
|
//endregion
|
|
50
50
|
//region block: pre-declaration
|
|
51
51
|
initMetadataForCompanion(Companion, VOID, VOID, [1]);
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
initMetadataForClass(RetryException, 'RetryException', RetryException, Error);
|
|
61
61
|
//endregion
|
|
62
62
|
function atomically(f, $completion) {
|
|
63
|
-
return (new STMTransaction()).
|
|
63
|
+
return (new STMTransaction()).u15(f, $completion);
|
|
64
64
|
}
|
|
65
65
|
function Companion() {
|
|
66
66
|
}
|
|
67
|
-
protoOf(Companion).
|
|
67
|
+
protoOf(Companion).v15 = function (a, $completion) {
|
|
68
68
|
return new TVar(a);
|
|
69
69
|
};
|
|
70
70
|
var Companion_instance_0;
|
|
@@ -72,48 +72,48 @@
|
|
|
72
72
|
return Companion_instance_0;
|
|
73
73
|
}
|
|
74
74
|
function TVar(a) {
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
75
|
+
this.w15_1 = new Atomic(a);
|
|
76
|
+
this.x15_1 = Default_getInstance().ib();
|
|
77
|
+
this.y15_1 = new Atomic(emptyList());
|
|
78
78
|
}
|
|
79
|
-
protoOf(TVar).
|
|
80
|
-
return get_value(this.
|
|
79
|
+
protoOf(TVar).z15 = function () {
|
|
80
|
+
return get_value(this.w15_1);
|
|
81
81
|
};
|
|
82
82
|
protoOf(TVar).hashCode = function () {
|
|
83
|
-
return this.
|
|
83
|
+
return this.x15_1.hashCode();
|
|
84
84
|
};
|
|
85
85
|
protoOf(TVar).equals = function (other) {
|
|
86
86
|
return this === other;
|
|
87
87
|
};
|
|
88
|
-
protoOf(TVar).
|
|
88
|
+
protoOf(TVar).a16 = function () {
|
|
89
89
|
while (true) {
|
|
90
90
|
// Inline function 'kotlin.let' call
|
|
91
|
-
var a = get_value(this.
|
|
91
|
+
var a = get_value(this.w15_1);
|
|
92
92
|
if (!(a instanceof STMFrame))
|
|
93
93
|
return a;
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
|
-
protoOf(TVar).
|
|
97
|
-
this.
|
|
96
|
+
protoOf(TVar).b16 = function (frame, a) {
|
|
97
|
+
this.w15_1.gf(frame, a);
|
|
98
98
|
};
|
|
99
|
-
protoOf(TVar).
|
|
100
|
-
return this.
|
|
99
|
+
protoOf(TVar).c16 = function (frame, expected) {
|
|
100
|
+
return this.w15_1.gf(expected, frame);
|
|
101
101
|
};
|
|
102
|
-
protoOf(TVar).
|
|
103
|
-
if (!(this.
|
|
104
|
-
var tmp0_safe_receiver = trans.
|
|
102
|
+
protoOf(TVar).d16 = function (trans, expected) {
|
|
103
|
+
if (!(this.z15() === expected)) {
|
|
104
|
+
var tmp0_safe_receiver = trans.e16();
|
|
105
105
|
if (tmp0_safe_receiver == null)
|
|
106
106
|
null;
|
|
107
107
|
else {
|
|
108
108
|
// Inline function 'kotlin.coroutines.resume' call
|
|
109
109
|
// Inline function 'kotlin.Companion.success' call
|
|
110
110
|
var tmp$ret$1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
111
|
-
tmp0_safe_receiver.
|
|
111
|
+
tmp0_safe_receiver.a7(tmp$ret$1);
|
|
112
112
|
}
|
|
113
113
|
return false;
|
|
114
114
|
}
|
|
115
115
|
// Inline function 'arrow.atomic.update' call
|
|
116
|
-
var tmp0 = this.
|
|
116
|
+
var tmp0 = this.y15_1;
|
|
117
117
|
$l$block: {
|
|
118
118
|
// Inline function 'arrow.atomic.update' call
|
|
119
119
|
// Inline function 'arrow.atomic.loop' call
|
|
@@ -121,23 +121,23 @@
|
|
|
121
121
|
var cur = get_value(tmp0);
|
|
122
122
|
var it = get_value(tmp0);
|
|
123
123
|
var upd = plus(it, trans);
|
|
124
|
-
if (tmp0.
|
|
124
|
+
if (tmp0.gf(cur, upd)) {
|
|
125
125
|
break $l$block;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
while (true);
|
|
129
129
|
}
|
|
130
130
|
var tmp;
|
|
131
|
-
if (!(this.
|
|
132
|
-
this.
|
|
133
|
-
var tmp1_safe_receiver = trans.
|
|
131
|
+
if (!(this.z15() === expected)) {
|
|
132
|
+
this.f16(trans);
|
|
133
|
+
var tmp1_safe_receiver = trans.e16();
|
|
134
134
|
if (tmp1_safe_receiver == null)
|
|
135
135
|
null;
|
|
136
136
|
else {
|
|
137
137
|
// Inline function 'kotlin.coroutines.resume' call
|
|
138
138
|
// Inline function 'kotlin.Companion.success' call
|
|
139
139
|
var tmp$ret$9 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
140
|
-
tmp1_safe_receiver.
|
|
140
|
+
tmp1_safe_receiver.a7(tmp$ret$9);
|
|
141
141
|
}
|
|
142
142
|
tmp = false;
|
|
143
143
|
} else {
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
}
|
|
146
146
|
return tmp;
|
|
147
147
|
};
|
|
148
|
-
protoOf(TVar).
|
|
148
|
+
protoOf(TVar).f16 = function (trans) {
|
|
149
149
|
// Inline function 'arrow.atomic.update' call
|
|
150
|
-
var tmp0 = this.
|
|
150
|
+
var tmp0 = this.y15_1;
|
|
151
151
|
$l$block: {
|
|
152
152
|
// Inline function 'arrow.atomic.update' call
|
|
153
153
|
// Inline function 'arrow.atomic.loop' call
|
|
@@ -157,151 +157,151 @@
|
|
|
157
157
|
var tmp0_0 = get_value(tmp0);
|
|
158
158
|
// Inline function 'kotlin.collections.filterTo' call
|
|
159
159
|
var destination = ArrayList_init_$Create$();
|
|
160
|
-
var _iterator__ex2g4s = tmp0_0.
|
|
161
|
-
while (_iterator__ex2g4s.
|
|
162
|
-
var element = _iterator__ex2g4s.
|
|
160
|
+
var _iterator__ex2g4s = tmp0_0.h();
|
|
161
|
+
while (_iterator__ex2g4s.i()) {
|
|
162
|
+
var element = _iterator__ex2g4s.j();
|
|
163
163
|
if (!(element === trans)) {
|
|
164
|
-
destination.
|
|
164
|
+
destination.g(element);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
var upd = destination;
|
|
168
|
-
if (tmp0.
|
|
168
|
+
if (tmp0.gf(cur, upd)) {
|
|
169
169
|
break $l$block;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
while (true);
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
|
-
protoOf(TVar).
|
|
175
|
+
protoOf(TVar).g16 = function () {
|
|
176
176
|
// Inline function 'kotlin.collections.forEach' call
|
|
177
|
-
var _iterator__ex2g4s = this.
|
|
178
|
-
while (_iterator__ex2g4s.
|
|
179
|
-
var element = _iterator__ex2g4s.
|
|
180
|
-
var tmp0_safe_receiver = element.
|
|
177
|
+
var _iterator__ex2g4s = this.y15_1.ff(emptyList()).h();
|
|
178
|
+
while (_iterator__ex2g4s.i()) {
|
|
179
|
+
var element = _iterator__ex2g4s.j();
|
|
180
|
+
var tmp0_safe_receiver = element.e16();
|
|
181
181
|
if (tmp0_safe_receiver == null)
|
|
182
182
|
null;
|
|
183
183
|
else {
|
|
184
184
|
// Inline function 'kotlin.coroutines.resume' call
|
|
185
185
|
// Inline function 'kotlin.Companion.success' call
|
|
186
186
|
var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
187
|
-
tmp0_safe_receiver.
|
|
187
|
+
tmp0_safe_receiver.a7(tmp$ret$3);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
191
|
function $commitCOROUTINE$(_this__u8e3s4, f, resultContinuation) {
|
|
192
192
|
CoroutineImpl.call(this, resultContinuation);
|
|
193
|
-
this.
|
|
194
|
-
this.
|
|
193
|
+
this.p16_1 = _this__u8e3s4;
|
|
194
|
+
this.q16_1 = f;
|
|
195
195
|
}
|
|
196
|
-
protoOf($commitCOROUTINE$).
|
|
197
|
-
var suspendResult = this.
|
|
196
|
+
protoOf($commitCOROUTINE$).x6 = function () {
|
|
197
|
+
var suspendResult = this.r6_1;
|
|
198
198
|
$sm: do
|
|
199
199
|
try {
|
|
200
|
-
var tmp = this.
|
|
200
|
+
var tmp = this.p6_1;
|
|
201
201
|
switch (tmp) {
|
|
202
202
|
case 0:
|
|
203
|
-
this.
|
|
204
|
-
this.
|
|
203
|
+
this.q6_1 = 4;
|
|
204
|
+
this.p6_1 = 1;
|
|
205
205
|
continue $sm;
|
|
206
206
|
case 1:
|
|
207
207
|
if (!true) {
|
|
208
|
-
this.
|
|
208
|
+
this.p6_1 = 6;
|
|
209
209
|
continue $sm;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
214
|
-
var res = this.
|
|
215
|
-
if (this.
|
|
212
|
+
this.s16_1 = new STMFrame();
|
|
213
|
+
this.q6_1 = 2;
|
|
214
|
+
var res = this.q16_1(this.s16_1);
|
|
215
|
+
if (this.s16_1.v16())
|
|
216
216
|
return res;
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
217
|
+
this.q6_1 = 4;
|
|
218
|
+
this.p6_1 = 5;
|
|
219
219
|
continue $sm;
|
|
220
220
|
case 2:
|
|
221
|
-
this.
|
|
222
|
-
var tmp_0 = this.
|
|
221
|
+
this.q6_1 = 4;
|
|
222
|
+
var tmp_0 = this.s6_1;
|
|
223
223
|
if (tmp_0 instanceof RetryException) {
|
|
224
|
-
var _unused_var__etf5q3 = this.
|
|
225
|
-
if (this.
|
|
224
|
+
var _unused_var__etf5q3 = this.s6_1;
|
|
225
|
+
if (this.s16_1.u16_1.q())
|
|
226
226
|
throw new BlockedIndefinitely();
|
|
227
227
|
var tmp_1 = this;
|
|
228
|
-
tmp_1.
|
|
229
|
-
this.
|
|
228
|
+
tmp_1.r16_1 = ArrayList_init_$Create$();
|
|
229
|
+
this.p6_1 = 3;
|
|
230
230
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
231
|
-
cancellable.
|
|
231
|
+
cancellable.vj();
|
|
232
232
|
l$ret$1: do {
|
|
233
|
-
set_value(this.
|
|
234
|
-
var _iterator__ex2g4s = this.
|
|
235
|
-
while (_iterator__ex2g4s.
|
|
236
|
-
var element = _iterator__ex2g4s.
|
|
237
|
-
var tv = element.
|
|
238
|
-
var entry = element.
|
|
239
|
-
if (tv.
|
|
240
|
-
this.
|
|
233
|
+
set_value(this.p16_1.t15_1, cancellable);
|
|
234
|
+
var _iterator__ex2g4s = this.s16_1.u16_1.g1().h();
|
|
235
|
+
while (_iterator__ex2g4s.i()) {
|
|
236
|
+
var element = _iterator__ex2g4s.j();
|
|
237
|
+
var tv = element.b1();
|
|
238
|
+
var entry = element.c1();
|
|
239
|
+
if (tv.d16(this.p16_1, entry.x16_1))
|
|
240
|
+
this.r16_1.g(tv);
|
|
241
241
|
else {
|
|
242
242
|
break l$ret$1;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
while (false);
|
|
247
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
247
|
+
suspendResult = returnIfSuspended(cancellable.fk(), this);
|
|
248
248
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
249
249
|
return suspendResult;
|
|
250
250
|
}
|
|
251
251
|
continue $sm;
|
|
252
252
|
} else {
|
|
253
|
-
var tmp_2 = this.
|
|
253
|
+
var tmp_2 = this.s6_1;
|
|
254
254
|
if (tmp_2 instanceof Error) {
|
|
255
|
-
var e = this.
|
|
256
|
-
if (this.
|
|
255
|
+
var e = this.s6_1;
|
|
256
|
+
if (this.s16_1.w16())
|
|
257
257
|
throw e;
|
|
258
|
-
this.
|
|
258
|
+
this.p6_1 = 5;
|
|
259
259
|
continue $sm;
|
|
260
260
|
} else {
|
|
261
|
-
throw this.
|
|
261
|
+
throw this.s6_1;
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
case 3:
|
|
266
|
-
var _iterator__ex2g4s_0 = this.
|
|
267
|
-
while (_iterator__ex2g4s_0.
|
|
268
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
269
|
-
element_0.
|
|
266
|
+
var _iterator__ex2g4s_0 = this.r16_1.h();
|
|
267
|
+
while (_iterator__ex2g4s_0.i()) {
|
|
268
|
+
var element_0 = _iterator__ex2g4s_0.j();
|
|
269
|
+
element_0.f16(this.p16_1);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
this.
|
|
272
|
+
this.p6_1 = 5;
|
|
273
273
|
continue $sm;
|
|
274
274
|
case 4:
|
|
275
|
-
throw this.
|
|
275
|
+
throw this.s6_1;
|
|
276
276
|
case 5:
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
277
|
+
this.q6_1 = 4;
|
|
278
|
+
this.p6_1 = 1;
|
|
279
279
|
continue $sm;
|
|
280
280
|
case 6:
|
|
281
281
|
return Unit_instance;
|
|
282
282
|
}
|
|
283
283
|
} catch ($p) {
|
|
284
284
|
var e_0 = $p;
|
|
285
|
-
if (this.
|
|
285
|
+
if (this.q6_1 === 4) {
|
|
286
286
|
throw e_0;
|
|
287
287
|
} else {
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
288
|
+
this.p6_1 = this.q6_1;
|
|
289
|
+
this.s6_1 = e_0;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
while (true);
|
|
293
293
|
};
|
|
294
294
|
function STMTransaction() {
|
|
295
|
-
this.
|
|
295
|
+
this.t15_1 = new Atomic(null);
|
|
296
296
|
}
|
|
297
|
-
protoOf(STMTransaction).
|
|
298
|
-
return this.
|
|
297
|
+
protoOf(STMTransaction).e16 = function () {
|
|
298
|
+
return this.t15_1.ff(null);
|
|
299
299
|
};
|
|
300
|
-
protoOf(STMTransaction).
|
|
300
|
+
protoOf(STMTransaction).u15 = function (f, $completion) {
|
|
301
301
|
var tmp = new $commitCOROUTINE$(this, f, $completion);
|
|
302
|
-
tmp.
|
|
303
|
-
tmp.
|
|
304
|
-
return tmp.
|
|
302
|
+
tmp.r6_1 = Unit_instance;
|
|
303
|
+
tmp.s6_1 = null;
|
|
304
|
+
return tmp.x6();
|
|
305
305
|
};
|
|
306
306
|
function NoChange() {
|
|
307
307
|
}
|
|
@@ -316,24 +316,24 @@
|
|
|
316
316
|
return NotPresent_instance;
|
|
317
317
|
}
|
|
318
318
|
function Entry(initialVal, newVal) {
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
319
|
+
this.x16_1 = initialVal;
|
|
320
|
+
this.y16_1 = newVal;
|
|
321
321
|
}
|
|
322
|
-
protoOf(Entry).
|
|
323
|
-
return !(this.
|
|
322
|
+
protoOf(Entry).z16 = function () {
|
|
323
|
+
return !(this.y16_1 === NoChange_instance);
|
|
324
324
|
};
|
|
325
|
-
protoOf(Entry).
|
|
326
|
-
this.
|
|
325
|
+
protoOf(Entry).a17 = function (v) {
|
|
326
|
+
this.y16_1 = this.x16_1 === v ? NoChange_instance : v;
|
|
327
327
|
};
|
|
328
|
-
protoOf(Entry).
|
|
329
|
-
return this.
|
|
328
|
+
protoOf(Entry).b17 = function () {
|
|
329
|
+
return this.z16() ? this.y16_1 : this.x16_1;
|
|
330
330
|
};
|
|
331
331
|
function readVar($this, v) {
|
|
332
|
-
var tmp0_safe_receiver = $this.
|
|
333
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
332
|
+
var tmp0_safe_receiver = $this.u16_1.e1(v);
|
|
333
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b17();
|
|
334
334
|
var tmp;
|
|
335
335
|
if (tmp1_elvis_lhs == null) {
|
|
336
|
-
var tmp2_safe_receiver = $this.
|
|
336
|
+
var tmp2_safe_receiver = $this.t16_1;
|
|
337
337
|
tmp = tmp2_safe_receiver == null ? null : readVar(tmp2_safe_receiver, v);
|
|
338
338
|
} else {
|
|
339
339
|
tmp = tmp1_elvis_lhs;
|
|
@@ -343,68 +343,68 @@
|
|
|
343
343
|
}
|
|
344
344
|
function STMFrame(parent) {
|
|
345
345
|
parent = parent === VOID ? null : parent;
|
|
346
|
-
this.
|
|
346
|
+
this.t16_1 = parent;
|
|
347
347
|
var tmp = this;
|
|
348
348
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
349
|
-
tmp.
|
|
349
|
+
tmp.u16_1 = LinkedHashMap_init_$Create$();
|
|
350
350
|
}
|
|
351
|
-
protoOf(STMFrame).
|
|
351
|
+
protoOf(STMFrame).c17 = function () {
|
|
352
352
|
throw new RetryException();
|
|
353
353
|
};
|
|
354
|
-
protoOf(STMFrame).
|
|
354
|
+
protoOf(STMFrame).d17 = function (_this__u8e3s4) {
|
|
355
355
|
var r = readVar(this, _this__u8e3s4 instanceof TVar ? _this__u8e3s4 : THROW_CCE());
|
|
356
356
|
var tmp;
|
|
357
357
|
if (equals(r, NotPresent_instance)) {
|
|
358
358
|
// Inline function 'kotlin.also' call
|
|
359
|
-
var this_0 = _this__u8e3s4.
|
|
360
|
-
var tmp0 = this.
|
|
359
|
+
var this_0 = _this__u8e3s4.a16();
|
|
360
|
+
var tmp0 = this.u16_1;
|
|
361
361
|
// Inline function 'kotlin.collections.set' call
|
|
362
362
|
var value = new Entry(this_0, NoChange_instance);
|
|
363
|
-
tmp0.
|
|
363
|
+
tmp0.b3(_this__u8e3s4, value);
|
|
364
364
|
tmp = this_0;
|
|
365
365
|
} else {
|
|
366
366
|
tmp = r;
|
|
367
367
|
}
|
|
368
368
|
return tmp;
|
|
369
369
|
};
|
|
370
|
-
protoOf(STMFrame).
|
|
370
|
+
protoOf(STMFrame).e17 = function (_this__u8e3s4, a) {
|
|
371
371
|
if (!(_this__u8e3s4 instanceof TVar))
|
|
372
372
|
THROW_CCE();
|
|
373
|
-
var tmp0_safe_receiver = this.
|
|
373
|
+
var tmp0_safe_receiver = this.u16_1.e1(_this__u8e3s4);
|
|
374
374
|
var tmp;
|
|
375
375
|
if (tmp0_safe_receiver == null) {
|
|
376
376
|
tmp = null;
|
|
377
377
|
} else {
|
|
378
|
-
tmp0_safe_receiver.
|
|
378
|
+
tmp0_safe_receiver.a17(a);
|
|
379
379
|
tmp = Unit_instance;
|
|
380
380
|
}
|
|
381
381
|
if (tmp == null) {
|
|
382
382
|
// Inline function 'kotlin.let' call
|
|
383
|
-
var it = _this__u8e3s4.
|
|
384
|
-
var tmp0 = this.
|
|
383
|
+
var it = _this__u8e3s4.a16();
|
|
384
|
+
var tmp0 = this.u16_1;
|
|
385
385
|
// Inline function 'kotlin.collections.set' call
|
|
386
386
|
var value = new Entry(it, a);
|
|
387
|
-
tmp0.
|
|
387
|
+
tmp0.b3(_this__u8e3s4, value);
|
|
388
388
|
}
|
|
389
389
|
};
|
|
390
|
-
protoOf(STMFrame).
|
|
391
|
-
var tmp0 = this.
|
|
390
|
+
protoOf(STMFrame).w16 = function () {
|
|
391
|
+
var tmp0 = this.u16_1;
|
|
392
392
|
var tmp$ret$0;
|
|
393
393
|
$l$block_0: {
|
|
394
394
|
// Inline function 'kotlin.collections.all' call
|
|
395
|
-
if (tmp0.
|
|
395
|
+
if (tmp0.q()) {
|
|
396
396
|
tmp$ret$0 = true;
|
|
397
397
|
break $l$block_0;
|
|
398
398
|
}
|
|
399
399
|
// Inline function 'kotlin.collections.iterator' call
|
|
400
|
-
var _iterator__ex2g4s = tmp0.
|
|
401
|
-
while (_iterator__ex2g4s.
|
|
402
|
-
var element = _iterator__ex2g4s.
|
|
400
|
+
var _iterator__ex2g4s = tmp0.g1().h();
|
|
401
|
+
while (_iterator__ex2g4s.i()) {
|
|
402
|
+
var element = _iterator__ex2g4s.j();
|
|
403
403
|
// Inline function 'kotlin.collections.component1' call
|
|
404
|
-
var tv = element.
|
|
404
|
+
var tv = element.b1();
|
|
405
405
|
// Inline function 'kotlin.collections.component2' call
|
|
406
|
-
var entry = element.
|
|
407
|
-
if (!(tv.
|
|
406
|
+
var entry = element.c1();
|
|
407
|
+
if (!(tv.z15() === entry.x16_1)) {
|
|
408
408
|
tmp$ret$0 = false;
|
|
409
409
|
break $l$block_0;
|
|
410
410
|
}
|
|
@@ -413,8 +413,8 @@
|
|
|
413
413
|
}
|
|
414
414
|
return tmp$ret$0;
|
|
415
415
|
};
|
|
416
|
-
protoOf(STMFrame).
|
|
417
|
-
if (this.
|
|
416
|
+
protoOf(STMFrame).v16 = function () {
|
|
417
|
+
if (this.u16_1.q())
|
|
418
418
|
return true;
|
|
419
419
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
420
420
|
var locked = ArrayList_init_$Create$();
|
|
@@ -422,36 +422,36 @@
|
|
|
422
422
|
var reads = ArrayList_init_$Create$();
|
|
423
423
|
// Inline function 'kotlin.collections.forEach' call
|
|
424
424
|
// Inline function 'kotlin.collections.iterator' call
|
|
425
|
-
var _iterator__ex2g4s = this.
|
|
426
|
-
while (_iterator__ex2g4s.
|
|
427
|
-
var element = _iterator__ex2g4s.
|
|
425
|
+
var _iterator__ex2g4s = this.u16_1.g1().h();
|
|
426
|
+
while (_iterator__ex2g4s.i()) {
|
|
427
|
+
var element = _iterator__ex2g4s.j();
|
|
428
428
|
// Inline function 'kotlin.collections.component1' call
|
|
429
|
-
var tv = element.
|
|
429
|
+
var tv = element.b1();
|
|
430
430
|
// Inline function 'kotlin.collections.component2' call
|
|
431
|
-
var entry = element.
|
|
432
|
-
if (entry.
|
|
433
|
-
if (tv.
|
|
434
|
-
locked.
|
|
431
|
+
var entry = element.c1();
|
|
432
|
+
if (entry.z16()) {
|
|
433
|
+
if (tv.c16(this, entry.x16_1)) {
|
|
434
|
+
locked.g(element);
|
|
435
435
|
} else {
|
|
436
436
|
// Inline function 'kotlin.collections.forEach' call
|
|
437
|
-
var _iterator__ex2g4s_0 = locked.
|
|
438
|
-
while (_iterator__ex2g4s_0.
|
|
439
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
440
|
-
element_0.
|
|
437
|
+
var _iterator__ex2g4s_0 = locked.h();
|
|
438
|
+
while (_iterator__ex2g4s_0.i()) {
|
|
439
|
+
var element_0 = _iterator__ex2g4s_0.j();
|
|
440
|
+
element_0.b1().b16(this, element_0.c1().x16_1);
|
|
441
441
|
}
|
|
442
442
|
return false;
|
|
443
443
|
}
|
|
444
444
|
} else {
|
|
445
|
-
if (!(tv.
|
|
445
|
+
if (!(tv.z15() === entry.x16_1)) {
|
|
446
446
|
// Inline function 'kotlin.collections.forEach' call
|
|
447
|
-
var _iterator__ex2g4s_1 = locked.
|
|
448
|
-
while (_iterator__ex2g4s_1.
|
|
449
|
-
var element_1 = _iterator__ex2g4s_1.
|
|
450
|
-
element_1.
|
|
447
|
+
var _iterator__ex2g4s_1 = locked.h();
|
|
448
|
+
while (_iterator__ex2g4s_1.i()) {
|
|
449
|
+
var element_1 = _iterator__ex2g4s_1.j();
|
|
450
|
+
element_1.b1().b16(this, element_1.c1().x16_1);
|
|
451
451
|
}
|
|
452
452
|
return false;
|
|
453
453
|
} else {
|
|
454
|
-
reads.
|
|
454
|
+
reads.g(element);
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
}
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
// Inline function 'kotlin.collections.any' call
|
|
461
461
|
var tmp;
|
|
462
462
|
if (isInterface(reads, Collection)) {
|
|
463
|
-
tmp = reads.
|
|
463
|
+
tmp = reads.q();
|
|
464
464
|
} else {
|
|
465
465
|
tmp = false;
|
|
466
466
|
}
|
|
@@ -468,14 +468,14 @@
|
|
|
468
468
|
tmp$ret$11 = false;
|
|
469
469
|
break $l$block_0;
|
|
470
470
|
}
|
|
471
|
-
var _iterator__ex2g4s_2 = reads.
|
|
472
|
-
while (_iterator__ex2g4s_2.
|
|
473
|
-
var element_2 = _iterator__ex2g4s_2.
|
|
471
|
+
var _iterator__ex2g4s_2 = reads.h();
|
|
472
|
+
while (_iterator__ex2g4s_2.i()) {
|
|
473
|
+
var element_2 = _iterator__ex2g4s_2.j();
|
|
474
474
|
// Inline function 'kotlin.collections.component1' call
|
|
475
|
-
var tv_0 = element_2.
|
|
475
|
+
var tv_0 = element_2.b1();
|
|
476
476
|
// Inline function 'kotlin.collections.component2' call
|
|
477
|
-
var entry_0 = element_2.
|
|
478
|
-
if (!(tv_0.
|
|
477
|
+
var entry_0 = element_2.c1();
|
|
478
|
+
if (!(tv_0.z15() === entry_0.x16_1)) {
|
|
479
479
|
tmp$ret$11 = true;
|
|
480
480
|
break $l$block_0;
|
|
481
481
|
}
|
|
@@ -484,24 +484,24 @@
|
|
|
484
484
|
}
|
|
485
485
|
if (tmp$ret$11) {
|
|
486
486
|
// Inline function 'kotlin.collections.forEach' call
|
|
487
|
-
var _iterator__ex2g4s_3 = locked.
|
|
488
|
-
while (_iterator__ex2g4s_3.
|
|
489
|
-
var element_3 = _iterator__ex2g4s_3.
|
|
490
|
-
element_3.
|
|
487
|
+
var _iterator__ex2g4s_3 = locked.h();
|
|
488
|
+
while (_iterator__ex2g4s_3.i()) {
|
|
489
|
+
var element_3 = _iterator__ex2g4s_3.j();
|
|
490
|
+
element_3.b1().b16(this, element_3.c1().x16_1);
|
|
491
491
|
}
|
|
492
492
|
return false;
|
|
493
493
|
}
|
|
494
494
|
// Inline function 'kotlin.collections.forEach' call
|
|
495
|
-
var _iterator__ex2g4s_4 = locked.
|
|
496
|
-
while (_iterator__ex2g4s_4.
|
|
497
|
-
var element_4 = _iterator__ex2g4s_4.
|
|
498
|
-
element_4.
|
|
495
|
+
var _iterator__ex2g4s_4 = locked.h();
|
|
496
|
+
while (_iterator__ex2g4s_4.i()) {
|
|
497
|
+
var element_4 = _iterator__ex2g4s_4.j();
|
|
498
|
+
element_4.b1().b16(this, element_4.c1().y16_1);
|
|
499
499
|
}
|
|
500
500
|
// Inline function 'kotlin.collections.forEach' call
|
|
501
|
-
var _iterator__ex2g4s_5 = locked.
|
|
502
|
-
while (_iterator__ex2g4s_5.
|
|
503
|
-
var element_5 = _iterator__ex2g4s_5.
|
|
504
|
-
element_5.
|
|
501
|
+
var _iterator__ex2g4s_5 = locked.h();
|
|
502
|
+
while (_iterator__ex2g4s_5.i()) {
|
|
503
|
+
var element_5 = _iterator__ex2g4s_5.j();
|
|
504
|
+
element_5.b1().g16();
|
|
505
505
|
}
|
|
506
506
|
return true;
|
|
507
507
|
};
|