1
0
mirror of https://github.com/i-net-software/JWebAssembly.git synced 2025-03-22 22:32:22 +01:00

904 Commits

Author SHA1 Message Date
Volker Berlin
6bd993617c fix the order of parameters on the stack for array.get/set 2021-01-02 20:48:29 +01:00
Volker Berlin
46b09a05bd fix declaring of array types in binary format 2021-01-02 18:18:28 +01:00
Volker Berlin
f9de14d88e improve array handling for GC mode 2021-01-02 16:44:38 +01:00
Volker Berlin
c96b27a12e declare the native array type with GC enabled 2020-12-27 17:39:35 +01:00
Volker Berlin
26ec7ece48 Handle different versions of a class in the library path 2020-12-12 20:42:46 +01:00
Volker Berlin
2c0db289cd match eqref also to "java/lang/Object" like externref 2020-12-08 20:56:20 +01:00
Volker Berlin
58d6cbc4de Does not register primitive types as StructType in wasm 2020-09-30 20:17:15 +02:00
Volker Berlin
71b28f1d47 use real type code for arrays 2020-09-27 14:04:07 +02:00
Volker Berlin
1c84eac0dc implements java/lang/reflect/Array.newInstance 2020-09-27 13:17:58 +02:00
Volker Berlin
a74563c5d1 separate the native WASM code in a separate package 2020-09-26 18:43:41 +02:00
Volker Berlin
ad1ea166dd Switch to the latest GC coding of V8 2020-09-26 15:59:57 +02:00
Volker Berlin
856194dbce fix type handling for NUL values with GC support 2020-09-24 21:46:02 +02:00
Volker Berlin
77d81e3f13 API doc 2020-09-24 20:56:54 +02:00
Volker Berlin
b14a1f3202 API doc 2020-09-24 20:55:14 +02:00
Volker Berlin
3cf999510b semicolon is not a valid name character, can occur in array class names 2020-09-24 20:30:53 +02:00
Volker Berlin
b9a904ab42 Fix array class name for more complex object arrays 2020-09-23 19:47:06 +02:00
Volker Berlin
0d7beb611b docu 2020-09-23 19:45:00 +02:00
Volker Berlin
f40173a7f6 Replacement for Array.getLength(x) 2020-09-20 14:00:41 +02:00
Volker Berlin
622fd5d63c use constants for primitive type IDs 2020-09-20 13:59:13 +02:00
Volker Berlin
0290a5f8e4 Add support for Wat instruction array.len 2020-09-20 13:53:57 +02:00
Volker Berlin
de55f414b0 some improvements for GC 2020-09-17 21:07:09 +02:00
Volker Berlin
1fc21e4033 remove annotation 2020-08-18 08:27:19 +02:00
Volker Berlin
be56c02b15 improve array handling with GC 2020-08-09 19:19:58 +02:00
Volker Berlin
28b03b05c2 declare array types only once; add "value" field to array with GC objects 2020-08-09 15:24:10 +02:00
Volker Berlin
54ad287ed6 array bracket are not valid in Wasm identifiers. 2020-08-09 15:22:26 +02:00
Volker Berlin
3e9a8b1460 fix findValueTypeFromStack after a CAST 2020-08-08 23:20:09 +02:00
Volker Berlin
63c7d09cdc returns type SyntheticFunctionName for instanceof and cast function 2020-08-08 22:42:20 +02:00
Volker Berlin
dcdb30c2c3 remove old polyfill functions 2020-08-07 22:02:51 +02:00
Volker Berlin
13e99875b0 implements class name for array objects 2020-07-08 20:54:16 +02:00
Volker Berlin
f785c1025d use getVTable() for vtable 2020-07-05 22:27:31 +02:00
Volker Berlin
c29ed6340c Use also the object model with vtable and hashcode for array objects. 2020-07-05 14:08:46 +02:00
Volker Berlin
13ffea0ca9 rename JavaScriptNewMultiArrayFunctionName --> MultiArrayFunctionName 2020-07-05 14:02:31 +02:00
Volker Berlin
3403cc4f17 Fix order of parameters types for array_set_xxx 2020-07-05 13:53:51 +02:00
Volker Berlin
02b2d9fcbb fix the new polyfill array functions 2020-07-02 21:19:28 +02:00
Volker Berlin
6d2a90785c remove type annotation from ref.is_null. Disable node until a new v8 canary version is available. 2020-06-29 21:00:47 +02:00
Volker Berlin
e4f90cae6f preparing for getClass() and hashCode() on array objects, WIP 2020-06-21 13:48:06 +02:00
Volker Berlin
852bb25158 pass the component class index 2020-06-20 11:54:51 +02:00
Volker Berlin
1d3db1135b switch from anyref to eqref for GC code 2020-06-14 17:11:46 +02:00
Volker Berlin
999656e3bb add eqz to getPushValueType and getPopCount. see 2020-06-14 14:37:34 +02:00
Volker Berlin
890b3ec0df Adapt some GC changes 2020-06-13 19:51:33 +02:00
Volker Berlin
b6238124c7 Replace gradle node plugin and switch to V8 canary. 2020-06-07 12:00:40 +02:00
Volker Berlin
2b46b6dbdf In Java arrays extends from java/lang/Object that the ArrayType must be extends from the StructType. WIP 2020-06-01 11:17:47 +02:00
Volker Berlin
67f8fd4355 implement Class.getComponentType(), WIP 2020-05-31 11:39:57 +02:00
Volker Berlin
cfbadfa226 anyref --> externref, add kind to ref.null and ref.is_null, https://github.com/WebAssembly/reference-types/pull/87 2020-05-30 23:06:29 +02:00
Volker Berlin
56c38bbc63 improvements for getComponentType() 2020-05-30 18:36:12 +02:00
Volker Berlin
a0d56ddcc3 fix IF with complex && and || operations. see 2020-05-27 21:21:50 +02:00
Volker Berlin
9f9bfa05e6 remove debug code 2020-05-27 21:20:22 +02:00
Volker Berlin
8f1cc4bf97 fix IF-GOTO analyzing for multiple sub IF inside the THEN part. 2020-05-25 19:28:47 +02:00
JCWasmx86
8cc81dcffe Typo, replaced crlf with lf in some files 2020-05-25 16:40:25 +02:00
JCWasmx86
c7afbd4691
Update ConstantPool.java 2020-05-24 13:52:54 +02:00