1139 Commits

Author SHA1 Message Date
Volker Berlin
593c1ee50a api doc 2022-04-17 20:38:34 +02:00
Volker Berlin
128906e4ef add support for global.get/set for the WatParser 2022-04-16 17:31:48 +02:00
Volker Berlin
0dfb7c4a34 add forName(String,ClassLoader) and cast(Object) 2022-04-16 17:27:02 +02:00
Volker Berlin
9c7b69b2a7 Block duplicate export names 2022-04-10 11:35:20 +02:00
Volker Berlin
ee8e9c797e documentation link 2022-04-10 10:56:52 +02:00
Volker Berlin
a6b8862e25 Add support for callbacks in import annotations. 2022-04-03 13:58:43 +02:00
Volker Berlin
d8a1d6abf0 release candidate 2022-04-03 13:46:35 +02:00
Volker Berlin
4ceea41ebc remove bintrayUpload 2022-03-27 13:11:43 +02:00
Volker Berlin
d57b8bc00c Emuns and Collection framework work now v0.4 2022-03-20 18:54:20 +01:00
Volker Berlin
c2231241ab remove debug code 2022-03-20 18:28:37 +01:00
Volker Berlin
04fc77e8f7 micro optimizing 2022-03-20 18:17:24 +01:00
Volker Berlin
379d2e5c27 Enums is working now 2022-03-20 18:09:06 +01:00
Volker Berlin
09ab338aa7 correct type hierarchy in isSubTypeOf() 2022-03-20 18:06:08 +01:00
Volker Berlin
1f51fbf036 API doc 2022-03-20 18:02:09 +01:00
Volker Berlin
4fbce5800c use node version 17.0.0-v8-canary2021.10.19 2022-03-20 17:58:57 +01:00
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