1124 Commits

Author SHA1 Message Date
Volker Berlin
8d17e7cfc5 Use the Enum hack fpr all used enums. Before it was for the enums in the libraries 2022-03-19 22:12:30 +01:00
Volker Berlin
bf0b43fd1a The writer must be prepared before the types are written. 2022-03-19 22:08:43 +01:00
Volker Berlin
8ce6c1d919 Add also the result/stack if possible also if execution of the script is failing. 2022-03-19 20:37:20 +01:00
Volker Berlin
3e4d1794a4 correct method parameter names with debugging 2022-03-19 20:05:29 +01:00
Volker Berlin
b11ad30ecb Ignore native methods without import annotation in replacement classes as placeholder 2022-03-19 17:38:23 +01:00
Volker Berlin
9470db15b7 fix loop detection for nested loops 2022-03-19 17:35:18 +01:00
Volker Berlin
d42620ddf0 API doc 2022-03-13 17:54:56 +01:00
Volker Berlin
f52c41ae14 fix loop detection for nested loops 2022-03-13 14:16:31 +01:00
Volker Berlin
7823db2708 add the field name as comment on get/set 2022-03-08 16:21:58 +01:00
Volker Berlin
c44e24c373 API doc 2022-03-08 15:30:55 +01:00
Volker Berlin
69b8db16d1 call class initializer before access to static fields 2022-03-08 15:13:19 +01:00
Volker Berlin
710127bb44 Fix NULL values for INSTANCEOF and CAST. 2022-03-06 17:00:41 +01:00
Volker Berlin
91fafe3d24 Reduce cycle of static constructors 2022-03-06 14:41:53 +01:00
Volker Berlin
097dfae696 Add a hook to run the class/static constructor only once 2022-03-06 14:27:33 +01:00
Volker Berlin
28bf07567f Add setCopy()/getCopy() 2022-02-27 20:46:41 +01:00
Volker Berlin
3fd3c63351 share the LocaleVariableManager between multiple WasmCodeBuilder 2022-02-27 20:44:42 +01:00
Volker Berlin
9680ba6445 @Nonnull annotation 2022-02-27 19:27:10 +01:00
Volker Berlin
d629fbcd02 correct LOOP detection in an ELSE block 2022-02-20 18:32:07 +01:00
Volker Berlin
d4cf26ee05 docu 2022-02-20 18:29:13 +01:00
Volker Berlin
9f0f82bb06 Use also RETURN in the BranchManager to calculate the IF THEN ELSE blocks. 2022-02-19 22:15:56 +01:00
Volker Berlin
7f9353833e use again the latest WABT version. see https://github.com/WebAssembly/wabt/issues/1812 2022-02-19 12:58:52 +01:00
Volker Berlin
a28d966b94 Use variable slot instead variable index for duplicate of THIS of on virtual calls 2022-02-13 22:38:14 +01:00
Volker Berlin
1f045f312d Switch the parameter order for lambda expressions 2022-02-13 17:15:54 +01:00
Volker Berlin
84f2f45d4c fix WHILE loop after a return 2022-02-13 15:46:43 +01:00
Volker Berlin
86f95ad3bb fix WHILE loop after a return 2022-02-13 13:18:32 +01:00
Volker Berlin
8eac318ef8 Use hard-coded WABT pre-release until the latest WABT version is corrected. see https://github.com/WebAssembly/wabt/issues/1812 2022-01-30 14:53:27 +01:00
Volker Berlin
71d2b91895 fix a while loop in ELSE after an return. 2022-01-30 14:34:39 +01:00
Volker Berlin
cbcf9fdfbc use local variable for performance 2022-01-29 22:11:21 +01:00
Volker Berlin
ec7f23a35f Fix a loop inside an ELSE block 2022-01-23 16:48:40 +01:00
Volker Berlin
ff4f5f8151 temp variable are slots and not final indexes 2022-01-09 20:48:28 +01:00
Volker Berlin
7a65565659 API doc 2022-01-09 20:45:31 +01:00
Volker Berlin
048cbefc84 cache the pushValueType for performance improvement 2022-01-09 20:44:58 +01:00
Volker Berlin
4b63a98e40 does not reuse a variable if the slot is already reused with a different type. 2022-01-09 20:42:56 +01:00
Volker Berlin
3027f4f9b6 use 2 slots for 64 bit params from signature 2022-01-08 22:17:17 +01:00
Volker Berlin
2205c68a14 more stub methods in class Class 2022-01-08 21:13:05 +01:00
Volker Berlin
24ce6c67db more debug infos on scan 2022-01-08 21:11:48 +01:00
Volker Berlin
4453cc1c8f more method stubs for class Class 2022-01-02 21:21:01 +01:00
Volker Berlin
e71161302a Use the first replacement class version on the classpath. 2022-01-02 21:01:50 +01:00
Volker Berlin
2fa6dfedf8 fix typo in class name 2022-01-02 18:20:34 +01:00
Volker Berlin
39f714a50c fix more problems with concatenated conditional operators 2022-01-02 18:17:55 +01:00
Volker Berlin
27faeada39 fix concatenated conditional operators 2022-01-01 21:03:06 +01:00
Volker Berlin
db2444340e
Merge pull request #31 from Pospelove/patch-2
Minor grammar fixes in README.md
2021-12-28 21:15:06 +01:00
Leonid Pospelov
02c5fc079e
Update README.md 2021-12-28 02:30:17 +03:00
Volker Berlin
d68c74f032 Normalize empty THEN blocks to fix concated conditional operators 2021-12-26 20:17:15 +01:00
Volker Berlin
c9e34715c9 calculate the block return type also for simple BLOCKs 2021-11-21 16:29:10 +01:00
Volker Berlin
66172e593f fix pop count for BR_TABLE 2021-11-21 14:06:59 +01:00
Volker Berlin
d1732ceb1c improve calculating block return type 2021-11-20 21:45:59 +01:00
Volker Berlin
effd5813c9 Handle a GOTO instruction that come from a CONTINUE in a loop. 2021-11-16 21:28:11 +01:00
Volker Berlin
296df907b8
contributions 2021-11-16 12:25:15 +01:00
Volker Berlin
3204ac1b05
native methods 2021-11-16 11:54:35 +01:00