315 Commits

Author SHA1 Message Date
Volker Berlin
ad7174ba8c Enable multiple return values 2018-11-25 17:05:37 +01:00
Volker Berlin
95b72762f7 Fix multiple return values 2018-11-25 17:03:54 +01:00
Volker Berlin
6b85a00e4b Fix multiple return values 2018-11-25 17:02:51 +01:00
Volker Berlin
834c049354 Accept not prepared functions calls 2018-11-25 15:51:58 +01:00
Volker Berlin
e9b7597eda Write also missing library functions 2018-11-25 15:11:42 +01:00
Volker Berlin
c2683f4576 improve the constructor of FunctionName 2018-11-25 14:33:35 +01:00
Volker Berlin
51b58e2a79 Add a function manager to add functions on demand. 2018-11-24 21:54:30 +01:00
Volker Berlin
1655310a0f Add getFunctionName() for available check. 2018-11-24 21:09:56 +01:00
Volker Berlin
eaeb09ee48 Add eqauls and hashCode to FunctionName 2018-11-24 21:02:30 +01:00
Volker Berlin
d8de454a3f pass through FunctionName object 2018-11-24 16:14:52 +01:00
Volker Berlin
2c792f4a4f add method addLibrary 2018-11-21 19:44:05 +01:00
Volker Berlin
5ca933f540 First step for internal library functions 2018-11-18 20:21:08 +01:00
Volker Berlin
c6897d8bf4 simplify the internal API 2018-11-18 13:22:45 +01:00
Volker Berlin
f71747a87f Move WasmTextCode from tests into the core of the compiler for internal use. 2018-11-18 13:00:49 +01:00
Volker Berlin
03b8e68ccb add signature to WasmTextCode to support more as one return value 2018-11-18 12:50:54 +01:00
Volker Berlin
8d018f8f04 use Member instead ConstantRef in method signature 2018-11-18 12:17:08 +01:00
Volker Berlin
543e384c0b debug code for enable GcFeatureOptIn in SpiderMonkey 2018-11-17 21:13:13 +01:00
Volker Berlin
83a99ce803 test for WasmTextCode 2018-11-17 17:57:53 +01:00
Volker Berlin
d252b1b202 support WasmTextCode annotation 2018-11-16 20:38:37 +01:00
Volker Berlin
fe442e42e6 implement max operation in text format 2018-11-16 20:27:19 +01:00
Volker Berlin
a189a8328f declare WasmTextCode annotation 2018-11-16 20:14:43 +01:00
Volker Berlin
88b819628f fix splitTokens 2018-11-16 20:13:53 +01:00
Volker Berlin
99f7786cf8 implements numeric max operation 2018-11-16 20:12:55 +01:00
Volker Berlin
b3df8e9562 throw exception by unknown token. 2018-11-16 19:26:32 +01:00
Volker Berlin
0227137e2e use constants for annotations 2018-11-16 17:46:10 +01:00
Volker Berlin
01c469247e npm link seems not to work on travis, use dummy files to prevent the warnings 2018-11-11 13:31:37 +01:00
Volker Berlin
088e689daa reduce npm warnings and improve speed through singel global installation 2018-11-11 12:27:40 +01:00
Volker Berlin
cc5d794c07 add nullable annotations for test 2018-11-11 11:22:37 +01:00
Volker Berlin
0119a2bbc2 Add WatParser and tests 2018-11-11 11:00: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
4fd7d44263 Improve WasmCodeBuilder for later use with WatParser. 2018-11-09 20:14:30 +01:00
Volker Berlin
db4a6e19bd Add skipped exceptions tests until JS engines can handle it. 2018-11-09 19:47:39 +01:00
Volker Berlin
74e6c0db06 Split the ModuleGenerator in WasmCodeBuilder and ModuleGenerator 2018-11-04 20:28:42 +01:00
Volker Berlin
a49288449d Simplify the usage of the exception 2018-11-04 20:25:55 +01:00
Volker Berlin
f15e9c8341 experimental exception handling 2018-11-03 18:01:42 +01:00
Volker Berlin
ce3e2d7546 improve exception message 2018-10-13 21:51:34 +02:00
Volker Berlin
c3b04e7016 exception value type 2018-10-13 21:21:53 +02:00
Volker Berlin
97c73adcfb Exception opcodes 2018-10-13 20:48:34 +02:00
Volker Berlin
bdc5244ebb file extension is .wat and not .wast 2018-10-13 18:14:41 +02:00
Volker Berlin
563075a578 write local method names if DebugNames is enabled 2018-10-13 18:10:05 +02:00
Volker Berlin
103ae245a9 enable the debug output for the tests 2018-10-13 15:29:55 +02:00
Volker Berlin
8e8489ee77 Write function names for debugging 2018-10-13 15:29:34 +02:00
Volker Berlin
3c2ec0f516 add writeString() 2018-10-09 22:33:14 +02:00
Volker Berlin
a10d029e00 pass compiler properties to the module writers 2018-10-08 22:02:19 +02:00
Volker Berlin
cd50b9c203 add compileToText(File) 2018-10-08 20:46:35 +02:00
Volker Berlin
0c25c89d2b Refactor the writing of sections more object oriented. 2018-10-07 21:53:45 +02:00
Volker Berlin
df7cb74bcc Refactor the writing of sections more object oriented. 2018-10-07 21:20:14 +02:00
Volker Berlin
c0c24cb2cc Add link to Gradle Plugin 2018-10-07 19:04:04 +02:00
Volker Berlin
53494d55be Add get/setProperty 2018-10-07 18:57:41 +02:00
Volker Berlin
bd6b2ef3c6 enable also in parseWat() the experimental code 2018-10-07 14:09:11 +02:00