Commit Graph

496 Commits

Author SHA1 Message Date
Alexey Andreev
e7a88d087c Add emitter. Refactor metadata generator. Fix bugs in timezone
formatting and parsing
2015-05-22 18:18:53 +04:00
Alexey Andreev
33c32bc035 Speed up timezone detection 2015-05-18 21:10:08 +03:00
Alexey Andreev
07b65a92c7 Fix https://github.com/konsoletyper/teavm/issues/109 2015-05-14 17:38:07 +04:00
Alexey Andreev
85cfe4814e Fix https://github.com/konsoletyper/teavm/issues/114 2015-05-14 14:22:22 +04:00
Alexey Andreev
578c2ce4b8 Fix virtual invocation resolution during dependency check 2015-05-10 13:46:54 +03:00
Alexey Andreev
1945e6cb44 Print bytecode listing of a method when decompiler fails to decompile 2015-05-08 20:54:18 +03:00
Alexey Andreev
11d69f15c9 If possible, move continue $main to the end of the async part, giving a
chance to eliminate it.
2015-05-04 16:50:36 +03:00
Alexey Andreev
b4e4dd8d43 Omit unnecessary continue $main 2015-05-04 16:09:16 +03:00
Alexey Andreev
26379afc50 Fix bug in bytecode parser. Fix
https://github.com/konsoletyper/teavm/issues/104 Fix
https://github.com/konsoletyper/teavm/issues/105
2015-05-01 15:19:35 +03:00
Alexey Andreev
fee4fbc24e Merge branch 'fix-performance-regression' 2015-05-01 11:03:29 +03:00
Alexey Andreev
7b029d024c Upgrade to ASM5 API 2015-05-01 10:49:51 +03:00
Alexey Andreev
98e2142332 Fix performance regression. See
https://github.com/konsoletyper/teavm/issues/102
2015-04-30 15:03:47 +04:00
Alexey Andreev
358766d5f6 Fix bugs 2015-04-19 15:33:56 +03:00
Alexey Andreev
b7c7c2da73 Fix bug with exception catch variable 2015-04-18 08:37:22 +03:00
Alexey Andreev
eb48c349d0 Fix issues in break elimination 2015-04-17 22:52:02 +03:00
Alexey Andreev
b3f662327c Fix bug in try/catch generator 2015-04-16 23:09:32 +03:00
Alexey Andreev
45b3805a2d Fix more bugs in try/catch generator 2015-04-16 22:15:39 +03:00
Alexey Andreev
9fac86da7c Fix bugs in try/catch generator 2015-04-15 22:34:08 +03:00
Alexey Andreev
4b4af6dd4e Fix bugs in optimized try/catch decompiler 2015-04-15 20:18:05 +03:00
Alexey Andreev
1f5c5ce85e Optimizing try/catch generator 2015-04-11 23:18:38 +03:00
Alexey Andreev
aef09cd7d2 Merge branch 'synchronized-methods' into indexeddb 2015-04-04 18:44:14 +03:00
Alexey Andreev
30d601e807 Fix IndexedDB wrappers 2015-04-04 18:29:18 +03:00
Alexey Andreev
6bf9a728a9 Break eliminator now takes in account try/catch statement. See
https://github.com/konsoletyper/teavm/issues/93
2015-04-03 15:11:07 +04:00
Alexey Andreev
5faaa1d061 Merge branch 'master' into synchronized-methods 2015-04-01 19:23:03 +03:00
Alexey Andreev
4adf789142 Fixing bugs in JSBody 2015-04-01 00:10:51 +03:00
Alexey Andreev
df8a3b8206 Fix bug in liveness analyzer 2015-03-30 18:14:48 +04:00
Alexey Andreev
98247b9927 Partial support of synchronized methods 2015-03-29 19:17:55 +03:00
Alexey Andreev
a4cb94df2f Fix https://github.com/konsoletyper/teavm/issues/89 2015-03-29 17:50:57 +03:00
Alexey Andreev
79d76f9a4d Fix https://github.com/konsoletyper/teavm/issues/87 2015-03-27 17:46:26 +04:00
Alexey Andreev
0e3fb1f3d2 Modify LivenessAnaylizer to not rely on dominator tree. Fix possible
name clash between virtual methods and fields. Remove tests incompatible
between JDK7 and JDK8
2015-03-27 15:42:47 +04:00
konsoletyper
6964c7190d Fix non-async application detection. Fix javadoc comments. 2015-03-15 19:03:57 +03:00
konsoletyper
17ccec57e9 Add missing javadoc tags 2015-03-15 18:22:39 +03:00
konsoletyper
9ce9f970d7 Fix AST caching to support async methods 2015-03-15 17:46:01 +03:00
konsoletyper
6c57fb866f Attempting to increase performance of AST processing 2015-03-15 15:02:34 +03:00
konsoletyper
b6cf7c4cba Optimize some breaks (including breaks from switch clauses) in a
separate pass
2015-03-15 14:43:38 +03:00
konsoletyper
8be9e6c4ba First attempt to make AST optimizer faster 2015-03-14 23:45:01 +03:00
konsoletyper
f17433aeab Attempt to increase performance of JS by separating variables of
different types
2015-03-14 21:18:16 +03:00
konsoletyper
004cb79b17 Remove unnecessary debugging code 2015-03-14 15:34:13 +03:00
konsoletyper
3449257db7 Fix bugs in faster dependency algorithm 2015-03-13 22:48:24 +03:00
konsoletyper
2745f1c7f5 Initial optimization of dependency checker 2015-03-13 22:09:28 +03:00
Alexey Andreev
1380e7dbf4 Generate readable names for method parameters 2015-03-13 19:01:13 +04:00
Alexey Andreev
77863ad6fd Perform better preordering before decompilation 2015-03-13 15:55:02 +04:00
Alexey Andreev
793d1e19d2 Fix another bug in DFG simplifier 2015-03-13 14:57:59 +04:00
Alexey Andreev
31f6439652 Fix another bug in DFG simplifier. Fix long subtraction bug 2015-03-13 14:26:36 +04:00
Alexey Andreev
0572123c0e Faster long for small values 2015-03-13 12:52:57 +04:00
Alexey Andreev
cc009ff9bd Fix bug in DFG simplifier 2015-03-13 12:11:53 +04:00
konsoletyper
2971efb62b Adapt minificator for new async approach 2015-03-12 21:49:59 +03:00
konsoletyper
79b805ba6c Better fix for https://github.com/konsoletyper/teavm/issues/85 2015-03-12 21:20:36 +03:00
konsoletyper
14dd352cb6 Fix exception thrown with incomplete classpath 2015-03-12 20:24:33 +03:00
Alexey Andreev
3a29e869ef Aviod creation of closures in async methods 2015-03-12 18:11:04 +04:00