Commit Graph

  • 0ef00ba2ab hack for Enum.valueOf(String) Volker Berlin 2021-08-29 13:44:29 +02:00
  • 76b84e3eee Typing error Volker Berlin 2021-08-29 12:17:54 +02:00
  • 4d1c2730bb try with sudo for github actions Volker Berlin 2021-07-10 22:57:10 +02:00
  • a49e740e82 more details on error Volker Berlin 2021-07-10 22:32:46 +02:00
  • 35a6e7d924 compatible with Gradle 7 Volker Berlin 2021-07-10 22:32:08 +02:00
  • a47d1e3bc8 reduce compiler warnings Volker Berlin 2021-07-10 22:30:53 +02:00
  • fdceb07079 Start Github actions Volker Berlin 2021-07-10 21:56:05 +02:00
  • cd96ed0d03 Fix jump for multiple exception catch Volker Berlin 2021-07-10 19:10:01 +02:00
  • d2ab56d61a API Doc Volker Berlin 2021-07-10 18:44:11 +02:00
  • bac4522cfc correct decoding of exception handling Volker Berlin 2021-06-13 19:36:03 +02:00
  • 5fef399743 Handle DUP2 as two dup if used for non 64 bit values from stack (non variables) Volker Berlin 2021-06-06 21:26:24 +02:00
  • 71fad44962 Handle call of Object methods from arrays Volker Berlin 2021-05-30 21:29:50 +02:00
  • 0cd5eab774 Enum support Volker Berlin 2021-05-30 20:40:02 +02:00
  • 3003daf65f implements Class.isPrimitive() Volker Berlin 2021-05-30 15:35:37 +02:00
  • 8fccc94615 Replace native methods with methods from partial classes. Volker Berlin 2021-05-30 11:52:09 +02:00
  • e54fa767c1 add isEnum() Volker Berlin 2021-05-30 11:30:43 +02:00
  • 3508ed3e19 more Class API replacement stubs Volker Berlin 2021-05-30 10:52:57 +02:00
  • 6520370e02 Handle DUP2 as two dup if used for non 64 bit values Volker Berlin 2021-05-23 22:12:29 +02:00
  • 534cd19c0f implements Class.getSimpleName() Volker Berlin 2021-05-23 14:36:18 +02:00
  • 4f4f9ddc29 implement Class.isArray Volker Berlin 2021-05-23 12:42:37 +02:00
  • 466714bd88 more stub methods to compile the Java runtime Volker Berlin 2021-05-23 12:04:20 +02:00
  • 428794efae use original visibility also if not needed Volker Berlin 2021-05-23 11:58:35 +02:00
  • 4e9e5ca069 Fix IF construct with conditional operator inside THEN. Volker Berlin 2021-05-16 18:44:23 +02:00
  • 712ce90393 Add some stub code Volker Berlin 2021-05-02 14:47:39 +02:00
  • 6d89fa8eca Handle array component type for not init (null) values. Volker Berlin 2021-05-02 14:19:55 +02:00
  • 631bd4efc3 Define the this parameter with the best matching type. Volker Berlin 2021-05-02 14:08:19 +02:00
  • f97b24a933 API Doc Volker Berlin 2021-05-02 14:03:25 +02:00
  • c1b0feb0d5 Any array is a subtype of eqref Volker Berlin 2021-05-02 13:56:36 +02:00
  • 5d2a3805db Does not write the type eqref to the output if GC is not enabled Volker Berlin 2021-05-02 13:54:11 +02:00
  • 2d7b7f2f50 TODO Volker Berlin 2021-05-02 11:46:07 +02:00
  • 922c7dbd71 lambda tests Volker Berlin 2021-04-17 20:27:51 +02:00
  • 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. Volker Berlin 2021-04-17 20:27:28 +02:00
  • d271ac1a2f Parse annotations with arrays Volker Berlin 2021-04-03 22:07:48 +02:00
  • 1771ab1f39 Add support for Lambda expressions with parameters Volker Berlin 2021-04-03 22:06:39 +02:00
  • 6d4379b2e8 implements StructType.isSubTypeOf(x) for Arrays and Lambdas Volker Berlin 2021-03-28 20:32:52 +02:00
  • 1f167d99b9 implements StructType.isSubTypeOf(x) Volker Berlin 2021-03-28 15:16:45 +02:00
  • f4fd312d31 fix assignment of parameters from stack for lambda expressions with parameters Volker Berlin 2021-03-28 10:56:51 +02:00
  • d480471e27 Use also local.tee instruction for reused with dup instructions Volker Berlin 2021-03-27 18:27:00 +01:00
  • 4e2f35a073 ApiDoc @Nonnull Volker Berlin 2021-03-27 16:37:30 +01:00
  • b755f6fd08 simplify cast like GC milestone 3 Volker Berlin 2021-03-27 14:42:25 +01:00
  • 43ae520d5a Ignore not existing paths and does not show an error message. Volker Berlin 2021-03-27 13:31:29 +01:00
  • acd8a4ca9d bintay -> sonatype Volker Berlin 2021-03-20 21:18:56 +01:00
  • 4e375e2f0e fix some warnings Volker Berlin 2021-03-20 21:00:15 +01:00
  • a80e3efa93 Wabt.js support the new exception proposal now Volker Berlin 2021-03-09 20:07:57 +01:00
  • a6222e634b WABT supports the current exception proposal now Volker Berlin 2021-03-03 18:10:08 +01:00
  • 66ee596fcf pass the parameters of a lamba expression to the lambda type Volker Berlin 2021-02-28 22:20:49 +01:00
  • d3261149e6 Update the exception handling support to the current proposal Volker Berlin 2021-02-27 22:22:24 +01:00
  • cf7e66901d Add support for complex block types Volker Berlin 2021-02-27 20:40:30 +01:00
  • 27199c53db use node version 16.0.0-v8-canary2021.02.23 Volker Berlin 2021-02-23 18:29:18 +01:00
  • 67bb2f93ce jcenter() -> mavenCentral() Volker Berlin 2021-02-17 15:01:19 +01:00
  • f3531914f0 fix binary coding of types in table section Volker Berlin 2021-02-14 19:16:20 +01:00
  • 945c245802 use the right opcode for NEW_WITH_RTT (c&p error) Volker Berlin 2021-02-14 18:32:51 +01:00
  • 99e406958f Type specific NULL constant values. Volker Berlin 2021-02-14 16:27:10 +01:00
  • 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. Volker Berlin 2021-02-14 11:22:21 +01:00
  • c1e8191ee0 use also ref.cast for every cast. Volker Berlin 2021-02-13 20:56:42 +01:00
  • 0a21fd9de9 Fix array type syntax. https://github.com/WebAssembly/wasp/issues/55 Volker Berlin 2021-02-13 15:05:40 +01:00
  • fd2131e6dd sourceCompatibility = 1.8 Volker Berlin 2021-02-13 14:25:42 +01:00
  • bb97efa1f5 enable lambda expressions Volker Berlin 2021-01-24 18:57:00 +01:00
  • 740b7a8c19 add a variable slot for THIS parameter to lambda methods to increment the variable index. Volker Berlin 2021-01-24 18:41:01 +01:00
  • c1869baee5 add THIS parameter to lambda methods Volker Berlin 2021-01-24 13:49:23 +01:00
  • a6a038aad0 move every function parameter declaration to its own line for a better readable. Volker Berlin 2021-01-24 13:46:22 +01:00
  • 75a78c2ac2 move every function parameter declaration to its own line for a better readable. Volker Berlin 2021-01-24 11:08:54 +01:00
  • 3e42160655 implement more Lambda stuff Volker Berlin 2021-01-23 22:16:16 +01:00
  • cde24d98ed Fix Struct.NEW_DEFAULT for GC mode. Volker Berlin 2021-01-16 17:38:11 +01:00
  • 87af94232c add script engine Wat2WasmGC Volker Berlin 2021-01-12 22:40:43 +01:00
  • de1befcc1d Make interfaces castable to java/lang/Object Volker Berlin 2021-01-12 22:10:14 +01:00
  • a936504c4c fix UP-TP-DATE check Volker Berlin 2021-01-10 22:00:40 +01:00
  • 8263463be9 annotation Volker Berlin 2021-01-03 19:20:44 +01:00
  • 5c7f7f380c Use the GC type for strings and classes table. Volker Berlin 2021-01-03 17:14:55 +01:00
  • 672aca29a7 Use the GC type for strings and classes table. Volker Berlin 2021-01-03 15:43:40 +01:00
  • 2e3b1fc311 Webassembly only know i16 and not u16. Volker Berlin 2021-01-03 14:52:19 +01:00
  • 536fe8385f need also to use the component type for object array get/set instructions Volker Berlin 2021-01-03 14:50:50 +01:00
  • 4d2dfdeaa2 use array.get_s/get_u for packed array types (i8/i16) Volker Berlin 2021-01-02 21:43:02 +01:00
  • 6bd993617c fix the order of parameters on the stack for array.get/set Volker Berlin 2021-01-02 20:48:29 +01:00
  • 762d7d2f6c use node version 16.0.0-v8-canary2020.10.28 Volker Berlin 2021-01-02 18:27:13 +01:00
  • 46b09a05bd fix declaring of array types in binary format Volker Berlin 2021-01-02 18:18:28 +01:00
  • f9de14d88e improve array handling for GC mode Volker Berlin 2021-01-02 16:44:38 +01:00
  • c96b27a12e declare the native array type with GC enabled Volker Berlin 2020-12-27 17:39:35 +01:00
  • 6b6e6843cb Upload compiled sample that works again with the current browsers. fix #21 Volker Berlin 2020-12-13 14:20:34 +01:00
  • 49f2d44bcb use DOMString for tests Volker Berlin 2020-12-12 21:29:17 +01:00
  • 26ec7ece48 Handle different versions of a class in the library path Volker Berlin 2020-12-12 20:42:46 +01:00
  • 2c0db289cd match eqref also to "java/lang/Object" like externref Volker Berlin 2020-12-08 20:56:20 +01:00
  • 58d6cbc4de Does not register primitive types as StructType in wasm Volker Berlin 2020-09-30 20:17:15 +02:00
  • 71b28f1d47 use real type code for arrays Volker Berlin 2020-09-27 14:04:07 +02:00
  • 1c84eac0dc implements java/lang/reflect/Array.newInstance Volker Berlin 2020-09-27 13:17:58 +02:00
  • a74563c5d1 separate the native WASM code in a separate package Volker Berlin 2020-09-26 18:43:41 +02:00
  • ad1ea166dd Switch to the latest GC coding of V8 Volker Berlin 2020-09-26 15:59:57 +02:00
  • 856194dbce fix type handling for NUL values with GC support Volker Berlin 2020-09-24 21:46:02 +02:00
  • 77d81e3f13 API doc Volker Berlin 2020-09-24 20:56:54 +02:00
  • b14a1f3202 API doc Volker Berlin 2020-09-24 20:55:14 +02:00
  • 3cf999510b semicolon is not a valid name character, can occur in array class names Volker Berlin 2020-09-24 20:30:53 +02:00
  • b9a904ab42 Fix array class name for more complex object arrays Volker Berlin 2020-09-23 19:47:06 +02:00
  • 0d7beb611b docu Volker Berlin 2020-09-23 19:45:00 +02:00
  • f40173a7f6 Replacement for Array.getLength(x) Volker Berlin 2020-09-20 14:00:41 +02:00
  • 622fd5d63c use constants for primitive type IDs Volker Berlin 2020-09-20 13:59:13 +02:00
  • 0290a5f8e4 Add support for Wat instruction array.len Volker Berlin 2020-09-20 13:53:57 +02:00
  • 40ec79238b reactivate node tests Volker Berlin 2020-09-20 11:05:30 +02:00
  • de55f414b0 some improvements for GC Volker Berlin 2020-09-17 21:07:09 +02:00
  • 1fc21e4033 remove annotation Volker Berlin 2020-08-18 08:27:19 +02:00
  • be56c02b15 improve array handling with GC Volker Berlin 2020-08-09 19:19:58 +02:00