1 | static new AtomicInteger optimizedJavaEval_bails; |
2 | |
3 | static O optimizedJavaEval(S code) { |
4 | if (canQuickEval(code)) ret quickEval(code); |
5 | Pair<S, L<S>> p = tok_parseFunctionCall(code); |
6 | if (p != null && hasMethodNamed(mc(), p.a) |
7 | && canQuickEvalAll(p.b)) // start simple |
8 | ret callMC(p.a, toObjectArray(quickEvalAll(p.b))); |
9 | incAtomicInt(optimizedJavaEval_bails); |
10 | ret javaEval(code); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015630 |
Snippet name: | optimizedJavaEval - try to interpret code if possible |
Eternal ID of this version: | #1015630/5 |
Text MD5: | 029bbb3e80178479f79bfb28939b1a2d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-20 13:00:51 |
Source code size: | 403 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 292 / 350 |
Version history: | 4 change(s) |
Referenced in: | [show references] |