69 Commits

Author SHA1 Message Date
Volker Berlin
02a2e9d8ff Write also the fields of super classes in the struct description. 2019-04-21 21:33:22 +02:00
Volker Berlin
2be6f1a3be Write the default/initial values before struct.new 2019-04-20 21:41:46 +02:00
Volker Berlin
cc0ba1498d Struct type variables must declared as ref 2019-04-20 15:23:53 +02:00
Volker Berlin
efa65bb377 More normalize of names for SpiderMonkey 2019-04-19 20:29:20 +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
cfa3a4377e Patch the function names for SpiderMonkey to handle its limitation. 2019-04-19 16:00:43 +02:00
Volker Berlin
ce93ce517e Write a source map if DebugNames is enabled. #6 2019-03-31 13:29:40 +02: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
0b49204793 use declared local names for local.set/get 2019-03-14 22:10:35 +01:00
Volker Berlin
2e7370dcfd ignore monitorenter and monitorexit from synchronized blocks. see #5 2019-03-10 18:32:26 +01:00
Volker Berlin
cd2f07733d improve the compiling of exceptions 2019-03-02 21:54:27 +01:00
Volker Berlin
2d2a5f4b68 write event section if exception handling is used. 2019-02-27 21:55:55 +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
1376af2f3f Rename StorageType to AnyType. 2019-01-14 20:09:00 +01:00
Volker Berlin
caa59cab83 implements struct.get/set 2019-01-13 11:36:07 +01:00
Volker Berlin
9ac92316f6 Write the real type of StructType instead anytype 2019-01-11 22:21:59 +01:00
Volker Berlin
7f55b23c7a set all fields mutable 2019-01-11 20:06:48 +01:00
Volker Berlin
56fdf9018d write the struct type into the type section 2019-01-06 16:29:26 +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
6196648cc0 add support for objects equals/not equals (if_acmpeq,if_acmpne) 2018-12-17 21:22:10 +01:00
Volker Berlin
ad30f90f48 implements ifnull and ifnotnull 2018-12-15 22:33:25 +01:00
Volker Berlin
1b09c5fd8c implements ref.null 2018-12-14 20:47:53 +01:00
Volker Berlin
c6800a895b experimental code for structs 2018-12-05 22:14:26 +01:00
Volker Berlin
f5e5d11af7 Add interface StorageType for struct support 2018-12-04 21:06:41 +01:00
Volker Berlin
ae08d21281 reorganize 2018-12-03 21:09:22 +01:00
Volker Berlin
74dcb4dc09 experimental code for arrays 2018-12-02 19:54:59 +01:00
Volker Berlin
4104a87597 fix java signature parsing with multiple return types 2018-11-29 18:35:56 +01:00
Volker Berlin
d8de454a3f pass through FunctionName object 2018-11-24 16:14:52 +01:00
Volker Berlin
101b759acb Add the Member interface to generalize the API usage 2018-11-10 10:46:36 +01:00
Volker Berlin
f15e9c8341 experimental exception handling 2018-11-03 18:01:42 +01:00
Volker Berlin
563075a578 write local method names if DebugNames is enabled 2018-10-13 18:10:05 +02:00
Volker Berlin
a10d029e00 pass compiler properties to the module writers 2018-10-08 22:02:19 +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
a07e7fe4b1 Fix the signum of numeric operations in the text format. 2018-08-14 18:24:50 +02:00
Volker
5f0c24f5af Fix "import" in the text format 2018-08-14 18:17:48 +02:00
Volker
dd29280641 Add support for global (static) variables 2018-08-14 15:11:21 +02:00
Volker
d7c13c018e Use the new Non-trapping float-to-int conversions for Java like behavior. 2018-08-11 15:46:20 +02:00
Volker
ff3662db43 The different writeConst summarized to one method 2018-08-05 18:27:06 +02:00
Volker
b1eb27c474 support dynamic result type for an if block 2018-08-05 14:45:18 +02:00
Volker
a27733234f use experimental Sign-extension operators 2018-08-03 21:49:42 +02:00
Volker
776cf133bc Use UNREACHABLE operation after endless loop. 2018-07-27 17:51:36 +02:00
Volker Berlin
dea54b631c Split ModuleWriter in ModuleWrite and ModuleGenerator 2018-06-01 19:44:40 +02:00
Volker Berlin
4a5518c69a write import function parameters 2018-05-31 21:35:01 +02:00
Volker Berlin
88a584cd63 First step to support imports. 2018-05-30 18:57:36 +02:00
Volker Berlin
a94bf26365 extract class FunctionName 2018-05-21 14:29:32 +02:00
Volker Berlin
652d6c3d6a Add support for the loop operator 2018-05-20 11:52:16 +02:00