Commit Graph

  • 6c820ba5e6 implements INSTANCEOF operation Volker Berlin 2020-02-26 18:02:59 +01:00
  • 0138eb5dc0 add i32.eq, i32.ne, loop, br and br_if to the wat parser. Volker Berlin 2020-02-26 17:57:19 +01:00
  • f761e4bf44 add support for "instanceof", WIP Volker Berlin 2020-02-26 10:35:20 +01:00
  • 2ec9600d32 Split the wasm stream for reused in generation data section stream Volker Berlin 2020-02-26 10:17:11 +01:00
  • 7a854ed786 Split the wasm stream for reused in generation data section stream Volker Berlin 2020-02-26 10:05:59 +01:00
  • 02696a6488 use a synthetic function call to calculate the function id of a virtual call. Volker Berlin 2020-02-25 18:05:12 +01:00
  • db002f8d96 API doc Volker Berlin 2020-02-25 15:36:54 +01:00
  • 742eb6e128 improve error message Volker Berlin 2020-02-25 14:57:11 +01:00
  • 2f2c39a07a simplify the initializing Volker Berlin 2020-02-24 21:08:29 +01:00
  • f2547bd0d2 duplicate THIS parameter also for interface calls Volker Berlin 2020-02-24 18:16:36 +01:00
  • cb71374f57 add interface calls, WIP Volker Berlin 2020-02-24 11:46:00 +01:00
  • a535c48363 API doc Volker Berlin 2020-02-24 11:17:11 +01:00
  • 88e539f2a0 remove dead code Volker Berlin 2020-02-24 11:14:28 +01:00
  • 8fd7ae26f7 ref_ne need also the non GC polyfill Volker Berlin 2020-02-23 20:18:57 +01:00
  • 82e5f367b8 fix debug message on error Volker Berlin 2020-02-23 20:17:37 +01:00
  • 762ecba363 Add error message for not supported class constants Volker Berlin 2020-02-23 17:51:32 +01:00
  • a57d3020f9 fix wrong debug information Volker Berlin 2020-02-23 17:50:23 +01:00
  • bc6e959c1b new access token v0.2 Volker Berlin 2020-02-18 20:16:37 +01:00
  • dfa8cd2c07 increment version Volker Berlin 2020-02-18 20:07:44 +01:00
  • efd1344ad9 bintray badge Volker Berlin 2020-02-18 20:05:58 +01:00
  • 94f1a07d49 Put event section before global sectionhttps://github.com/WebAssembly/exception-handling/pull/100#event-3027557988 Volker Berlin 2020-02-12 21:34:00 +01:00
  • 8379416cb8 add support for multi dimension array allocation Volker Berlin 2020-02-09 18:05:31 +01:00
  • d460aac03f remove --wasm-bigint switch Volker Berlin 2020-02-09 16:31:12 +01:00
  • ce05e7aa5d remove obsolete hack Volker Berlin 2020-02-01 20:31:27 +01:00
  • 5410764249 implement CAST operation, WIP Volker Berlin 2020-02-01 20:29:29 +01:00
  • 8c12f5a3c9 implement "instanceof", WIP Volker Berlin 2020-02-01 16:49:52 +01:00
  • 3d8b759a2d ref type coding changed Volker Berlin 2020-01-26 20:49:02 +01:00
  • 674eb84129 test for interface calls Volker Berlin 2020-01-26 14:29:27 +01:00
  • 800edc837d test for partial lambda code Volker Berlin 2020-01-26 13:11:11 +01:00
  • f64ed4feee API doc Volker Berlin 2020-01-26 12:39:00 +01:00
  • 43b41d4fad interface call, WIP Volker Berlin 2020-01-25 23:42:22 +01:00
  • 691d8986df String support Volker Berlin 2020-01-25 21:38:25 +01:00
  • 45b5a4a955 InvokeDynamic, WIP Volker Berlin 2020-01-25 21:17:42 +01:00
  • 4872dd137a Add support for partial classes Volker Berlin 2020-01-19 15:15:01 +01:00
  • 7894963612
    Merge pull request #12 from munchkinhalfling/patch-1 Volker Berlin 2020-01-18 15:50:46 +01:00
  • 065fbbc566
    Fix wiki link munchkinhalfling 2020-01-18 09:04:03 -05:00
  • 5f3c199e34 handle the empty DataCount section of WABT 1.0.13 Volker Berlin 2020-01-18 13:21:43 +01:00
  • 7247623dc6 use also registered replace methods if does not exists an original in the current search path. Volker Berlin 2020-01-12 19:13:20 +01:00
  • 8a24d0b8b8 remove debug code Volker Berlin 2020-01-12 19:11:08 +01:00
  • b1e89a91ca add support for default methods Volker Berlin 2020-01-12 17:13:52 +01:00
  • 735aadbab4 fix NPE Volker Berlin 2020-01-12 16:59:02 +01:00
  • dab750f3b6 log first occur of a method call Volker Berlin 2020-01-12 14:19:05 +01:00
  • e43a8277c1 add option WASM_USE_EH to ignore exception support because currently not supported Volker Berlin 2020-01-12 12:46:00 +01:00
  • 54d2deef4f add option WASM_USE_EH to ignore exception support because currently not supported Volker Berlin 2020-01-12 12:42:31 +01:00
  • 4377db747d use needThisParameter for popCount of method calls Volker Berlin 2020-01-11 21:48:04 +01:00
  • f87e1c6519 api doc Volker Berlin 2020-01-11 21:21:53 +01:00
  • 1998b2b5b2 Instead the static flag we need to handle if there is an additional "this" parameter. Volker Berlin 2020-01-11 20:31:05 +01:00
  • 396bafa234 api doc Volker Berlin 2020-01-11 18:31:07 +01:00
  • 8d37faa81d improve the caching of parsed class files Volker Berlin 2020-01-07 19:54:05 +01:00
  • 3dbca800bb The constructor has one parameter more. Volker Berlin 2020-01-05 22:07:20 +01:00
  • 0201157ffb Also the throw instruction need the event handling Volker Berlin 2020-01-05 21:54:17 +01:00
  • ee4409311f The object allocation does not consume a value from stack Volker Berlin 2020-01-05 21:42:36 +01:00
  • 783d22fa50 use valid JavaScript names for the JavaScriplt creator functions Volker Berlin 2020-01-05 21:41:19 +01:00
  • 6fa864b9fc throw consume also a value from the stack Volker Berlin 2020-01-05 21:38:52 +01:00
  • b1f775a33b A goto to the next address is like a NOP operation Volker Berlin 2020-01-05 20:32:26 +01:00
  • 3823ddafc2 constructor has a hidden "this" parameter Volker Berlin 2020-01-05 20:30:54 +01:00
  • f3bcd8e670 also print the generated JavaScript on error Volker Berlin 2020-01-05 18:29:38 +01:00
  • 1d5f097dd8 remove duplicate annotation, use the one from the webassembly-api Volker Berlin 2020-01-03 21:16:30 +01:00
  • 1592d79cdd returns domString in export functions. Volker Berlin 2020-01-03 21:08:30 +01:00
  • e0c258b6ab use the functions manager for the static flag for more flexibility on method replace Volker Berlin 2020-01-03 21:06:46 +01:00
  • d103f97c04 replace also a class with annotation Volker Berlin 2020-01-03 19:51:58 +01:00
  • 442b582dfc accept also AnyType as block type Volker Berlin 2020-01-02 18:10:48 +01:00
  • 85386f4191 change the static ClassFile cache to an instance cache Volker Berlin 2020-01-02 16:52:38 +01:00
  • 525a2f2f87 change the static ClassFile cache to an instance cache Volker Berlin 2020-01-02 15:15:21 +01:00
  • f32a1ac067 add getAnnotation() to classFile Volker Berlin 2020-01-02 13:12:48 +01:00
  • 820a686192 Unbox InvocationTargetException Volker Berlin 2020-01-01 23:04:51 +01:00
  • 6285aee077 fix the the type of GET field of struct Volker Berlin 2020-01-01 22:58:13 +01:00
  • 515123d4e1 use "sourceRoot" in map instead to concatenate it to every source file name Volker Berlin 2019-12-31 14:06:30 +01:00
  • 7fa099298f link to wiki Volker Berlin 2019-12-31 13:44:55 +01:00
  • d8d4ea05b0 Hello World Sample available Volker Berlin 2019-12-31 13:12:34 +01:00
  • 8589dbae66 add support for SOURCE_MAP_BASE Volker Berlin 2019-12-31 13:04:52 +01:00
  • 77be20ed57 correct sourceFile and className on writing Volker Berlin 2019-12-30 23:02:25 +01:00
  • ff6de221f8 add hello world sample Volker Berlin 2019-12-28 11:54:12 +01:00
  • d63ecdc716 add hello world sample Volker Berlin 2019-12-28 11:49:38 +01:00
  • a60d58c352 add nullref Volker Berlin 2019-12-26 17:58:23 +01:00
  • be882ed8ad Create js file also if target file does not exists currently. Volker Berlin 2019-12-25 19:00:00 +01:00
  • 2da919c9fd We need to list the used fields in the hierarchy Volker Berlin 2019-12-24 14:25:25 +01:00
  • 2ebc771c55 fix param names of instance methods. idx==0 is the this parameter. Volker Berlin 2019-12-24 13:22:25 +01:00
  • b4ae2757c7 lambdas Volker Berlin 2019-12-24 12:41:45 +01:00
  • ac2e06d7ca run tests with UTF-8 encoding on all platforms Volker Berlin 2019-12-23 22:07:22 +01:00
  • 7bd7e82063 Code chars in data section directly and not escaped Volker Berlin 2019-12-23 21:28:26 +01:00
  • 371cde8c0e get_i32 must mark as used if used for field access Volker Berlin 2019-12-23 20:56:12 +01:00
  • 5c3536ffd3 Enable tests because SpiderMonkey supports bigint<->i64 now. Volker Berlin 2019-12-07 17:51:34 +01:00
  • 0d92b32162 add the compiler self to the library path Volker Berlin 2019-12-07 17:01:33 +01:00
  • aba8052de0 Move the exports after the imports in the wat format Volker Berlin 2019-11-28 20:50:33 +01:00
  • 7cbb8469e2 remove unused variable Volker Berlin 2019-11-28 20:22:23 +01:00
  • 724f39dc18 Warning for multiple CATCH blocks Volker Berlin 2019-11-28 20:07:51 +01:00
  • 1a89919984 the dup of this must on the end if there are no more parameters Volker Berlin 2019-11-26 21:44:49 +01:00
  • d0221065fb improve error message Volker Berlin 2019-11-26 20:30:49 +01:00
  • 6511ab372f fix ClassCast with InvokeDynamic constant Volker Berlin 2019-11-26 19:26:09 +01:00
  • 2037b9e26b print also stacktrace to logger Volker Berlin 2019-11-26 19:12:13 +01:00
  • 8668d71b6c Fix the memory offset of strings with a dynamic synthetic function. Volker Berlin 2019-11-24 14:44:56 +01:00
  • f61cebd285 implements reading from constant strings from memory Volker Berlin 2019-11-23 20:39:10 +01:00
  • 835cf45f61 C&P error Volker Berlin 2019-11-21 20:02:44 +01:00
  • 9286113b0c more wat instructions Volker Berlin 2019-11-19 19:48:24 +01:00
  • 947f66502b Add support for i32.load to the wat parser and some small bug fixes Volker Berlin 2019-11-18 21:32:35 +01:00
  • 86d239986e add memory instructions Volker Berlin 2019-11-18 20:08:18 +01:00
  • ed00c7a02f add support for i32.mul to wat parser Volker Berlin 2019-11-18 17:36:26 +01:00
  • 35005e2a1a Activate tests again for SpiderMonkey Volker Berlin 2019-11-17 17:53:00 +01:00
  • 28853373c6 Handle different line encoding Volker Berlin 2019-11-17 17:47:41 +01:00