Commit Graph

142 Commits

Author SHA1 Message Date
konsoletyper
04de57627f Fixes dependency propagation of exceptions 2014-03-02 10:05:56 +04:00
konsoletyper
8541e40f36 Adds exception type propagation 2014-03-01 22:19:24 +04:00
konsoletyper
d68f78f77d Adds NullCheckInstruction 2014-03-01 19:01:27 +04:00
konsoletyper
4c36ab9db1 Reduces amount of generated code 2014-03-01 18:05:04 +04:00
konsoletyper
f4fd2d884f Fixes devirtualization optimization 2014-03-01 16:58:38 +04:00
konsoletyper
cc8d2b8903 TCK passes some more tests 2014-02-28 14:16:23 +04:00
konsoletyper
ce4f6dc5d5 Adds some JCL dependencies required by html4j 2014-02-28 13:40:55 +04:00
konsoletyper
5c613d2f7f Implements Double.parseDouble. Fixes bugs. Disabled devirtualization
optimization due to bugs
2014-02-27 16:06:22 +04:00
konsoletyper
b4347b4eb8 Adds optional support of throwing NPE when calling method on null
instance
2014-02-27 10:04:51 +04:00
konsoletyper
43acca8706 Fixes incorrect optimization of try/catch statements 2014-02-26 22:02:09 +04:00
konsoletyper
1f18148144 Removes exception handlers in a special case when exception handler is
exactly at the start of a protected block
2014-02-26 21:45:58 +04:00
konsoletyper
a4f477329d Fixes bugs in try/catch 2014-02-26 17:54:25 +04:00
konsoletyper
ea3e6adb64 Adds VM test that verifies that exceptions are caught 2014-02-26 17:14:08 +04:00
konsoletyper
62686878c6 Adds try/catch support in simple cases 2014-02-26 16:42:31 +04:00
konsoletyper
de245613c4 Parser supports try/catch blocks 2014-02-26 13:26:33 +04:00
konsoletyper
d5fac392d3 Adds try/catch block to model 2014-02-25 21:36:45 +04:00
konsoletyper
03bc2e2e07 Adds support of java.io.BufferedReader and java.io.StringReader 2014-02-25 12:41:00 +04:00
konsoletyper
8cbb6477cb Adds test coverage of InputStreamReader 2014-02-24 19:43:11 +04:00
konsoletyper
7782f1edb7 Small improvements 2014-02-24 15:00:30 +04:00
konsoletyper
0004babe65 Bugfixes and improvements, trying to launch Knockout4Java 2014-02-24 13:07:06 +04:00
konsoletyper
d34e26e970 Adds java.util.ServiceLoader support 2014-02-24 00:50:06 +04:00
konsoletyper
3195879467 Adds support of Class.getDeclaringClass method 2014-02-23 23:17:30 +04:00
konsoletyper
9cdc099b1a Adds simple support of Class.forName and class.newInstance 2014-02-23 21:14:10 +04:00
konsoletyper
5c03e7547f Avoids swap problem when eliminating phi functions and therefore gets
back global value numbering optimization
2014-02-22 23:20:30 +04:00
konsoletyper
7831ade3a6 Fixes infinite loop in dependency checker in some cases 2014-02-21 19:47:51 +04:00
konsoletyper
a353a05e23 Fixes dependency checker bug 2014-02-21 19:29:45 +04:00
konsoletyper
e2d872fa20 Fixes dependency checking when casting arrays 2014-02-21 17:34:49 +04:00
konsoletyper
90a077fc34 Fixes dependency checker bug 2014-02-21 17:10:28 +04:00
konsoletyper
31b9525309 Fixes bugs. Adds JCL implementation 2014-02-21 15:07:37 +04:00
konsoletyper
59e6095fef Adds linking phase that for each method invocation places a proper
reference, possibly inherited from superclass. Adds tests on ArrayList
2014-02-21 10:36:44 +04:00
konsoletyper
f63d0cd8d0 Adds complete enum support 2014-02-20 11:58:44 +04:00
konsoletyper
f3ae632786 Adds implementations of some JCL classes 2014-02-20 00:53:44 +04:00
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