368 Commits

Author SHA1 Message Date
Volker Berlin
caa59cab83 implements struct.get/set 2019-01-13 11:36:07 +01:00
Volker Berlin
98f6265abd Update status of the project 2019-01-13 11:33:36 +01:00
Volker Berlin
9ac92316f6 Write the real type of StructType instead anytype 2019-01-11 22:21:59 +01:00
Volker Berlin
d2683a32d7 set all fields mutable 2019-01-11 20:09:54 +01:00
Volker Berlin
7f55b23c7a set all fields mutable 2019-01-11 20:06:48 +01:00
Volker Berlin
ace7c2cdfb use getTypeForm() 2019-01-11 19:38:12 +01:00
Volker Berlin
b619d77ad1 fix the value of except_ref 2019-01-11 19:37:29 +01:00
Volker Berlin
b8039d6247 write the struct type into the type section 2019-01-06 16:39:51 +01:00
Volker Berlin
56fdf9018d write the struct type into the type section 2019-01-06 16:29:26 +01:00
Volker Berlin
efef0b03d5 bytecode 2019-01-06 10:13:03 +01:00
Volker Berlin
c9ce8eb60b add getType() 2019-01-01 14:24:01 +01:00
Volker Berlin
13350e4413 enable debug names also for text output 2019-01-01 14:18:25 +01:00
Volker Berlin
0e02db9985 write function lazy to the output to hold space free for more meta informations 2019-01-01 12:26:32 +01:00
Volker Berlin
11b8dcb3be add getFields() 2019-01-01 11:43:49 +01:00
Volker Berlin
53e7f88d1c add getTypes(), getName(), remain creation order 2019-01-01 11:43:11 +01:00
Volker Berlin
77977ba319 add "Status of Required WebAssembly Features" 2019-01-01 11:41:10 +01:00
Volker Berlin
bfc6cbb3f0 add TypeManager 2018-12-19 20:10:26 +01:00
Volker Berlin
6196648cc0 add support for objects equals/not equals (if_acmpeq,if_acmpne) 2018-12-17 21:22:10 +01:00
Volker Berlin
9ba680848a first tests for structs (Objects). 2018-12-16 18:25:13 +01:00
Volker Berlin
bc2975683a add getType() to WasmInstruction 2018-12-16 18:22:44 +01:00
Volker Berlin
5d237c2ae1 remove unused code 2018-12-16 11:23:35 +01:00
Volker Berlin
ad30f90f48 implements ifnull and ifnotnull 2018-12-15 22:33:25 +01:00
Volker Berlin
e5be9fd627 Add Event section type 2018-12-15 12:29:58 +01:00
Volker Berlin
30aa01c824 handling of Boolean return values 2018-12-14 21:19:47 +01:00
Volker Berlin
9958a2bed9 implements instruction aconst_null 2018-12-14 20:50:08 +01:00
Volker Berlin
1b09c5fd8c implements ref.null 2018-12-14 20:47:53 +01:00
Volker Berlin
ba118b8531 support "boolean" type 2018-12-14 20:34:58 +01:00
Volker Berlin
c7d4ed0998 add null ref 2018-12-14 20:34:03 +01:00
Volker Berlin
2410694151 implements invokespecial 2018-12-14 19:59:49 +01:00
Volker Berlin
7701ce6993 write extra parameter for instance methods (non static) 2018-12-13 22:32:51 +01:00
Volker Berlin
d4012a751f compile on the fly only the needed instead all given 2018-12-13 20:05:13 +01:00
Volker Berlin
d7b283e73a replace anyref temporary with i64 2018-12-12 22:44:05 +01:00
Volker Berlin
02b94bb768 break if method found 2018-12-12 21:28:16 +01:00
Volker Berlin
461d62a321 split findPreviousPushInstruction() for the 2 different use cases 2018-12-12 19:38:20 +01:00
Volker Berlin
01dcb85b36 reduce the preparing and write more on the fly 2018-12-11 22:38:53 +01:00
Volker Berlin
bf6bf44252 accept also node script under windows 2018-12-06 19:59:20 +01:00
Volker Berlin
34c7b09972 ApiDoc 2018-12-05 23:32:10 +01:00
Volker Berlin
f98ec612f8 experimental code for structs 2018-12-05 23:30:46 +01:00
Volker Berlin
c6800a895b experimental code for structs 2018-12-05 22:14:26 +01:00
Volker Berlin
6f64f957b2 ApiDoc 2018-12-05 17:55:15 +01:00
Volker Berlin
f5e5d11af7 Add interface StorageType for struct support 2018-12-04 21:06:41 +01:00
Volker Berlin
c0efe35626 add struct value 2018-12-03 21:12:47 +01:00
Volker Berlin
ae08d21281 reorganize 2018-12-03 21:09:22 +01:00
Volker Berlin
c2c872024b write ValueType codes in signed LEB format 2018-12-03 20:52:01 +01:00
Volker Berlin
74dcb4dc09 experimental code for arrays 2018-12-02 19:54:59 +01:00
Volker Berlin
8f365d629b fix parsing of object signatures 2018-12-02 19:04:37 +01:00
Volker Berlin
fe1e15ee30 add method writeValueType to the WasmStream 2018-12-02 18:17:27 +01:00
Volker Berlin
fce0ab5586 use BufferedOutputStream instead of a direct FileOutputStream 2018-12-01 20:56:05 +01:00
Volker Berlin
392b3ef66f prepare wat test via SpiderMonkey 2018-12-01 18:32:18 +01:00
Volker Berlin
07d78774a5 More opcodes 2018-11-29 22:24:13 +01:00