Volker Berlin
|
8668d71b6c
|
Fix the memory offset of strings with a dynamic synthetic function.
|
2019-11-24 14:44:56 +01:00 |
|
Volker Berlin
|
f61cebd285
|
implements reading from constant strings from memory
|
2019-11-23 20:39:10 +01:00 |
|
Volker Berlin
|
9286113b0c
|
more wat instructions
|
2019-11-19 19:48:24 +01:00 |
|
Volker Berlin
|
947f66502b
|
Add support for i32.load to the wat parser and some small bug fixes
|
2019-11-18 21:32:35 +01:00 |
|
Volker Berlin
|
86d239986e
|
add memory instructions
|
2019-11-18 20:08:18 +01:00 |
|
Volker Berlin
|
185a0515c7
|
supports also constructor replacement with a Java method
|
2019-11-17 17:28:31 +01:00 |
|
Volker Berlin
|
ce1d3ddb38
|
improve the "ignore redefinition" in ClassPath. The first should win.
|
2019-11-17 17:04:35 +01:00 |
|
Volker Berlin
|
b26b290464
|
write the stings into the data section
|
2019-11-17 14:24:41 +01:00 |
|
Volker Berlin
|
10b754e3e3
|
Use a Placeholder Instruction for Java DUP opertions.
|
2019-11-16 19:17:22 +01:00 |
|
Volker Berlin
|
63a7c487c0
|
add support for locals in WatParser
|
2019-11-12 20:47:57 +01:00 |
|
Volker Berlin
|
8f36ed4d6d
|
initial checkin for StringManager (WIP)
|
2019-11-10 12:57:58 +01:00 |
|
Volker Berlin
|
0ae27b2c86
|
add support for local.tee to wat parser
|
2019-11-09 18:48:28 +01:00 |
|
Volker Berlin
|
baf7fb9cf0
|
Add table.set/get
|
2019-11-03 19:00:49 +01:00 |
|
Volker Berlin
|
b47274e007
|
add @Override
|
2019-11-03 18:04:45 +01:00 |
|
Volker Berlin
|
ca9efce370
|
constant pool can also contains string constants
|
2019-11-03 13:52:07 +01:00 |
|
Volker Berlin
|
ebe1c27e9a
|
Add support for outsourcing of a constructor to JavaScript
|
2019-10-27 20:11:47 +01:00 |
|
Volker Berlin
|
1fdcae5191
|
expand the hierarchy of SyntheticFunctionName for future improvements
|
2019-10-27 19:41:43 +01:00 |
|
Volker Berlin
|
9692b3b98f
|
Accept also new functions in the cache after prepare finish to simplify the handling with unknown functions.
|
2019-10-27 19:37:55 +01:00 |
|
Volker Berlin
|
3c0199c000
|
fix parameter order for struct.set polyfill
|
2019-10-26 12:26:35 +02:00 |
|
Volker Berlin
|
19a119d7f4
|
fix position of duplicating THIS on virtual method calls
|
2019-10-05 16:15:18 +02:00 |
|
Volker Berlin
|
be12f047dd
|
move some helper method into the parent
|
2019-10-02 18:56:35 +02:00 |
|
Volker Berlin
|
ec898cad71
|
skip ELSE blocks on counting the stack
|
2019-09-29 13:47:45 +02:00 |
|
Volker Berlin
|
4f40976019
|
ignore redefinition replacements
|
2019-09-29 11:44:01 +02:00 |
|
Volker Berlin
|
432baef4b4
|
fix end detecting of ELSE block and sub structures in the THEN block.
|
2019-09-25 22:32:41 +02:00 |
|
Volker Berlin
|
40375316e2
|
detect some optimization of GOTO jumps
|
2019-09-25 19:24:01 +02:00 |
|
Volker Berlin
|
a0ddb00a73
|
pass the method with signature to the VariableManager as fallback
|
2019-09-23 21:24:46 +02:00 |
|
Volker Berlin
|
d1bb7cac23
|
pass the method with signature to the VariableManager as fallback
|
2019-09-23 20:33:21 +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
|
6ddf5b1c85
|
write memory/data section also with nonGC polyfill
|
2019-09-14 21:26:46 +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
|
d4a2214131
|
Move duplicated code from implementations of writeVirtualFunctionCall() into the caller WasmCallIndirectInstruction
|
2019-09-13 20:04:03 +02:00 |
|
Volker Berlin
|
b2f1fbc195
|
call ref_eq polyfill in non gc mode
|
2019-09-10 21:41:50 +02:00 |
|
Volker Berlin
|
b4d2f6caa2
|
use WasmOptions on more places for consistency
|
2019-09-10 17:49:05 +02:00 |
|
Volker Berlin
|
c1041325b7
|
add WasmOptions to reduce boilerplate code
|
2019-09-09 21:07:45 +02:00 |
|
Volker Berlin
|
713020ef60
|
add "ref_eq" polyfill function
|
2019-09-08 21:45:28 +02:00 |
|
Volker Berlin
|
4e3c11553f
|
prepare the polyfill of struct/Object instruction
|
2019-09-08 13:55:22 +02:00 |
|
Volker Berlin
|
ebf3673ef6
|
Prepare support for SyntheticFunctionName for imported JavaScript functions
|
2019-09-07 21:24:17 +02:00 |
|
Volker Berlin
|
6ea1955886
|
Fix the stack value of array new.
|
2019-08-27 20:41:00 +02:00 |
|
Volker Berlin
|
083ebf263e
|
improve the type handling of arrays
|
2019-08-21 20:52:12 +02:00 |
|
Volker Berlin
|
0b28099674
|
Add ArrayType and improve the Java type parser.
|
2019-08-14 20:07:39 +02:00 |
|
Volker Berlin
|
32e609b32f
|
use GC Feature of the JavaScript host for arrays as replacement for the missing GC feature in WASM
|
2019-08-11 13:11:22 +02:00 |
|
Volker Berlin
|
7667c1a080
|
rename ArrayOpertion.LENGTH -> LEN for more consistency
|
2019-08-11 13:06:31 +02:00 |
|
Volker Berlin
|
615efbd11f
|
use class and method name as default import setting if not set
|
2019-08-09 21:58:42 +02:00 |
|
Volker Berlin
|
5883adc2af
|
pass the compiler properties to sub classes
|
2019-08-08 19:28:27 +02:00 |
|
Volker Berlin
|
9faeb626a9
|
fix file name of JavaScript output with text output format.
|
2019-08-08 18:23:44 +02:00 |
|
Volker Berlin
|
20d2b7f44e
|
improve error messages
|
2019-08-08 17:47:57 +02:00 |
|
Volker Berlin
|
c66d7748a4
|
improve error message
|
2019-08-04 19:29:36 +02:00 |
|
Volker Berlin
|
fd24d852ee
|
cast only to AnyType
|
2019-08-04 18:47:02 +02:00 |
|