Commit Graph

  • bf58d2968a
    Change the used Wasm instruction from IF ELSE END to BLOCK BLOCK BR_IF END END to solve problems of complex if expressions. Volker Berlin 2022-05-26 21:50:45 +02:00
  • d1b4e6af5a
    add params to findBlockStart() Volker Berlin 2022-05-22 19:10:34 +02:00
  • 20c6516b59
    toString() for debugging Volker Berlin 2022-05-22 18:52:12 +02:00
  • 5a22c94b29
    Detect also marked as needed methods if the method was previous add as replacement Volker Berlin 2022-05-22 18:36:36 +02:00
  • 52dd9a1665
    use "java/lang/Object" as fallback type for NULL values Volker Berlin 2022-05-08 18:53:45 +02:00
  • 23199840c8
    An array returns i32 for i8 and i16. Volker Berlin 2022-05-08 17:43:47 +02:00
  • 9acda37be4
    fix conditionals expressions as method parameters in a SWITCH. Volker Berlin 2022-05-07 21:19:48 +02:00
  • f61a994d40 Merge branch 'master' of https://github.com/i-net-software/JWebAssembly.git Volker Berlin 2022-05-05 20:39:08 +02:00
  • dc8e1fe70c
    Merge pull request #34 from zephyraft/master Volker Berlin 2022-05-05 18:04:06 +02:00
  • fe3609649f Fix the serialization format error of sourceRoot field in sourcemap. zephyr 2022-05-05 17:16:17 +08:00
  • 4b2b65e883 prevent empty ELSE branches Volker Berlin 2022-04-24 18:18:29 +02:00
  • 2f8538dbf5 extract method calculateSubOperations() Volker Berlin 2022-04-24 17:19:10 +02:00
  • aabff4d93c Use BR_IF if possible. Volker Berlin 2022-04-24 16:19:41 +02:00
  • 7aaf9619bd first step for field description of classes for reflection API Volker Berlin 2022-04-18 23:20:17 +02:00
  • 4525c29263 register callbacks only if imports is needed. Volker Berlin 2022-04-18 23:10:18 +02:00
  • 593c1ee50a api doc Volker Berlin 2022-04-17 20:38:34 +02:00
  • 128906e4ef add support for global.get/set for the WatParser Volker Berlin 2022-04-16 17:31:48 +02:00
  • 0dfb7c4a34 add forName(String,ClassLoader) and cast(Object) Volker Berlin 2022-04-16 17:27:02 +02:00
  • 9c7b69b2a7 Block duplicate export names Volker Berlin 2022-04-10 11:35:20 +02:00
  • ee8e9c797e documentation link Volker Berlin 2022-04-10 10:56:52 +02:00
  • a6b8862e25 Add support for callbacks in import annotations. Volker Berlin 2022-04-03 13:58:43 +02:00
  • d8a1d6abf0 release candidate Volker Berlin 2022-04-03 13:46:35 +02:00
  • 4ceea41ebc remove bintrayUpload Volker Berlin 2022-03-27 13:11:43 +02:00
  • d57b8bc00c Emuns and Collection framework work now v0.4 Volker Berlin 2022-03-20 18:54:20 +01:00
  • c2231241ab remove debug code Volker Berlin 2022-03-20 18:28:37 +01:00
  • 04fc77e8f7 micro optimizing Volker Berlin 2022-03-20 18:17:24 +01:00
  • 379d2e5c27 Enums is working now Volker Berlin 2022-03-20 18:09:06 +01:00
  • 09ab338aa7 correct type hierarchy in isSubTypeOf() Volker Berlin 2022-03-20 18:06:08 +01:00
  • 1f51fbf036 API doc Volker Berlin 2022-03-20 18:02:09 +01:00
  • 4fbce5800c use node version 17.0.0-v8-canary2021.10.19 Volker Berlin 2022-03-20 17:58:57 +01:00
  • 8d17e7cfc5 Use the Enum hack fpr all used enums. Before it was for the enums in the libraries Volker Berlin 2022-03-19 22:12:30 +01:00
  • bf0b43fd1a The writer must be prepared before the types are written. Volker Berlin 2022-03-19 22:08:43 +01:00
  • 8ce6c1d919 Add also the result/stack if possible also if execution of the script is failing. Volker Berlin 2022-03-19 20:37:20 +01:00
  • 3e4d1794a4 correct method parameter names with debugging Volker Berlin 2022-03-19 20:05:29 +01:00
  • b11ad30ecb Ignore native methods without import annotation in replacement classes as placeholder Volker Berlin 2022-03-19 17:38:23 +01:00
  • 9470db15b7 fix loop detection for nested loops Volker Berlin 2022-03-19 17:35:18 +01:00
  • d42620ddf0 API doc Volker Berlin 2022-03-13 17:54:56 +01:00
  • f52c41ae14 fix loop detection for nested loops Volker Berlin 2022-03-13 14:16:31 +01:00
  • 7823db2708 add the field name as comment on get/set Volker Berlin 2022-03-08 16:21:58 +01:00
  • c44e24c373 API doc Volker Berlin 2022-03-08 15:30:55 +01:00
  • 69b8db16d1 call class initializer before access to static fields Volker Berlin 2022-03-08 15:13:19 +01:00
  • 710127bb44 Fix NULL values for INSTANCEOF and CAST. Volker Berlin 2022-03-06 17:00:41 +01:00
  • 91fafe3d24 Reduce cycle of static constructors Volker Berlin 2022-03-06 14:41:53 +01:00
  • 097dfae696 Add a hook to run the class/static constructor only once Volker Berlin 2022-03-06 14:27:33 +01:00
  • 28bf07567f Add setCopy()/getCopy() Volker Berlin 2022-02-27 20:46:41 +01:00
  • 3fd3c63351 share the LocaleVariableManager between multiple WasmCodeBuilder Volker Berlin 2022-02-27 20:44:42 +01:00
  • 9680ba6445 @Nonnull annotation Volker Berlin 2022-02-27 19:27:10 +01:00
  • d629fbcd02 correct LOOP detection in an ELSE block Volker Berlin 2022-02-20 18:32:07 +01:00
  • d4cf26ee05 docu Volker Berlin 2022-02-20 18:29:13 +01:00
  • 9f0f82bb06 Use also RETURN in the BranchManager to calculate the IF THEN ELSE blocks. Volker Berlin 2022-02-19 22:15:56 +01:00
  • 7f9353833e use again the latest WABT version. see https://github.com/WebAssembly/wabt/issues/1812 Volker Berlin 2022-02-19 12:58:52 +01:00
  • a28d966b94 Use variable slot instead variable index for duplicate of THIS of on virtual calls Volker Berlin 2022-02-13 22:38:14 +01:00
  • 1f045f312d Switch the parameter order for lambda expressions Volker Berlin 2022-02-13 17:15:54 +01:00
  • 84f2f45d4c fix WHILE loop after a return Volker Berlin 2022-02-13 15:46:43 +01:00
  • 86f95ad3bb fix WHILE loop after a return Volker Berlin 2022-02-13 13:18:32 +01:00
  • 8eac318ef8 Use hard-coded WABT pre-release until the latest WABT version is corrected. see https://github.com/WebAssembly/wabt/issues/1812 Volker Berlin 2022-01-30 14:53:27 +01:00
  • 71d2b91895 fix a while loop in ELSE after an return. Volker Berlin 2022-01-30 14:34:39 +01:00
  • cbcf9fdfbc use local variable for performance Volker Berlin 2022-01-29 22:11:21 +01:00
  • ec7f23a35f Fix a loop inside an ELSE block Volker Berlin 2022-01-23 16:48:40 +01:00
  • ff4f5f8151 temp variable are slots and not final indexes Volker Berlin 2022-01-09 20:48:28 +01:00
  • 7a65565659 API doc Volker Berlin 2022-01-09 20:45:31 +01:00
  • 048cbefc84 cache the pushValueType for performance improvement Volker Berlin 2022-01-09 20:44:58 +01:00
  • 4b63a98e40 does not reuse a variable if the slot is already reused with a different type. Volker Berlin 2022-01-09 20:42:56 +01:00
  • 3027f4f9b6 use 2 slots for 64 bit params from signature Volker Berlin 2022-01-08 22:17:17 +01:00
  • 2205c68a14 more stub methods in class Class Volker Berlin 2022-01-08 21:13:05 +01:00
  • 24ce6c67db more debug infos on scan Volker Berlin 2022-01-08 21:11:48 +01:00
  • 4453cc1c8f more method stubs for class Class Volker Berlin 2022-01-02 21:21:01 +01:00
  • e71161302a Use the first replacement class version on the classpath. Volker Berlin 2022-01-02 21:01:50 +01:00
  • 2fa6dfedf8 fix typo in class name Volker Berlin 2022-01-02 18:20:34 +01:00
  • 39f714a50c fix more problems with concatenated conditional operators Volker Berlin 2022-01-02 18:17:55 +01:00
  • 27faeada39 fix concatenated conditional operators Volker Berlin 2022-01-01 21:03:06 +01:00
  • db2444340e
    Merge pull request #31 from Pospelove/patch-2 Volker Berlin 2021-12-28 21:15:06 +01:00
  • 02c5fc079e
    Update README.md Leonid Pospelov 2021-12-28 02:30:17 +03:00
  • d68c74f032 Normalize empty THEN blocks to fix concated conditional operators Volker Berlin 2021-12-26 20:17:15 +01:00
  • c9e34715c9 calculate the block return type also for simple BLOCKs Volker Berlin 2021-11-21 16:29:10 +01:00
  • 66172e593f fix pop count for BR_TABLE Volker Berlin 2021-11-21 14:06:59 +01:00
  • d1732ceb1c improve calculating block return type Volker Berlin 2021-11-20 21:45:59 +01:00
  • effd5813c9 Handle a GOTO instruction that come from a CONTINUE in a loop. Volker Berlin 2021-11-16 21:28:11 +01:00
  • 296df907b8
    contributions Volker Berlin 2021-11-16 12:25:15 +01:00
  • 3204ac1b05
    native methods Volker Berlin 2021-11-16 11:54:35 +01:00
  • 041437ac55
    add Where to start? Volker Berlin 2021-11-16 11:04:38 +01:00
  • 2fa972d9bc
    Merge pull request #30 from ctrueden/patch-1 Volker Berlin 2021-11-16 10:32:37 +01:00
  • fc25882c0e
    Update CI details Curtis Rueden 2021-11-15 12:16:54 -06:00
  • 2c176b9a3f scan also super interfaces for default methods of needed method Volker Berlin 2021-11-14 13:41:20 +01:00
  • 5d7f0773da implements getCanonicalName() Volker Berlin 2021-11-06 21:16:42 +01:00
  • bb96fdcea6 stub for getMethod() Volker Berlin 2021-11-06 17:58:06 +01:00
  • 9b324fdacb Fallback on variable slot calculation Volker Berlin 2021-11-06 16:59:30 +01:00
  • 15031b3822 Stub Code for isAssignableFrom() #29 Volker Berlin 2021-11-03 20:54:39 +01:00
  • cc217841cb Add helpful hint to error message. Volker Berlin 2021-11-02 19:14:25 +01:00
  • 9d95219a6b travis.org -> travis.com Volker Berlin 2021-10-31 14:35:44 +01:00
  • 1864f438cd Normalize try catch tables Volker Berlin 2021-10-31 14:14:56 +01:00
  • 59789cd424 Normalize try catch tables Volker Berlin 2021-10-31 14:13:53 +01:00
  • b9da6fa9d7 Maven and JitPack Volker Berlin 2021-10-24 18:15:46 +02:00
  • 53a6f8c074 disable not working tests Volker Berlin 2021-10-24 17:52:11 +02:00
  • 1ba650dce5 Stub Code for getDeclaredField Volker Berlin 2021-10-24 17:36:09 +02:00
  • 2fb70dd319 clear also breakOperations Volker Berlin 2021-10-24 16:19:21 +02:00
  • e186703dd4 disabled wabt.js because https://github.com/AssemblyScript/wabt.js/issues/26 Volker Berlin 2021-10-24 15:45:14 +02:00
  • 87be1faafe Handle Conditional operator inside an if expression Volker Berlin 2021-10-24 15:29:12 +02:00
  • fec40f1d40 Improve test speed on error. Volker Berlin 2021-08-29 15:11:17 +02:00
  • 1bfe16b17b [EH] Replace event with tag https://github.com/WebAssembly/exception-handling/pull/161 Volker Berlin 2021-08-29 15:10:05 +02:00