Commit Graph

1376 Commits

Author SHA1 Message Date
Alexey Andreev
0d6d4e7e41 Add constant condition elimination 2016-09-17 08:42:54 +03:00
Alexey Andreev
7b31def2b4 Improve GVN to evaluate constants 2016-09-17 08:42:54 +03:00
Alexey Andreev
ea9605e518 When removing empty if statements, extract expressions with side effects from its condition 2016-09-17 08:42:54 +03:00
Alexey Andreev
19625034c4 Implementing inlining 2016-09-17 08:42:54 +03:00
Alexey Andreev
b7072c1c10 Repeat optimizations until profitable. Add optimizations that removes unnecessary <clinit> invocations 2016-09-17 08:42:54 +03:00
Alexey Andreev
4bfc08e946 Fix bug in code that determines whether inversion of a loop is profitable 2016-09-17 08:42:54 +03:00
Alexey Andreev
ee1b1035d2 Fix strange bug 2016-09-17 08:42:54 +03:00
Alexey Andreev
d912ba4af3 Invert loops only when it's profitable (causes invariants to dominate exits). Improve LICM to move invariants with side effects 2016-09-17 08:42:54 +03:00
Alexey Andreev
7668ef66fb Fix phi updater 2016-09-17 08:42:54 +03:00
Alexey Andreev
85cbb4a75c Further work on incremental phi updater 2016-09-17 08:42:51 +03:00
Alexey Andreev
fd7ff3d538 Add artifacts to the resolution process of debug sources 2016-09-12 16:37:31 +03:00
Alexey Andreev
c5548dfa59 Merge pull request #218 from skapral/missing-runtime
Added missing classes/methods from Java SE Runtime
2016-08-27 10:22:16 +03:00
Alexey Andreev
ab3d8607d9 Merge pull request #217 from sba1/nano-time-fix
Fix ms to ns conversion.
2016-08-27 10:20:21 +03:00
Sergey Kapralov
d1ade89ed4 TMap new methods are covered with tests 2016-08-25 17:12:03 +03:00
Sergey Kapralov
6b950e618e Applied minor remarks. 2016-08-25 11:30:53 +03:00
Sergey Kapralov
ec2a52900e TMap.compute fixed and tested 2016-08-25 11:13:08 +03:00
Sergey Kapralov
dc4a937262 Added missing map methods 2016-08-23 10:41:25 +03:00
Sergey Kapralov
035c616b5e added TStaskOverflowError 2016-08-23 10:41:18 +03:00
Sebastian Bauer
9a1c6fe5b9 Fix ms to ns conversion. 2016-08-19 20:35:34 +02:00
Alexey Andreev
50ac08fce4 Merge branch 'master' of https://github.com/konsoletyper/teavm 2016-08-18 21:34:56 +03:00
Alexey Andreev
559f7f7e42 Fix ByteArrayInputStream.read. Fix https://github.com/konsoletyper/teavm/issues/213 2016-08-18 21:34:18 +03:00
Alexey Andreev
49fda4ec4e Merge pull request #215 from sba1/array-list-performance-fix
Use max() instead of min() when enlarging the array.
2016-08-18 21:12:38 +03:00
Sebastian Bauer
b03ba67a88 Use max() instead of min() when enlarging the array.
Adding n elements subsequently has now an O(n) running time while it was
O(n^2) before.
2016-08-18 20:09:48 +02:00
Alexey Andreev
9d2e9d7911 Fix Uint16Array constructors. Fix https://github.com/konsoletyper/teavm/issues/209 2016-08-18 12:09:18 +03:00
Alexey Andreev
6b6c968aea Make bytecode parser to cache method references to reduce memory consumption 2016-07-28 23:51:39 +03:00
Alexey Andreev
a3f60996e2 Fix https://github.com/konsoletyper/teavm/issues/196 2016-07-28 22:23:39 +03:00
Alexey Andreev
125ccf48e9 Merge pull request #201 from zufarfakhurtdinov/animation-frame
add missed jso methods
2016-07-08 21:24:16 +03:00
Zufar Fakhurtdinov
2c2f1d5aff add missed jso methods 2016-07-08 20:56:01 +03:00
Alexey Andreev
2e8a2fcfc0 Merge pull request #197 from zufarfakhurtdinov/update-archetype
update archetype web.xml to version 3.1
2016-06-28 21:55:04 +03:00
Zufar Fakhurtdinov
c3d5773e13 update archetype web.xml to version 3.1 2016-06-28 20:29:02 +03:00
Alexey Andreev
a2e1fbdeb8 Implement TeaVM debugger in IDEA 2016-06-25 23:43:29 +03:00
Alexey Andreev
bad97d70de Implement TeaVM debugger in IDEA 2016-06-25 23:04:53 +03:00
Alexey Andreev
6e2eb8386b Repair information about variable names in debug tables 2016-06-25 18:58:45 +03:00
Alexey Andreev
feafa032df Merge branch 'master' into idea-plugin 2016-06-25 15:59:52 +03:00
Alexey Andreev
6261ed03c6 Merge pull request #193 from Wolftein/master
Added missing JSO interfaces.
2016-06-24 16:05:48 +03:00
Wolftein
284997f59d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	jso/apis/src/main/java/org/teavm/jso/webaudio/AudioContext.java
2016-06-24 09:25:41 -03:00
Wolftein
fe93b913de Fixed AudioContext's constants. 2016-06-24 09:25:05 -03:00
Wolftein
935f589da7 Fixed source. 2016-06-24 08:51:55 -03:00
Wolftein
635097f4d2 Forgot to attach WheelEventTarget to HTMLELement. 2016-06-24 08:51:55 -03:00
Wolftein
bd7824b3e2 Added missing WheelEvent fixes konsoletyper/teavm#192.
Added missing JSO interface for DataView.
Added missing JSO interfaces for WebAudio.
2016-06-24 08:51:55 -03:00
Alexey Andreev
92c6e5084d Trying to configure travis to get test passes 2016-06-24 06:18:56 +03:00
Alexey Andreev
ad7aacfd77 Trying to configure travis to get test passes 2016-06-24 06:10:37 +03:00
Alexey Andreev
4369fb9b66 Trying to configure travis to get test passes 2016-06-24 05:57:28 +03:00
Alexey Andreev
5395783e55 Trying to configure travis to get test passes 2016-06-24 05:46:21 +03:00
Alexey Andreev
18c0ebcd04 Fix code to pass checkstyle. Trying to fix travis configuration 2016-06-24 05:23:41 +03:00
Wolftein
88f4963495 Fixed source. 2016-06-23 18:57:59 -03:00
Wolftein
36eb642e36 Forgot to attach WheelEventTarget to HTMLELement. 2016-06-23 17:53:27 -03:00
Wolftein
6944ca9ad6 Added missing WheelEvent fixes konsoletyper/teavm#192.
Added missing JSO interface for DataView.
Added missing JSO interfaces for WebAudio.
2016-06-23 17:38:06 -03:00
Alexey Andreev
9fc6f02875 Further work on incremental phi updater 2016-06-05 23:06:09 +03:00
Alexey Andreev
d196eb9864 Further work on incremental phi updater 2016-06-05 20:58:23 +03:00