1220 Commits

Author SHA1 Message Date
Volker Berlin
1d342d8d88 Unsafe tests for AtomicLong 2022-10-16 21:45:58 +02:00
Volker Berlin
4aa282176e
Unsafe code for atomic long 2022-10-16 21:44:29 +02:00
Volker Berlin
d7b9d80648
i64.add 2022-10-16 20:44:55 +02:00
Volker Berlin
9b3bf52173
Default values for long must in JavaScript 0n else it can't be converted to wasm i64. 2022-10-16 20:24:36 +02:00
Volker Berlin
2cdb0244d1
more Unsafe replacements 2022-10-16 20:04:38 +02:00
Volker Berlin
d58c75e0ed
add i64.eq 2022-10-16 20:03:56 +02:00
Volker Berlin
579288d663
more Java 11 Unsafe replacements 2022-10-02 20:25:36 +02:00
Volker Berlin
577d2883c9
Some Unsafe stuff for Java 11 2022-10-01 22:40:11 +02:00
Volker Berlin
86004bfb4c
Add UnsafeManager 2022-09-29 13:32:04 +02:00
Volker Berlin
8b20e21725
Add a getValue() to dup instruction 2022-09-29 13:25:56 +02:00
Volker Berlin
4c262a2ad1
Fix download after changes on the github site. 2022-09-28 19:45:22 +02:00
Volker Berlin
4a802a8b15
Add support for Wat instruction struct.set 2022-09-28 16:02:55 +02:00
Volker Berlin
d9e78ef414
Add WasmConstClassInstruction 2022-09-18 16:08:35 +02:00
Volker Berlin
69ce777ec0
Add WasmConstClassInstruction 2022-09-18 16:06:01 +02:00
Volker Berlin
c62615b425
Add a separate String instruction 2022-09-18 13:04:08 +02:00
Volker Berlin
4cc13dd99f
toString() for debugging 2022-09-18 13:00:00 +02:00
Volker Berlin
fbd6027055
toString() for debugging 2022-09-17 16:51:54 +02:00
Volker Berlin
60d24f2feb
Fix StrucType.isSubTypeOf() for sub interfaces. 2022-09-03 20:47:49 +02:00
Volker Berlin
6294172dbc
parse Bootstarp of java/lang/invoke/StringConcatFactory for Java 11 2022-09-03 18:15:55 +02:00
Volker Berlin
e4692a4e52
enable assertion 2022-08-01 20:02:59 +02:00
Volker Berlin
7d2152a5df
Fix complex catch blocks with reverse multiple catch 2022-08-01 19:52:10 +02:00
Volker Berlin
50ca777dc3
Lambdas with parameters had one value too many on the stack. 2022-07-31 20:38:04 +02:00
Volker Berlin
82cf49aa41
fix lambda expressions with field access 2022-07-31 13:33:24 +02:00
Volker Berlin
024be2c50c
fix lambda expressions with field access 2022-07-31 12:00:07 +02:00
Volker Berlin
fbbbae0980
remove debug code 2022-07-31 11:39:56 +02:00
Volker Berlin
f8a79c16e0
Fix complex catch blocks with multiple catch 2022-07-29 22:15:39 +02:00
Volker Berlin
5013f2f819
fix wrong block return type calculation with synchronized 2022-07-27 21:21:03 +02:00
Volker Berlin
f5e8e48356
fix NPE with "IgnoreNative" 2022-07-27 19:48:49 +02:00
Volker Berlin
c6fc938a3d
Give CATCH blocks the right order with finally most outer block. 2022-07-26 21:25:09 +02:00
Volker Berlin
855713a519
fix CONTINUE in a CATCH block 2022-07-24 14:29:32 +02:00
Volker Berlin
4722445f24
clean code, remove unused code 2022-07-23 19:58:56 +02:00
Volker Berlin
fd3c698ef5
correct the end position of CATCH blocks 2022-07-18 21:23:28 +02:00
Volker Berlin
bf7518e5d4
Fix ConcurentModificationException 2022-07-18 20:20:53 +02:00
Volker Berlin
a32b3af059
revert registering function StringTable.stringConstant 2022-07-17 20:56:45 +02:00
Volker Berlin
3e5d966548
Use @Partial for ReplacementForClass 2022-07-17 19:54:05 +02:00
Volker Berlin
94be918c36
Add support for native methods with @WasmTextCode in @Partial classes 2022-07-17 19:49:04 +02:00
Volker Berlin
c2655dbce2
Fix compound IF that continue a loop 2022-07-17 19:46:12 +02:00
Volker Berlin
a5e4b6a353
more method stubs from Class 2022-07-16 23:11:53 +02:00
Volker Berlin
56ac30b3b1
Replacement for asSubclass() 2022-07-16 21:59:51 +02:00
Volker Berlin
0ff60a2809
A middle block should not start at beginning of a CATCH block 2022-07-16 15:17:59 +02:00
Volker Berlin
e512ee4e65
Detect more block overlapping for IF instructions. 2022-07-10 15:55:31 +02:00
Volker Berlin
28cc29a30a
add stub for getModifiers() 2022-06-26 22:07:23 +02:00
Volker Berlin
9da6d8e736
Add the compiler flag "IgnoreNative" to generate stubs for rall not replaced, referenced native methods. #43 2022-06-26 17:36:30 +02:00
Volker Berlin
330634ea7f
fix TRY CATCH inside a loop without end marker. 2022-06-26 16:19:40 +02:00
Volker Berlin
b43c27cb8e
remove obsolete elseEndPos 2022-06-19 20:30:15 +02:00
Volker Berlin
9d1c9ee93b
expand a loop if there is a SWICH structure that point outside the loop. #43 2022-06-19 16:20:17 +02:00
Volker Berlin
47c28f7d46
use for IF conditions also a block with input parameter to prevent problems with not splitable instruction like DUP (Java) or TEE (Wasm) #43 2022-06-19 14:09:49 +02:00
Volker Berlin
2b27364466
@Nonnull 2022-06-19 14:04:21 +02:00
Volker Berlin
aa6a851db4
Write block types without newlines. 2022-06-19 13:31:30 +02:00
Volker Berlin
511d31af67
Add support for a block with input and return type. 2022-06-18 19:47:43 +02:00