Commit Graph

  • 3095f29f3d floating point numbers must written with hexadecimal literals Volker Berlin 2019-04-19 17:39:49 +02:00
  • decfdf77f1 SpiderMonkey required global initial values in parentheses Volker Berlin 2019-04-19 17:39:03 +02:00
  • 8ae609a5f5 Same error message for all SpiderMonkey tests. Volker Berlin 2019-04-19 16:06:29 +02:00
  • cfa3a4377e Patch the function names for SpiderMonkey to handle its limitation. Volker Berlin 2019-04-19 16:00:43 +02:00
  • 839a7fda89 Use its own compiler result for SpiderMonkey Volker Berlin 2019-04-19 15:57:56 +02:00
  • cb65505596 use temporary variables for a DUP instead a function call with multiple return types because SpiderMonkey it does not support it currently and it also seems more efficient. Volker Berlin 2019-04-19 10:58:00 +02:00
  • 4ed31cd8f9 correct small problems in test Volker Berlin 2019-04-19 10:54:56 +02:00
  • 481bffe31a Fix the type of array.get operation. Before it was ever i32 from array index. Volker Berlin 2019-04-17 18:26:52 +02:00
  • f0a0b0116b fix idx of hidden variables Volker Berlin 2019-04-14 15:42:37 +02:00
  • 9653520c2b Rewrite the LocalVariableManager to handle the Java reuse of a variable slot with different type. Volker Berlin 2019-04-14 14:29:09 +02:00
  • 0ad94fbc56 Fix the lineNumer in some WasmExceptions Volker Berlin 2019-04-14 14:06:56 +02:00
  • cd7e20f5ed pass the LocalVariableTable and the code position of variable using to the VariableManager Volker Berlin 2019-04-06 17:51:29 +02:00
  • 03a5c36ace API doc Volker Berlin 2019-04-06 17:49:28 +02:00
  • 6c1e3e6322 add i/O error tests Volker Berlin 2019-04-04 18:56:41 +02:00
  • d6464541e9 test getProperty() Volker Berlin 2019-04-04 18:55:20 +02:00
  • 58fbce005a simplify Volker Berlin 2019-04-04 18:54:52 +02:00
  • 2ea1073bf5
    Merge pull request #7 from hcientist/patch-1 Volker Berlin 2019-04-03 20:14:24 +02:00
  • 4ccd3aaf11
    corrected misspelling in feature table Michael Stewart 2019-04-03 08:53:11 -04:00
  • 76435a76b9 Add package path to Java source files Volker Berlin 2019-04-02 20:58:01 +02:00
  • cba37f1cef remove debug code Volker Berlin 2019-04-02 20:57:00 +02:00
  • 209d72faec test NPE Volker Berlin 2019-04-01 21:34:55 +02:00
  • a9554930f3 The source map lines are not zero based. Lines are one based. #6 Volker Berlin 2019-04-01 21:22:04 +02:00
  • 3ba7b44089 The source map lines are not zero based. Lines are one based. fix #6 Volker Berlin 2019-04-01 20:35:20 +02:00
  • 47430b3bc0 Fix the offset for the source map positions. #6 Volker Berlin 2019-04-01 20:33:12 +02:00
  • dd9eb4b049 write sourceMappingURL custom section Volker Berlin 2019-04-01 16:17:41 +02:00
  • 40fdbaffc5 test direct compile again Volker Berlin 2019-04-01 14:42:15 +02:00
  • ce93ce517e Write a source map if DebugNames is enabled. #6 Volker Berlin 2019-03-31 13:29:40 +02:00
  • 82bf9f7eea generalize the size() implementation Volker Berlin 2019-03-31 12:25:10 +02:00
  • 5e40f1603e pass the line number to the parsed instructions for a source map generation #6 Volker Berlin 2019-03-31 11:23:45 +02:00
  • 0b1ff00ae5 next step for source map #6 Volker Berlin 2019-03-31 10:39:59 +02:00
  • e5036cc053 remove warnings Volker Berlin 2019-03-31 10:26:08 +02:00
  • accf9188ef ApiDoc Volker Berlin 2019-03-31 09:51:21 +02:00
  • ed4fac4cbd Add a target handler. Volker Berlin 2019-03-30 22:23:36 +01:00
  • 7d8424a2b0 pass sourcefile for a source map. #6 Volker Berlin 2019-03-28 18:26:25 +01:00
  • 97b7b9dafd passing code position for a source map. #6 Volker Berlin 2019-03-26 18:21:20 +01:00
  • 018fa3896a tail call opcodes Volker Berlin 2019-03-23 17:10:47 +01:00
  • 7ce99bec72 throw an exception for old byte code instructions Volker Berlin 2019-03-23 16:05:14 +01:00
  • 8f4a3cdd3a other Java languages Volker Berlin 2019-03-23 16:03:59 +01:00
  • 66945d2974 improve "goto_w" support Volker Berlin 2019-03-21 21:14:21 +01:00
  • 0b3c1987f5 first support for "goto_w" Java bytecode instruction Volker Berlin 2019-03-20 19:11:38 +01:00
  • 1b6fd3c7a5 Replace the fix length of 3 byte for GOTO with a nextPosition because goto_w use 5 bytes. Volker Berlin 2019-03-19 19:35:42 +01:00
  • 0b49204793 use declared local names for local.set/get Volker Berlin 2019-03-14 22:10:35 +01:00
  • 40d61c56a8 support for more as 255 variable slots added. Volker Berlin 2019-03-13 22:09:21 +01:00
  • f85b51e210 status update Volker Berlin 2019-03-13 22:06:44 +01:00
  • 4bb145d116 Error message for native methods Volker Berlin 2019-03-12 22:36:43 +01:00
  • c2be64a525 implements java bytecode frem and drem Volker Berlin 2019-03-12 21:27:23 +01:00
  • 3d5a98627f improve wat parser for native support. #2 Volker Berlin 2019-03-12 21:21:06 +01:00
  • 2a72dfa58d support offline tests Volker Berlin 2019-03-12 21:19:20 +01:00
  • 8e9533b2c3 enable reference_types for NodeWat test Volker Berlin 2019-03-12 21:16:42 +01:00
  • 2e7370dcfd ignore monitorenter and monitorexit from synchronized blocks. see #5 Volker Berlin 2019-03-10 18:32:26 +01:00
  • cd729d1b41 Optimize: merge local.set, local.get --> local.tee Volker Berlin 2019-03-10 12:05:10 +01:00
  • 86defc3792 improve exception handling Volker Berlin 2019-03-09 13:22:40 +01:00
  • 785a0db74c fix event section type Volker Berlin 2019-03-03 22:06:14 +01:00
  • fb3ed8795e Add UNREACHABLE also if the branchkmanger adds some blocks instructions Volker Berlin 2019-03-03 21:33:09 +01:00
  • cd2f07733d improve the compiling of exceptions Volker Berlin 2019-03-02 21:54:27 +01:00
  • b9bbb1c56d improve error message Volker Berlin 2019-03-02 21:52:56 +01:00
  • 3fbb679cb8 add producer section Volker Berlin 2019-02-28 21:38:17 +01:00
  • e47ee64a7b add producer section Volker Berlin 2019-02-28 21:28:23 +01:00
  • 14229c374f Add version to manifest. Volker Berlin 2019-02-28 21:27:10 +01:00
  • 2d2a5f4b68 write event section if exception handling is used. Volker Berlin 2019-02-27 21:55:55 +01:00
  • 861ba5c62f Simplify the syntax for replace Volker Berlin 2019-02-25 18:26:33 +01:00
  • 7904f4026e Add support for Replace annotation to replace a single method. fix #4 Volker Berlin 2019-02-24 20:02:36 +01:00
  • 9d1e4ef6f3 improve getAnnotation(String) Volker Berlin 2019-02-24 14:49:36 +01:00
  • e94d80dc7f use snapshot of jwebassembly-api Volker Berlin 2019-02-23 21:56:11 +01:00
  • 4c3c0501d2 rename to BR_ON_EXN Volker Berlin 2019-02-23 18:35:27 +01:00
  • 3e365d718a print already written text format to syserr if an exception occur to understand easer where the problem come from. Volker Berlin 2019-02-23 16:28:04 +01:00
  • 09a9e66e42 Fix missing END of TRY CATCH with RETURN in CATCH block. Volker Berlin 2019-02-23 14:59:43 +01:00
  • abb6c8a38a enable-exceptions in Wat2Wasm Volker Berlin 2019-02-23 14:16:05 +01:00
  • f08b3d0869 Replace the github API for downloading WABT with web GUI because it is limit from Travis. Volker Berlin 2019-02-23 14:06:36 +01:00
  • 9bcc7347c1 Change the old text format to the new format. fix #3 Volker Berlin 2019-02-22 23:19:10 +01:00
  • f5ed8aeeb6 get_local --> local.get, set_local --> local.set, see #3 Volker Berlin 2019-02-20 21:42:52 +01:00
  • de320797a6 prepare node wabt module only if needed Volker Berlin 2019-02-19 21:00:05 +01:00
  • fce938f6fd Use Wat2Wasm tool to test the text format. Volker Berlin 2019-02-17 10:11:16 +01:00
  • b4ca501f4c Does not save reused variables. Does not increment the maxLocals count. Volker Berlin 2019-02-17 09:54:47 +01:00
  • 6246840f90 Fix ArrayIndexOutOfRange with temp variable Volker Berlin 2019-02-17 09:52:04 +01:00
  • 99f7248fc8 fix NPE Volker Berlin 2019-02-15 20:17:00 +01:00
  • c57e5d42cf fix local variable names Volker Berlin 2019-02-15 20:02:13 +01:00
  • 17acda9456 Start with the optimizer Volker Berlin 2019-02-12 21:18:42 +01:00
  • c43a571c30 download wabt tool Volker Berlin 2019-02-12 21:16:34 +01:00
  • d29efc864d - Volker Berlin 2019-02-08 18:29:47 +01:00
  • 93f4d4ae5f - Volker Berlin 2019-02-08 18:11:51 +01:00
  • ff345e68c2 normalization the local instruction Volker Berlin 2019-01-27 21:13:48 +01:00
  • 80e922fa26 status update Volker Berlin 2019-01-26 19:36:48 +01:00
  • 0d0e606983 Pass the StructType of WasmStructInstruction to the LocalevariableManager Volker Berlin 2019-01-23 20:27:57 +01:00
  • 24f1c24a84 Cleanup Volker Berlin 2019-01-23 20:24:47 +01:00
  • 6db1a8d1f5 DataCount Volker Berlin 2019-01-23 17:56:50 +01:00
  • 145a39079b use AnyType instead ValueType in the VariableManager Volker Berlin 2019-01-20 19:58:23 +01:00
  • a06a93dd37 remove unused classes Volker Berlin 2019-01-20 17:41:10 +01:00
  • a8c5affb18 handle null values Volker Berlin 2019-01-20 11:31:33 +01:00
  • d0550a7642 improve logging Volker Berlin 2019-01-20 11:31:12 +01:00
  • 29911bc586 use synthetic method for dup instruction to handle the type dynamically Volker Berlin 2019-01-20 10:41:33 +01:00
  • 238a281757 Move the call to ValueTypeParser into the FunctionName Volker Berlin 2019-01-18 18:17:19 +01:00
  • b677355c0f Convert ValueTypeParser to an Iterator Volker Berlin 2019-01-18 17:48:12 +01:00
  • 1376af2f3f Rename StorageType to AnyType. Volker Berlin 2019-01-14 20:09:00 +01:00
  • 522f25c326 improve supported array opertions Volker Berlin 2019-01-13 14:42:24 +01:00
  • 9e4d83861c implements struct.get/set Volker Berlin 2019-01-13 11:47:57 +01:00
  • caa59cab83 implements struct.get/set Volker Berlin 2019-01-13 11:36:07 +01:00
  • 98f6265abd Update status of the project Volker Berlin 2019-01-13 11:33:36 +01:00
  • 9ac92316f6 Write the real type of StructType instead anytype Volker Berlin 2019-01-11 22:21:59 +01:00
  • d2683a32d7 set all fields mutable Volker Berlin 2019-01-11 20:09:54 +01:00