18 Commits

Author SHA1 Message Date
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
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
fb3ed8795e Add UNREACHABLE also if the branchkmanger adds some blocks instructions 2019-03-03 21:33:09 +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
29911bc586 use synthetic method for dup instruction to handle the type dynamically 2019-01-20 10:41: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
c6800a895b experimental code for structs 2018-12-05 22:14:26 +01:00
Volker Berlin
ae08d21281 reorganize 2018-12-03 21:09:22 +01:00
Volker Berlin
74dcb4dc09 experimental code for arrays 2018-12-02 19:54:59 +01:00
Volker Berlin
8d018f8f04 use Member instead ConstantRef in method signature 2018-11-18 12:17:08 +01:00
Volker Berlin
0119a2bbc2 Add WatParser and tests 2018-11-11 11:00:52 +01:00
Volker Berlin
101b759acb Add the Member interface to generalize the API usage 2018-11-10 10:46:36 +01:00
Volker Berlin
4fd7d44263 Improve WasmCodeBuilder for later use with WatParser. 2018-11-09 20:14:30 +01:00
Volker Berlin
74e6c0db06 Split the ModuleGenerator in WasmCodeBuilder and ModuleGenerator 2018-11-04 20:28:42 +01:00