1
0
mirror of https://github.com/i-net-software/JWebAssembly.git synced 2025-03-16 02:48:51 +01:00

Commit Graph

  • 185a0515c7 supports also constructor replacement with a Java method Volker Berlin 2019-11-17 17:28:31 +01:00
  • ce1d3ddb38 improve the "ignore redefinition" in ClassPath. The first should win. Volker Berlin 2019-11-17 17:04:35 +01:00
  • b26b290464 write the stings into the data section Volker Berlin 2019-11-17 14:24:41 +01:00
  • 10b754e3e3 Use a Placeholder Instruction for Java DUP opertions. Volker Berlin 2019-11-16 19:17:22 +01:00
  • 8649438fa9 update Required WebAssembly Features Volker Berlin 2019-11-14 20:29:20 +01:00
  • 63a7c487c0 add support for locals in WatParser Volker Berlin 2019-11-12 20:47:57 +01:00
  • c6d569c66c add support for more const instructions on WatParser Volker Berlin 2019-11-12 20:06:31 +01:00
  • 8f36ed4d6d initial checkin for StringManager (WIP) Volker Berlin 2019-11-10 12:57:58 +01:00
  • 6d7c8b12a9 add support for ref.is_null to wat parser Volker Berlin 2019-11-09 18:59:47 +01:00
  • 5e2b65ddd0 static constructors Volker Berlin 2019-11-09 18:50:37 +01:00
  • 0ae27b2c86 add support for local.tee to wat parser Volker Berlin 2019-11-09 18:48:28 +01:00
  • baf7fb9cf0 Add table.set/get Volker Berlin 2019-11-03 19:00:49 +01:00
  • b47274e007 add @Override Volker Berlin 2019-11-03 18:04:45 +01:00
  • ca9efce370 constant pool can also contains string constants Volker Berlin 2019-11-03 13:52:07 +01:00
  • 4f79782bfe add table instructions Volker Berlin 2019-11-03 13:38:53 +01:00
  • 672574abd0 Rename anyfunc -> funcref Volker Berlin 2019-11-03 10:14:29 +01:00
  • 87039232eb export the memory with the name "memory" Volker Berlin 2019-11-02 19:20:28 +01:00
  • fac7e68b43 optimize the memory section, write only if needed Volker Berlin 2019-11-02 19:11:18 +01:00
  • 1dd644b67a Generalize the writing of the export section for future improvements Volker Berlin 2019-11-02 18:59:09 +01:00
  • 3f4462064d provide the wasm.exports to the JavaScript import functions for possible callbacks. Volker Berlin 2019-11-02 18:09:35 +01:00
  • ec96a8c9f8 Wabt has a slow release cycle then we can use ever the cached version. Volker Berlin 2019-11-02 16:43:49 +01:00
  • 6c0939f341 v128 added Volker Berlin 2019-11-02 12:22:10 +01:00
  • 2efe7768e2 Rename anyfunc -> funcref Volker Berlin 2019-11-02 12:11:10 +01:00
  • 5e880bab5b first string tests Volker Berlin 2019-10-29 18:56:39 +01:00
  • ebe1c27e9a Add support for outsourcing of a constructor to JavaScript Volker Berlin 2019-10-27 20:11:47 +01:00
  • 1fdcae5191 expand the hierarchy of SyntheticFunctionName for future improvements Volker Berlin 2019-10-27 19:41:43 +01:00
  • 9692b3b98f Accept also new functions in the cache after prepare finish to simplify the handling with unknown functions. Volker Berlin 2019-10-27 19:37:55 +01:00
  • 3c0199c000 fix parameter order for struct.set polyfill Volker Berlin 2019-10-26 12:26:35 +02:00
  • 431d5f5a4a parse InvokeDynamic constants Volker Berlin 2019-10-26 12:23:36 +02:00
  • 81c865706c Support NULL as test result. Volker Berlin 2019-10-20 14:43:05 +02:00
  • b3ac7c49fc tests for System.arraycopy Volker Berlin 2019-10-20 14:14:50 +02:00
  • 7518188ded String support Volker Berlin 2019-10-20 14:13:55 +02:00
  • b81ea073a9 Improve error message if there is not an expected number Volker Berlin 2019-10-20 12:43:26 +02:00
  • 833cd8c80a handle MODULE and PACKAGE constant on the pool (module-info.class) Volker Berlin 2019-10-14 21:51:54 +02:00
  • e0659a7033 update the status Volker Berlin 2019-10-14 21:50:32 +02:00
  • 023ea867a1 Add test for update a single byte Volker Berlin 2019-10-05 16:17:40 +02:00
  • 19a119d7f4 fix position of duplicating THIS on virtual method calls Volker Berlin 2019-10-05 16:15:18 +02:00
  • be12f047dd move some helper method into the parent Volker Berlin 2019-10-02 18:56:35 +02:00
  • ec898cad71 skip ELSE blocks on counting the stack Volker Berlin 2019-09-29 13:47:45 +02:00
  • 4f40976019 ignore redefinition replacements Volker Berlin 2019-09-29 11:44:01 +02:00
  • 41d45af53d Add CRC32 support Volker Berlin 2019-09-28 21:31:45 +02:00
  • ab284c2a84 remove test skip after wabt fix Volker Berlin 2019-09-26 17:25:36 +02:00
  • 432baef4b4 fix end detecting of ELSE block and sub structures in the THEN block. Volker Berlin 2019-09-25 22:32:41 +02:00
  • 40375316e2 detect some optimization of GOTO jumps Volker Berlin 2019-09-25 19:24:01 +02:00
  • c29d19178a remove additional parameter from copy/paste Volker Berlin 2019-09-24 20:03:28 +02:00
  • a0ddb00a73 pass the method with signature to the VariableManager as fallback Volker Berlin 2019-09-23 21:24:46 +02:00
  • 35c9845886 Split structs test for NonGC and GC script engines because the different implementation state Volker Berlin 2019-09-23 20:34:34 +02:00
  • d1bb7cac23 pass the method with signature to the VariableManager as fallback Volker Berlin 2019-09-23 20:33:21 +02:00
  • e3eb66efc9 Set flag --wasm-gc only for GC tests to improve performance. Volker Berlin 2019-09-22 17:09:12 +02:00
  • 53319942ae set initial values of non GC struct values Volker Berlin 2019-09-15 15:42:50 +02:00
  • f19423d53a evaluate the JavaScript lazy for more dynamic JavaScript (non GC polyfill) Volker Berlin 2019-09-15 15:38:32 +02:00
  • 2a5856971b Run the compiler also with SpiderMonkeyWatGC also if the script engine does not support arrays currently Volker Berlin 2019-09-15 10:50:45 +02:00
  • d17648a448 Split structs test for NonGC and GC script engines because the different implementation state Volker Berlin 2019-09-15 10:45:29 +02:00
  • 9a03a70e8f better error message Volker Berlin 2019-09-15 10:41:00 +02:00
  • 5295096d89 fix parameter order of nonGC polyfill call Volker Berlin 2019-09-14 22:59:12 +02:00
  • 6ddf5b1c85 write memory/data section also with nonGC polyfill Volker Berlin 2019-09-14 21:26:46 +02:00
  • c8e8c09a8e improve NonGC polyfill Volker Berlin 2019-09-14 15:22:25 +02:00
  • 9293bfa9f2 fix the signatures of the polyfill functions Volker Berlin 2019-09-13 21:05:47 +02:00
  • a458fd2c2a Move duplicated code from implementations of writeVirtualFunctionCall() into the caller WasmCallIndirectInstruction Volker Berlin 2019-09-13 20:34:44 +02:00
  • d4a2214131 Move duplicated code from implementations of writeVirtualFunctionCall() into the caller WasmCallIndirectInstruction Volker Berlin 2019-09-13 20:04:03 +02:00
  • 88b925fbde add script engine SpiderMonkeyWatGC Volker Berlin 2019-09-12 21:54:35 +02:00
  • 5437ed54ed call ref_eq polyfill in non gc mode Volker Berlin 2019-09-11 20:32:36 +02:00
  • 09e31f3f5a fix C&P error of return value from ref_eq Volker Berlin 2019-09-11 20:01:42 +02:00
  • b2f1fbc195 call ref_eq polyfill in non gc mode Volker Berlin 2019-09-10 21:41:50 +02:00
  • 50f10f1f47 move debugNames into WasmOptions Volker Berlin 2019-09-10 17:52:14 +02:00
  • b4d2f6caa2 use WasmOptions on more places for consistency Volker Berlin 2019-09-10 17:49:05 +02:00
  • c1041325b7 add WasmOptions to reduce boilerplate code Volker Berlin 2019-09-09 21:07:45 +02:00
  • 713020ef60 add "ref_eq" polyfill function Volker Berlin 2019-09-08 21:45:28 +02:00
  • c5d514de73 prepare also script engines which currently are skipped Volker Berlin 2019-09-08 19:10:31 +02:00
  • 4e3c11553f prepare the polyfill of struct/Object instruction Volker Berlin 2019-09-08 13:55:22 +02:00
  • c029ef2a88 run the right scripts with ScriptEngine.SpiderMonkeyGC Volker Berlin 2019-09-08 13:40:24 +02:00
  • ebf3673ef6 Prepare support for SyntheticFunctionName for imported JavaScript functions Volker Berlin 2019-09-07 21:24:17 +02:00
  • 7c2d276de2 If nonGC mode then StructType has also a negative code type of anyref. Volker Berlin 2019-09-07 19:52:10 +02:00
  • 425e14c6b6 Object array must be filled with NULL Volker Berlin 2019-09-02 18:07:00 +02:00
  • 617301b165 Add 'use strict' to the Java script glue code to prevent mistakes. Volker Berlin 2019-09-02 16:14:17 +02:00
  • 4d45d92824 use native methods for imports to simplify Volker Berlin 2019-08-28 20:30:31 +02:00
  • c029c48be5 Add a test with enabled GC Volker Berlin 2019-08-27 20:44:27 +02:00
  • 6ea1955886 Fix the stack value of array new. Volker Berlin 2019-08-27 20:41:00 +02:00
  • fd0a22121c reorder the script engines for testing Volker Berlin 2019-08-27 18:25:31 +02:00
  • 8cd9d16a33 fix parsing of i8 and i16 arrays Volker Berlin 2019-08-26 20:10:49 +02:00
  • 724ead3742 add len() for i8 and i16 arrays Volker Berlin 2019-08-26 20:08:18 +02:00
  • 8c1792329e fix dead lock with larger debug output Volker Berlin 2019-08-25 20:23:55 +02:00
  • 083ebf263e improve the type handling of arrays Volker Berlin 2019-08-21 20:52:12 +02:00
  • 572d4d6c1f Rename except_ref to exnref Volker Berlin 2019-08-21 19:07:59 +02:00
  • 75c42db525 remove skip, SM bug was fixed. Volker Berlin 2019-08-14 20:13:06 +02:00
  • 0b28099674 Add ArrayType and improve the Java type parser. Volker Berlin 2019-08-14 20:07:39 +02:00
  • dd9f03df99 API dependency is needed for import annotation Volker Berlin 2019-08-11 14:44:24 +02:00
  • 010362e7d0 Enable the Array tests with the GC from the JavaScript host. Volker Berlin 2019-08-11 13:12:50 +02:00
  • 32e609b32f use GC Feature of the JavaScript host for arrays as replacement for the missing GC feature in WASM Volker Berlin 2019-08-11 13:11:22 +02:00
  • 7667c1a080 rename ArrayOpertion.LENGTH -> LEN for more consistency Volker Berlin 2019-08-11 13:06:31 +02:00
  • 3058348787 add constant for "wasm.use_gc" Volker Berlin 2019-08-11 13:02:31 +02:00
  • 615efbd11f use class and method name as default import setting if not set Volker Berlin 2019-08-09 21:58:42 +02:00
  • 5883adc2af pass the compiler properties to sub classes Volker Berlin 2019-08-08 19:28:27 +02:00
  • 9faeb626a9 fix file name of JavaScript output with text output format. Volker Berlin 2019-08-08 18:23:44 +02:00
  • 20d2b7f44e improve error messages Volker Berlin 2019-08-08 17:47:57 +02:00
  • 8c199b5157 more Math tests Volker Berlin 2019-08-04 19:32:18 +02:00
  • c66d7748a4 improve error message Volker Berlin 2019-08-04 19:29:36 +02:00
  • fd24d852ee cast only to AnyType Volker Berlin 2019-08-04 18:47:02 +02:00
  • 5a08ecf122 fix copy paste error Volker Berlin 2019-08-04 17:28:03 +02:00
  • 6a9800f2ef More Math functions tests Volker Berlin 2019-08-03 20:54:46 +02:00