398 Commits

Author SHA1 Message Date
Volker Berlin
09a9e66e42 Fix missing END of TRY CATCH with RETURN in CATCH block. 2019-02-23 14:59:43 +01:00
Volker Berlin
abb6c8a38a enable-exceptions in Wat2Wasm 2019-02-23 14:16:05 +01:00
Volker Berlin
f08b3d0869 Replace the github API for downloading WABT with web GUI because it is limit from Travis. 2019-02-23 14:06:36 +01:00
Volker Berlin
9bcc7347c1 Change the old text format to the new format. fix #3 2019-02-22 23:19:10 +01:00
Volker Berlin
f5ed8aeeb6 get_local --> local.get, set_local --> local.set, see #3 2019-02-20 21:42:52 +01:00
Volker Berlin
de320797a6 prepare node wabt module only if needed 2019-02-19 21:00:05 +01:00
Volker Berlin
fce938f6fd Use Wat2Wasm tool to test the text format. 2019-02-17 10:11:16 +01:00
Volker Berlin
b4ca501f4c Does not save reused variables. Does not increment the maxLocals count. 2019-02-17 09:54:47 +01:00
Volker Berlin
6246840f90 Fix ArrayIndexOutOfRange with temp variable 2019-02-17 09:52:04 +01:00
Volker Berlin
99f7248fc8 fix NPE 2019-02-15 20:17:00 +01:00
Volker Berlin
c57e5d42cf fix local variable names 2019-02-15 20:02:13 +01:00
Volker Berlin
17acda9456 Start with the optimizer 2019-02-12 21:18:42 +01:00
Volker Berlin
c43a571c30 download wabt tool 2019-02-12 21:16:34 +01:00
Volker Berlin
d29efc864d - 2019-02-08 18:29:47 +01:00
Volker Berlin
93f4d4ae5f - 2019-02-08 18:11:51 +01:00
Volker Berlin
ff345e68c2 normalization the local instruction 2019-01-27 21:13:48 +01:00
Volker Berlin
80e922fa26 status update 2019-01-26 19:36:48 +01:00
Volker Berlin
0d0e606983 Pass the StructType of WasmStructInstruction to the LocalevariableManager 2019-01-23 20:27:57 +01:00
Volker Berlin
24f1c24a84 Cleanup 2019-01-23 20:24:47 +01:00
Volker Berlin
6db1a8d1f5 DataCount 2019-01-23 17:56:50 +01:00
Volker Berlin
145a39079b use AnyType instead ValueType in the VariableManager 2019-01-20 19:58:23 +01:00
Volker Berlin
a06a93dd37 remove unused classes 2019-01-20 17:41:10 +01:00
Volker Berlin
a8c5affb18 handle null values 2019-01-20 11:31:33 +01:00
Volker Berlin
d0550a7642 improve logging 2019-01-20 11:31:12 +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
238a281757 Move the call to ValueTypeParser into the FunctionName 2019-01-18 18:17:19 +01:00
Volker Berlin
b677355c0f Convert ValueTypeParser to an Iterator 2019-01-18 17:48:12 +01:00
Volker Berlin
1376af2f3f Rename StorageType to AnyType. 2019-01-14 20:09:00 +01:00
Volker Berlin
522f25c326 improve supported array opertions 2019-01-13 14:42:24 +01:00
Volker Berlin
9e4d83861c implements struct.get/set 2019-01-13 11:47:57 +01:00
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