475 Commits

Author SHA1 Message Date
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
Volker Berlin
2ea1073bf5
Merge pull request #7 from hcientist/patch-1
corrected misspelling in feature table
2019-04-03 20:14:24 +02:00
Michael Stewart
4ccd3aaf11
corrected misspelling in feature table 2019-04-03 08:53:11 -04:00
Volker Berlin
76435a76b9 Add package path to Java source files 2019-04-02 20:58:01 +02:00
Volker Berlin
cba37f1cef remove debug code 2019-04-02 20:57:00 +02:00
Volker Berlin
209d72faec test NPE 2019-04-01 21:34:55 +02:00
Volker Berlin
a9554930f3 The source map lines are not zero based. Lines are one based. #6 2019-04-01 21:22:04 +02:00
Volker Berlin
3ba7b44089 The source map lines are not zero based. Lines are one based. fix #6 2019-04-01 20:35:20 +02:00
Volker Berlin
47430b3bc0 Fix the offset for the source map positions. #6 2019-04-01 20:33:12 +02:00
Volker Berlin
dd9eb4b049 write sourceMappingURL custom section 2019-04-01 16:17:41 +02:00
Volker Berlin
40fdbaffc5 test direct compile again 2019-04-01 14:42:15 +02:00
Volker Berlin
ce93ce517e Write a source map if DebugNames is enabled. #6 2019-03-31 13:29:40 +02:00
Volker Berlin
82bf9f7eea generalize the size() implementation 2019-03-31 12:25:10 +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
0b1ff00ae5 next step for source map #6 2019-03-31 10:39:59 +02:00
Volker Berlin
e5036cc053 remove warnings 2019-03-31 10:26:08 +02:00
Volker Berlin
accf9188ef ApiDoc 2019-03-31 09:51:21 +02:00
Volker Berlin
ed4fac4cbd Add a target handler. 2019-03-30 22:23:36 +01:00
Volker Berlin
7d8424a2b0 pass sourcefile for a source map. #6 2019-03-28 18:26:25 +01:00
Volker Berlin
97b7b9dafd passing code position for a source map. #6 2019-03-26 18:21:20 +01:00
Volker Berlin
018fa3896a tail call opcodes 2019-03-23 17:10:47 +01:00
Volker Berlin
7ce99bec72 throw an exception for old byte code instructions 2019-03-23 16:05:14 +01:00
Volker Berlin
8f4a3cdd3a other Java languages 2019-03-23 16:03:59 +01:00
Volker Berlin
66945d2974 improve "goto_w" support 2019-03-21 21:14:21 +01:00