498 Commits

Author SHA1 Message Date
Volker Berlin
8bbaae43e8 add memory operation codes 2019-05-16 21:36:52 +02:00
Volker Berlin
983d78de54 next step in handling virtual methods 2019-05-14 21:47:49 +02:00
Volker Berlin
45d1731126 print (table) in a new line 2019-05-14 21:36:04 +02:00
Volker Berlin
f0d3027553 Replace a function name in call with its supper method if real target name does not exists. 2019-05-12 18:38:11 +02:00
Volker Berlin
aa1ed68b3f scanning the Java methods on prepare 2019-05-11 20:53:30 +02:00
Volker Berlin
0b7fa50520 next step for scanning on prepare 2019-05-09 22:13:02 +02:00
Volker Berlin
cd4f1cf307 remove not needed parentheses after fix of spidermonkey 2019-05-09 21:41:39 +02:00
Volker Berlin
f52bca35e4 Use a FunctionState in the FunctionManager for later improvements 2019-05-08 19:52:16 +02:00
Volker Berlin
61c6523f14 Remove Hack for SpiderMonkey bug 2019-05-08 17:26:28 +02:00
Volker Berlin
a8d11b5b68 use weak cache for ClassFiles 2019-05-07 21:16:30 +02:00
Volker Berlin
4e98efeb5d prepare the using of call_indirect 2019-05-05 17:25:43 +02:00
Volker Berlin
8e439eb83e prepare the using of memory and data section 2019-05-01 17:11:14 +02:00
Volker Berlin
fbc687ee92 Use ref types alps in globals 2019-04-27 21:14:55 +02:00
Volker Berlin
30a8d55491 more debug details 2019-04-27 20:27:33 +02:00
Volker Berlin
272fa76af0 Write the type of Object fields in structs as ref type instead of anyref. 2019-04-26 17:28:57 +02:00
Volker Berlin
b08a986945 Write the "this" parameter type of a method as ref type instead of anyref. 2019-04-24 21:41:33 +02:00
Volker Berlin
e8a4613d74 split addStructInstruction() 2019-04-24 19:54:30 +02:00
Volker Berlin
a2a185be8a Search className and fieldName separately 2019-04-22 21:24:22 +02:00
Volker Berlin
3e9e1e1601 Enable test for SpiderMonkey 2019-04-22 16:34:47 +02:00
Volker Berlin
3af321a076 Use a temporary hack for SpiderMonkey WasmTextToBinary 2019-04-22 16:21:02 +02:00
Volker Berlin
b7323776d1 Use index for fields of structs in text format until there are better naming rules. 2019-04-22 15:56:11 +02:00
Volker Berlin
02a2e9d8ff Write also the fields of super classes in the struct description. 2019-04-21 21:33:22 +02:00
Volker Berlin
13fce427c3 update status and required features 2019-04-21 10:56:18 +02:00
Volker Berlin
e037de5646 Also write prefix ref_type in the local variable declaration. 2019-04-21 10:45:17 +02:00
Volker Berlin
2be6f1a3be Write the default/initial values before struct.new 2019-04-20 21:41:46 +02:00
Volker Berlin
09b817117a Generalize the usage of SyntheticFuctionName 2019-04-20 18:44:23 +02:00
Volker Berlin
04b3b67927 Enable tests with SpiderMonkey WasmTextToBinary() 2019-04-20 15:25:47 +02:00
Volker Berlin
cc0ba1498d Struct type variables must declared as ref 2019-04-20 15:23:53 +02:00
Volker Berlin
97e3c9616f Skip some Tests for SpiderMonkeyWat because bugs in WasmTextToBinary 2019-04-20 15:11:08 +02:00
Volker Berlin
bddf4c7525 correct binary encoding for GC spec version 3 2019-04-19 21:22:20 +02:00
Volker Berlin
31f86ae931 GcFeatureOptIn for SpiderMonkey 2019-04-19 20:34:31 +02:00
Volker Berlin
f466fc5c09 Correct the coding of Struct like the spec https://github.com/lars-t-hansen/moz-gc-experiments/blob/master/version2.md 2019-04-19 20:33:33 +02:00
Volker Berlin
efa65bb377 More normalize of names for SpiderMonkey 2019-04-19 20:29:20 +02:00
Volker Berlin
2cf6214d56 We does not use multiple return values anymore for "dup". 2019-04-19 17:55:24 +02:00
Volker Berlin
3095f29f3d floating point numbers must written with hexadecimal literals 2019-04-19 17:39:49 +02:00
Volker Berlin
decfdf77f1 SpiderMonkey required global initial values in parentheses 2019-04-19 17:39:03 +02:00
Volker Berlin
8ae609a5f5 Same error message for all SpiderMonkey tests. 2019-04-19 16:06:29 +02:00
Volker Berlin
cfa3a4377e Patch the function names for SpiderMonkey to handle its limitation. 2019-04-19 16:00:43 +02:00
Volker Berlin
839a7fda89 Use its own compiler result for SpiderMonkey 2019-04-19 15:57:56 +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
4ed31cd8f9 correct small problems in test 2019-04-19 10:54:56 +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
0ad94fbc56 Fix the lineNumer in some WasmExceptions 2019-04-14 14:06:56 +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
03a5c36ace API doc 2019-04-06 17:49:28 +02:00
Volker Berlin
6c1e3e6322 add i/O error tests 2019-04-04 18:56:41 +02:00
Volker Berlin
d6464541e9 test getProperty() 2019-04-04 18:55:20 +02:00
Volker Berlin
58fbce005a simplify 2019-04-04 18:54:52 +02:00