Commit Graph

110 Commits

Author SHA1 Message Date
konsoletyper
281d4b8e05 Adds ability to build JavaScript tests against custom adapters. Adds
optional dependency scanning for tests. Adds test inclusion by
wildcards. Adds TCK test generator.
2014-02-19 20:46:17 +04:00
konsoletyper
b48cbc98a4 Introduces TestAdapter to make maven plugin be aware of different test
frameworks
2014-02-19 17:52:07 +04:00
konsoletyper
301d14e1ab Most of JavaScriptBody TCK tests pass 2014-02-19 13:44:27 +04:00
konsoletyper
8988d4fc64 Removes unecessary dependency error when building JavaScriptBody support 2014-02-19 11:40:02 +04:00
konsoletyper
2c08f75b0a Alters JUnit plugin. Now it doesn't stop when dependency problems found,
but puts warning into log and into execution report of test
2014-02-19 11:15:22 +04:00
konsoletyper
be89d16e88 Further refactoring of dependency checker 2014-02-19 10:43:13 +04:00
konsoletyper
da35fbc2a9 Dependency checker refactoring 2014-02-18 23:50:54 +04:00
konsoletyper
5b76001a34 Adds json-tck tests 2014-02-18 17:53:55 +04:00
konsoletyper
ee28309008 Adds displaying of full dependency stack for each missing item 2014-02-18 14:20:48 +04:00
konsoletyper
6c903a916c Fixes illegal processing of DUP2, DUP_X1, DUP_X2m, DUP2_X2 instructions.
Makes more fancy list of missing items
2014-02-18 12:52:29 +04:00
konsoletyper
53e1ea3627 When missing some classes/methods/fields dependency checker throws
exception after checking, providing the full list of missing items.
2014-02-17 21:02:47 +04:00
konsoletyper
169ecb18c8 Adds integer conversion 2014-02-17 17:05:17 +04:00
konsoletyper
ae2ca37ee0 Adds type conversion from Java array and integer to JS array and number 2014-02-17 08:15:06 +04:00
konsoletyper
d310409db3 Fixes dependency checking of arrays 2014-02-14 16:19:51 +04:00
konsoletyper
cc3a89ebf7 Makes `started' dependency event to be emitted before any dependency
checking. Suppresses repeated ClassHolder transformation
2014-02-14 00:37:14 +04:00
konsoletyper
4dd9eaa1fd Adds a new dependency event that is emitted when dependency checker is
about to start. Adds ability to examine classes from generators.
2014-02-13 22:59:30 +04:00
konsoletyper
e5ea6b51a7 Moves JSObject and others into a separate project 2014-02-13 17:52:56 +04:00
konsoletyper
e13accc7e4 Adds pluggable system to extend TeaVM compiler 2014-02-13 17:22:25 +04:00
konsoletyper
8c4514a200 Refactoring. Adds devirtualization optimization 2014-02-12 23:41:17 +04:00
konsoletyper
99333f2370 Speed-up MULTIANEWARRAY. Temporarily disable typed arrays as they make
benchmark to pass slower
2014-02-11 12:28:37 +04:00
konsoletyper
e094fe4192 Adds emulation of Integer.parseInt 2014-02-10 16:34:40 +04:00
konsoletyper
8055edd547 Fixes issue with JSFunctor-annotated classes 2014-02-10 12:43:23 +04:00
konsoletyper
67bc76f89a Adds java.lang.Boolean emulation. Adds emulation of some of
java.lang.String methods. Fixes bug in register allocator.
2014-02-10 12:25:17 +04:00
Alexey Andreev
8a423c0d4f Adds support of *functors*. Adds benchmark from bck2brwsr 2014-02-09 14:27:32 +04:00
Alexey Andreev
48265c446f Adds possibility to implement JSObject ant pass it as a callback to a
method of another JSObject
2014-02-07 23:30:31 +04:00
konsoletyper
c9f78c5cdf Introduces concept of an *injector*. Uses injectors to make generated
JavaScript code neat.
2014-02-07 00:44:06 +04:00
konsoletyper
ae2e669ec3 Adds support of native JavaScript interaction 2014-02-06 17:51:51 +04:00
konsoletyper
b621b0524b Adds a skeleton of a new native interface to JavaScript 2014-02-06 13:00:46 +04:00
konsoletyper
6a626ec493 Renamings 2014-02-02 20:35:12 +04:00
konsoletyper
4c03e7d3cb Returns back old variable substitution 2014-01-31 22:25:24 +04:00
konsoletyper
ce0859beac AST optimizations and output code minification 2014-01-31 14:03:29 +04:00
konsoletyper
bc68602dae Remove .$class property and use built-in .constructor instead 2014-01-31 10:49:01 +04:00
konsoletyper
4c70cf6828 Fixes error generating minfied JS 2014-01-30 17:44:47 +04:00
konsoletyper
3496907f0e While eliminator 2014-01-30 17:36:56 +04:00
konsoletyper
692bfdd731 Fixes issues in if statement AST optimizer 2014-01-30 17:13:24 +04:00
konsoletyper
16d11909ea New AST optimization algorithm 2014-01-29 17:35:27 +04:00
konsoletyper
d93883296e Slightly improves AST optimizer 2014-01-28 17:29:36 +04:00
konsoletyper
24921c6e80 Support of multithreaded execution. Performance optimizations. 2014-01-28 16:46:40 +04:00
konsoletyper
0c240f5636 Refactoring of model to allow multithreaded optimization 2014-01-28 14:13:12 +04:00
konsoletyper
619c50729b Further optimization for multiple threads 2014-01-27 17:35:42 +04:00
konsoletyper
915add4d97 Multithreading support refactoring 2014-01-27 17:15:28 +04:00
konsoletyper
c9a891d9cd All tests pass with register allocation 2014-01-27 16:02:23 +04:00
konsoletyper
94fe8a0acf Fixes minor decompilation issues 2014-01-27 12:36:35 +04:00
konsoletyper
0eb4e54e51 Fixes register allocation bugs 2014-01-27 11:34:55 +04:00
konsoletyper
b7917f2511 Register allocator almost complete 2014-01-24 17:26:03 +04:00
konsoletyper
73884794a4 Bugfixes. Start to implement phi eliminator through interting copies for
all phi arguments and then coalescing.
2014-01-23 17:19:36 +04:00
konsoletyper
e5a083b4c7 Trying to implement register allocator with phi function elimination 2014-01-23 16:10:42 +04:00
konsoletyper
24d40c3c41 Fixes register allocator 2014-01-23 13:16:20 +04:00
konsoletyper
ba67c34b20 Adds interference graph builder 2014-01-22 16:43:36 +04:00
konsoletyper
161eb2b9c0 Removes "representative" property of variables in SSA form 2014-01-22 13:02:27 +04:00