21 Commits

Author SHA1 Message Date
Volker Berlin
d3f7069cc8 pass the signature from synthetic functions to the wat parser. 2020-03-27 21:10:02 +01:00
Volker Berlin
63a7c487c0 add support for locals in WatParser 2019-11-12 20:47:57 +01: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
0b28099674 Add ArrayType and improve the Java type parser. 2019-08-14 20:07:39 +02:00
Volker Berlin
5ea58e30f8 Improve error message 2019-06-21 21:45:49 +02:00
Volker Berlin
cb65505596 use temporary variables for a DUP instead a function call with multiple return types because SpiderMonkey it does not support it currently and it also seems more efficient. 2019-04-19 10:58:00 +02:00
Volker Berlin
481bffe31a Fix the type of array.get operation. Before it was ever i32 from array index. 2019-04-17 18:26:52 +02:00
Volker Berlin
f0a0b0116b fix idx of hidden variables 2019-04-14 15:42:37 +02:00
Volker Berlin
9653520c2b Rewrite the LocalVariableManager to handle the Java reuse of a variable slot with different type. 2019-04-14 14:29:09 +02:00
Volker Berlin
cd7e20f5ed pass the LocalVariableTable and the code position of variable using to the VariableManager 2019-04-06 17:51:29 +02:00
Volker Berlin
b9bbb1c56d improve error message 2019-03-02 21:52:56 +01: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
ae08d21281 reorganize 2018-12-03 21:09:22 +01:00
Volker Berlin
4fd7d44263 Improve WasmCodeBuilder for later use with WatParser. 2018-11-09 20:14:30 +01:00
Volker Berlin
ce3e2d7546 improve exception message 2018-10-13 21:51:34 +02:00
Volker
758557f76b Fix getTempI32() that it work without the removed prepare phase. 2018-08-11 20:36:09 +02:00
Volker
cd8dd10182 Add method getPushValueType() 2018-08-06 12:52:44 +02:00
Volker Berlin
61c7f8edf4 Add support for a temporary local variable to reused values on the
stack.
2018-05-11 22:05:20 +02:00
Volker Berlin
bc66cfa70e Add a local variable manager 2018-05-11 11:55:55 +02:00