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
|
3d5543fa38
|
toString() for debugging
|
2022-06-05 19:16:33 +02:00 |
|
Volker Berlin
|
7823db2708
|
add the field name as comment on get/set
|
2022-03-08 16:21:58 +01:00 |
|
Volker Berlin
|
99e406958f
|
Type specific NULL constant values.
|
2021-02-14 16:27:10 +01:00 |
|
Volker Berlin
|
c1e8191ee0
|
use also ref.cast for every cast.
|
2021-02-13 20:56:42 +01:00 |
|
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
|
f9de14d88e
|
improve array handling for GC mode
|
2021-01-02 16:44:38 +01:00 |
|
Volker Berlin
|
856194dbce
|
fix type handling for NUL values with GC support
|
2020-09-24 21:46:02 +02:00 |
|
Volker Berlin
|
3e9a8b1460
|
fix findValueTypeFromStack after a CAST
|
2020-08-08 23:20:09 +02:00 |
|
Volker Berlin
|
1d3db1135b
|
switch from anyref to eqref for GC code
|
2020-06-14 17:11:46 +02:00 |
|
Volker Berlin
|
890b3ec0df
|
Adapt some GC changes
|
2020-06-13 19:51:33 +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
|
548d701444
|
write string constant in the text format for easer reading
|
2020-03-21 22:57:42 +01:00 |
|
Volker Berlin
|
946e911982
|
implementation of a a replacement for java.lang.Class
|
2020-03-14 19:21:37 +01:00 |
|
Volker Berlin
|
5410764249
|
implement CAST operation, WIP
|
2020-02-01 20:29:29 +01:00 |
|
Volker Berlin
|
8c12f5a3c9
|
implement "instanceof", WIP
|
2020-02-01 16:49:52 +01:00 |
|
Volker Berlin
|
ee4409311f
|
The object allocation does not consume a value from stack
|
2020-01-05 21:42:36 +01:00 |
|
Volker Berlin
|
783d22fa50
|
use valid JavaScript names for the JavaScriplt creator functions
|
2020-01-05 21:41:19 +01:00 |
|
Volker Berlin
|
6285aee077
|
fix the the type of GET field of struct
|
2020-01-01 22:58:13 +01:00 |
|
Volker Berlin
|
3c0199c000
|
fix parameter order for struct.set polyfill
|
2019-10-26 12:26:35 +02:00 |
|
Volker Berlin
|
53319942ae
|
set initial values of non GC struct values
|
2019-09-15 15:42:50 +02:00 |
|
Volker Berlin
|
5295096d89
|
fix parameter order of nonGC polyfill call
|
2019-09-14 22:59:12 +02:00 |
|
Volker Berlin
|
c8e8c09a8e
|
improve NonGC polyfill
|
2019-09-14 15:22:25 +02:00 |
|
Volker Berlin
|
9293bfa9f2
|
fix the signatures of the polyfill functions
|
2019-09-13 21:05:47 +02:00 |
|
Volker Berlin
|
4e3c11553f
|
prepare the polyfill of struct/Object instruction
|
2019-09-08 13:55:22 +02:00 |
|
Volker Berlin
|
0b28099674
|
Add ArrayType and improve the Java type parser.
|
2019-08-14 20:07:39 +02:00 |
|
Volker Berlin
|
d32244c60c
|
fix getPopCount() and getPushValue()
|
2019-07-23 21:48:31 +02:00 |
|
Volker Berlin
|
a2a185be8a
|
Search className and fieldName separately
|
2019-04-22 21:24:22 +02:00 |
|
Volker Berlin
|
b7323776d1
|
Use index for fields of structs in text format until there are better naming rules.
|
2019-04-22 15:56:11 +02:00 |
|
Volker Berlin
|
02a2e9d8ff
|
Write also the fields of super classes in the struct description.
|
2019-04-21 21:33:22 +02:00 |
|
Volker Berlin
|
2be6f1a3be
|
Write the default/initial values before struct.new
|
2019-04-20 21:41:46 +02:00 |
|
Volker Berlin
|
5e40f1603e
|
pass the line number to the parsed instructions for a source map generation #6
|
2019-03-31 11:23:45 +02:00 |
|
Volker Berlin
|
0d0e606983
|
Pass the StructType of WasmStructInstruction to the LocalevariableManager
|
2019-01-23 20:27:57 +01:00 |
|
Volker Berlin
|
145a39079b
|
use AnyType instead ValueType in the VariableManager
|
2019-01-20 19:58:23 +01:00 |
|
Volker Berlin
|
a8c5affb18
|
handle null values
|
2019-01-20 11:31:33 +01:00 |
|
Volker Berlin
|
1376af2f3f
|
Rename StorageType to AnyType.
|
2019-01-14 20:09:00 +01:00 |
|
Volker Berlin
|
caa59cab83
|
implements struct.get/set
|
2019-01-13 11:36:07 +01:00 |
|
Volker Berlin
|
56fdf9018d
|
write the struct type into the type section
|
2019-01-06 16:29:26 +01:00 |
|
Volker Berlin
|
bfc6cbb3f0
|
add TypeManager
|
2018-12-19 20:10:26 +01:00 |
|
Volker Berlin
|
bc2975683a
|
add getType() to WasmInstruction
|
2018-12-16 18:22:44 +01:00 |
|
Volker Berlin
|
f98ec612f8
|
experimental code for structs
|
2018-12-05 23:30:46 +01:00 |
|