1131 Commits

Author SHA1 Message Date
Volker Berlin
712ce90393 Add some stub code 2021-05-02 14:47:39 +02:00
Volker Berlin
6d89fa8eca Handle array component type for not init (null) values. 2021-05-02 14:19:55 +02:00
Volker Berlin
631bd4efc3 Define the this parameter with the best matching type. 2021-05-02 14:08:19 +02:00
Volker Berlin
f97b24a933 API Doc 2021-05-02 14:03:25 +02:00
Volker Berlin
c1b0feb0d5 Any array is a subtype of eqref 2021-05-02 13:56:36 +02:00
Volker Berlin
5d2a3805db Does not write the type eqref to the output if GC is not enabled 2021-05-02 13:54:11 +02:00
Volker Berlin
2d7b7f2f50 TODO 2021-05-02 11:46:07 +02:00
Volker Berlin
922c7dbd71 lambda tests 2021-04-17 20:27:51 +02:00
Volker Berlin
b35279a960 The needThis flag must be set already on marking a function as needing. If it will set on scan it is to late for stack calculation. 2021-04-17 20:27:28 +02:00
Volker Berlin
d271ac1a2f Parse annotations with arrays 2021-04-03 22:07:48 +02:00
Volker Berlin
1771ab1f39 Add support for Lambda expressions with parameters 2021-04-03 22:06:39 +02:00
Volker Berlin
6d4379b2e8 implements StructType.isSubTypeOf(x) for Arrays and Lambdas 2021-03-28 20:32:52 +02:00
Volker Berlin
1f167d99b9 implements StructType.isSubTypeOf(x) 2021-03-28 15:16:45 +02:00
Volker Berlin
f4fd312d31 fix assignment of parameters from stack for lambda expressions with parameters 2021-03-28 10:56:51 +02:00
Volker Berlin
d480471e27 Use also local.tee instruction for reused with dup instructions 2021-03-27 18:27:00 +01:00
Volker Berlin
4e2f35a073 ApiDoc @Nonnull 2021-03-27 16:37:30 +01:00
Volker Berlin
b755f6fd08 simplify cast like GC milestone 3 2021-03-27 14:42:25 +01:00
Volker Berlin
43ae520d5a Ignore not existing paths and does not show an error message. 2021-03-27 13:31:29 +01:00
Volker Berlin
acd8a4ca9d bintay -> sonatype 2021-03-20 21:18:56 +01:00
Volker Berlin
4e375e2f0e fix some warnings 2021-03-20 21:00:15 +01:00
Volker Berlin
a80e3efa93 Wabt.js support the new exception proposal now 2021-03-09 20:07:57 +01:00
Volker Berlin
a6222e634b WABT supports the current exception proposal now 2021-03-03 18:10:08 +01:00
Volker Berlin
66ee596fcf pass the parameters of a lamba expression to the lambda type 2021-02-28 22:20:49 +01:00
Volker Berlin
d3261149e6 Update the exception handling support to the current proposal 2021-02-27 22:22:24 +01:00
Volker Berlin
cf7e66901d Add support for complex block types 2021-02-27 20:40:30 +01:00
Volker Berlin
27199c53db use node version 16.0.0-v8-canary2021.02.23 2021-02-23 18:29:18 +01:00
Volker Berlin
67bb2f93ce jcenter() -> mavenCentral() 2021-02-17 15:01:19 +01:00
Volker Berlin
f3531914f0 fix binary coding of types in table section 2021-02-14 19:16:20 +01:00
Volker Berlin
945c245802 use the right opcode for NEW_WITH_RTT (c&p error) 2021-02-14 18:32:51 +01:00
Volker Berlin
99e406958f Type specific NULL constant values. 2021-02-14 16:27:10 +01:00
Volker Berlin
fb7e3e2468 array.len needs a match between variable type and given type. Thats wee needs a cast in WASM to come from Object to a specific array type. 2021-02-14 11:22:21 +01:00
Volker Berlin
c1e8191ee0 use also ref.cast for every cast. 2021-02-13 20:56:42 +01:00
Volker Berlin
0a21fd9de9 Fix array type syntax. https://github.com/WebAssembly/wasp/issues/55 2021-02-13 15:05:40 +01:00
Volker Berlin
fd2131e6dd sourceCompatibility = 1.8 2021-02-13 14:25:42 +01:00
Volker Berlin
bb97efa1f5 enable lambda expressions 2021-01-24 18:57:00 +01:00
Volker Berlin
740b7a8c19 add a variable slot for THIS parameter to lambda methods to increment the variable index. 2021-01-24 18:41:01 +01:00
Volker Berlin
c1869baee5 add THIS parameter to lambda methods 2021-01-24 13:49:23 +01:00
Volker Berlin
a6a038aad0 move every function parameter declaration to its own line for a better readable. 2021-01-24 13:46:22 +01:00
Volker Berlin
75a78c2ac2 move every function parameter declaration to its own line for a better readable. 2021-01-24 11:08:54 +01:00
Volker Berlin
3e42160655 implement more Lambda stuff 2021-01-23 22:16:16 +01:00
Volker Berlin
cde24d98ed Fix Struct.NEW_DEFAULT for GC mode. 2021-01-16 17:38:11 +01:00
Volker Berlin
87af94232c add script engine Wat2WasmGC 2021-01-12 22:40:43 +01:00
Volker Berlin
de1befcc1d Make interfaces castable to java/lang/Object 2021-01-12 22:10:14 +01:00
Volker Berlin
a936504c4c fix UP-TP-DATE check 2021-01-10 22:00:40 +01:00
Volker Berlin
8263463be9 annotation 2021-01-03 19:20:44 +01:00
Volker Berlin
5c7f7f380c Use the GC type for strings and classes table. 2021-01-03 17:14:55 +01:00
Volker Berlin
672aca29a7 Use the GC type for strings and classes table. 2021-01-03 15:43:40 +01:00
Volker Berlin
2e3b1fc311 Webassembly only know i16 and not u16. 2021-01-03 14:52:19 +01:00
Volker Berlin
536fe8385f need also to use the component type for object array get/set instructions 2021-01-03 14:50:50 +01:00
Volker Berlin
4d2dfdeaa2 use array.get_s/get_u for packed array types (i8/i16) 2021-01-02 21:43:02 +01:00