631 Commits

Author SHA1 Message Date
Volker Berlin
833cd8c80a handle MODULE and PACKAGE constant on the pool (module-info.class) 2019-10-14 21:51:54 +02:00
Volker Berlin
e0659a7033 update the status 2019-10-14 21:50:32 +02:00
Volker Berlin
023ea867a1 Add test for update a single byte 2019-10-05 16:17:40 +02:00
Volker Berlin
19a119d7f4 fix position of duplicating THIS on virtual method calls 2019-10-05 16:15:18 +02:00
Volker Berlin
be12f047dd move some helper method into the parent 2019-10-02 18:56:35 +02:00
Volker Berlin
ec898cad71 skip ELSE blocks on counting the stack 2019-09-29 13:47:45 +02:00
Volker Berlin
4f40976019 ignore redefinition replacements 2019-09-29 11:44:01 +02:00
Volker Berlin
41d45af53d Add CRC32 support 2019-09-28 21:31:45 +02:00
Volker Berlin
ab284c2a84 remove test skip after wabt fix 2019-09-26 17:25:36 +02:00
Volker Berlin
432baef4b4 fix end detecting of ELSE block and sub structures in the THEN block. 2019-09-25 22:32:41 +02:00
Volker Berlin
40375316e2 detect some optimization of GOTO jumps 2019-09-25 19:24:01 +02:00
Volker Berlin
c29d19178a remove additional parameter from copy/paste 2019-09-24 20:03:28 +02:00
Volker Berlin
a0ddb00a73 pass the method with signature to the VariableManager as fallback 2019-09-23 21:24:46 +02:00
Volker Berlin
35c9845886 Split structs test for NonGC and GC script engines because the different implementation state 2019-09-23 20:34:34 +02:00
Volker Berlin
d1bb7cac23 pass the method with signature to the VariableManager as fallback 2019-09-23 20:33:21 +02:00
Volker Berlin
e3eb66efc9 Set flag --wasm-gc only for GC tests to improve performance. 2019-09-22 17:09:12 +02:00
Volker Berlin
53319942ae set initial values of non GC struct values 2019-09-15 15:42:50 +02:00
Volker Berlin
f19423d53a evaluate the JavaScript lazy for more dynamic JavaScript (non GC polyfill) 2019-09-15 15:38:32 +02:00
Volker Berlin
2a5856971b Run the compiler also with SpiderMonkeyWatGC also if the script engine does not support arrays currently 2019-09-15 10:50:45 +02:00
Volker Berlin
d17648a448 Split structs test for NonGC and GC script engines because the different implementation state 2019-09-15 10:45:29 +02:00
Volker Berlin
9a03a70e8f better error message 2019-09-15 10:41:00 +02:00
Volker Berlin
5295096d89 fix parameter order of nonGC polyfill call 2019-09-14 22:59:12 +02:00
Volker Berlin
6ddf5b1c85 write memory/data section also with nonGC polyfill 2019-09-14 21:26:46 +02:00
Volker Berlin
c8e8c09a8e improve NonGC polyfill 2019-09-14 15:22:25 +02:00
Volker Berlin
9293bfa9f2 fix the signatures of the polyfill functions 2019-09-13 21:05:47 +02:00
Volker Berlin
a458fd2c2a Move duplicated code from implementations of writeVirtualFunctionCall() into the caller WasmCallIndirectInstruction 2019-09-13 20:34:44 +02:00
Volker Berlin
d4a2214131 Move duplicated code from implementations of writeVirtualFunctionCall() into the caller WasmCallIndirectInstruction 2019-09-13 20:04:03 +02:00
Volker Berlin
88b925fbde add script engine SpiderMonkeyWatGC 2019-09-12 21:54:35 +02:00
Volker Berlin
5437ed54ed call ref_eq polyfill in non gc mode 2019-09-11 20:32:36 +02:00
Volker Berlin
09e31f3f5a fix C&P error of return value from ref_eq 2019-09-11 20:01:42 +02:00
Volker Berlin
b2f1fbc195 call ref_eq polyfill in non gc mode 2019-09-10 21:41:50 +02:00
Volker Berlin
50f10f1f47 move debugNames into WasmOptions 2019-09-10 17:52:14 +02:00
Volker Berlin
b4d2f6caa2 use WasmOptions on more places for consistency 2019-09-10 17:49:05 +02:00
Volker Berlin
c1041325b7 add WasmOptions to reduce boilerplate code 2019-09-09 21:07:45 +02:00
Volker Berlin
713020ef60 add "ref_eq" polyfill function 2019-09-08 21:45:28 +02:00
Volker Berlin
c5d514de73 prepare also script engines which currently are skipped 2019-09-08 19:10:31 +02:00
Volker Berlin
4e3c11553f prepare the polyfill of struct/Object instruction 2019-09-08 13:55:22 +02:00
Volker Berlin
c029ef2a88 run the right scripts with ScriptEngine.SpiderMonkeyGC 2019-09-08 13:40:24 +02:00
Volker Berlin
ebf3673ef6 Prepare support for SyntheticFunctionName for imported JavaScript functions 2019-09-07 21:24:17 +02:00
Volker Berlin
7c2d276de2 If nonGC mode then StructType has also a negative code type of anyref. 2019-09-07 19:52:10 +02:00
Volker Berlin
425e14c6b6 Object array must be filled with NULL 2019-09-02 18:07:00 +02:00
Volker Berlin
617301b165 Add 'use strict' to the Java script glue code to prevent mistakes. 2019-09-02 16:14:17 +02:00
Volker Berlin
4d45d92824 use native methods for imports to simplify 2019-08-28 20:30:31 +02:00
Volker Berlin
c029c48be5 Add a test with enabled GC 2019-08-27 20:44:27 +02:00
Volker Berlin
6ea1955886 Fix the stack value of array new. 2019-08-27 20:41:00 +02:00
Volker Berlin
fd0a22121c reorder the script engines for testing 2019-08-27 18:25:31 +02:00
Volker Berlin
8cd9d16a33 fix parsing of i8 and i16 arrays 2019-08-26 20:10:49 +02:00
Volker Berlin
724ead3742 add len() for i8 and i16 arrays 2019-08-26 20:08:18 +02:00
Volker Berlin
8c1792329e fix dead lock with larger debug output 2019-08-25 20:23:55 +02:00
Volker Berlin
083ebf263e improve the type handling of arrays 2019-08-21 20:52:12 +02:00