34 Commits

Author SHA1 Message Date
Volker Berlin
03b8e68ccb add signature to WasmTextCode to support more as one return value 2018-11-18 12:50:54 +01:00
Volker Berlin
d252b1b202 support WasmTextCode annotation 2018-11-16 20:38:37 +01:00
Volker Berlin
0227137e2e use constants for annotations 2018-11-16 17:46:10 +01:00
Volker Berlin
101b759acb Add the Member interface to generalize the API usage 2018-11-10 10:46:36 +01:00
Volker Berlin
74e6c0db06 Split the ModuleGenerator in WasmCodeBuilder and ModuleGenerator 2018-11-04 20:28:42 +01:00
Volker Berlin
f15e9c8341 experimental exception handling 2018-11-03 18:01:42 +01:00
Volker Berlin
ce3e2d7546 improve exception message 2018-10-13 21:51:34 +02:00
Volker Berlin
563075a578 write local method names if DebugNames is enabled 2018-10-13 18:10:05 +02:00
Volker
41e66c8a14 Add more TODO for open opcodes 2018-08-14 22:34:53 +02:00
Volker
6ade59d02d fix structure problems with globals in text writer. 2018-08-14 22:09:01 +02:00
Volker
658b859b62 Fix the signum of compare operations in the text format. 2018-08-14 21:28:17 +02:00
Volker
dd29280641 Add support for global (static) variables 2018-08-14 15:11:21 +02:00
Volker
c269bae443 Move method getValueType() into class ValueType. 2018-08-14 12:14:36 +02:00
Volker
758557f76b Fix getTempI32() that it work without the removed prepare phase. 2018-08-11 20:36:09 +02:00
Volker
fcaa15d22d Fix SWITCH start position detection and replace erroneous ValueStackManager 2018-08-11 18:12:40 +02:00
Volker
4e4fa8a28f pass the ValueType to the return WasmBlockInstruction 2018-08-10 18:50:54 +02:00
Volker
d3e80bf709 Move method name creation into WasmCallInstruction 2018-08-06 12:46:18 +02:00
Volker
a736f41eb4 generalize exception handling 2018-08-06 12:23:42 +02:00
Volker
ff3662db43 The different writeConst summarized to one method 2018-08-05 18:27:06 +02:00
Volker
a27733234f use experimental Sign-extension operators 2018-08-03 21:49:42 +02:00
Volker
0df046a644 add TODO for not implemented byte codes 2018-08-03 19:41:21 +02:00
Volker
e3764913c3 negate compare condition of if operations in the branch manager instead on parsing the byte code. 2018-08-03 18:04:08 +02:00
Volker
ce82010721 pass the compare instruction of an IF operation to the branch manager 2018-08-03 15:17:07 +02:00
Volker
9c1215720d fix non i32 compare operations 2018-08-02 12:13:54 +02:00
Volker
3a74ebbe20 Finish refactoring with an intermediate model in the memory of WASM instructions. 2018-07-27 23:27:27 +02:00
Volker
776cf133bc Use UNREACHABLE operation after endless loop. 2018-07-27 17:51:36 +02:00
Volker
bab58acebe add branch operation after the creating the in memory model and not on
parsing.
2018-07-15 18:06:25 +02:00
Volker
dde69e55c9 Add java code position to the WasmInstruction 2018-07-09 17:18:15 +02:00
Volker
24bfe22a51 Use an intermediate model in the memory of the parsed Java bytecode. 2018-06-21 18:49:55 +02:00
Volker
c6ca470003 Move the end handling of a method into writeCode() to hold all code
operation together
2018-06-21 18:09:19 +02:00
Volker
0d72c9cd50 use annotation package from library 2018-06-11 19:06:03 +02:00
Volker Berlin
ecd61dcde7 Use a single CoeInputStream pro method instead chucks pro line number 2018-06-03 11:54:45 +02:00
Volker Berlin
0c83869a81 support the do while(condition) loop 2018-06-02 23:57:04 +02:00
Volker Berlin
dea54b631c Split ModuleWriter in ModuleWrite and ModuleGenerator 2018-06-01 19:44:40 +02:00