712 Commits

Author SHA1 Message Date
Volker Berlin
783d22fa50 use valid JavaScript names for the JavaScriplt creator functions 2020-01-05 21:41:19 +01:00
Volker Berlin
6fa864b9fc throw consume also a value from the stack 2020-01-05 21:38:52 +01:00
Volker Berlin
b1f775a33b A goto to the next address is like a NOP operation 2020-01-05 20:32:26 +01:00
Volker Berlin
3823ddafc2 constructor has a hidden "this" parameter 2020-01-05 20:30:54 +01:00
Volker Berlin
f3bcd8e670 also print the generated JavaScript on error 2020-01-05 18:29:38 +01:00
Volker Berlin
1d5f097dd8 remove duplicate annotation, use the one from the webassembly-api 2020-01-03 21:16:30 +01:00
Volker Berlin
1592d79cdd returns domString in export functions. 2020-01-03 21:08:30 +01:00
Volker Berlin
e0c258b6ab use the functions manager for the static flag for more flexibility on method replace 2020-01-03 21:06:46 +01:00
Volker Berlin
d103f97c04 replace also a class with annotation 2020-01-03 19:51:58 +01:00
Volker Berlin
442b582dfc accept also AnyType as block type 2020-01-02 18:10:48 +01:00
Volker Berlin
85386f4191 change the static ClassFile cache to an instance cache 2020-01-02 16:52:38 +01:00
Volker Berlin
525a2f2f87 change the static ClassFile cache to an instance cache 2020-01-02 15:15:21 +01:00
Volker Berlin
f32a1ac067 add getAnnotation() to classFile 2020-01-02 13:12:48 +01:00
Volker Berlin
820a686192 Unbox InvocationTargetException 2020-01-01 23:04:51 +01:00
Volker Berlin
6285aee077 fix the the type of GET field of struct 2020-01-01 22:58:13 +01:00
Volker Berlin
515123d4e1 use "sourceRoot" in map instead to concatenate it to every source file name 2019-12-31 14:06:30 +01:00
Volker Berlin
7fa099298f link to wiki 2019-12-31 13:44:55 +01:00
Volker Berlin
d8d4ea05b0 Hello World Sample available 2019-12-31 13:12:34 +01:00
Volker Berlin
8589dbae66 add support for SOURCE_MAP_BASE 2019-12-31 13:04:52 +01:00
Volker Berlin
77be20ed57 correct sourceFile and className on writing 2019-12-30 23:02:25 +01:00
Volker Berlin
ff6de221f8 add hello world sample 2019-12-28 11:54:12 +01:00
Volker Berlin
d63ecdc716 add hello world sample 2019-12-28 11:49:38 +01:00
Volker Berlin
a60d58c352 add nullref 2019-12-26 17:58:23 +01:00
Volker Berlin
be882ed8ad Create js file also if target file does not exists currently. 2019-12-25 19:00:00 +01:00
Volker Berlin
2da919c9fd We need to list the used fields in the hierarchy 2019-12-24 14:25:25 +01:00
Volker Berlin
2ebc771c55 fix param names of instance methods. idx==0 is the this parameter. 2019-12-24 13:22:25 +01:00
Volker Berlin
b4ae2757c7 lambdas 2019-12-24 12:41:45 +01:00
Volker Berlin
ac2e06d7ca run tests with UTF-8 encoding on all platforms 2019-12-23 22:07:22 +01:00
Volker Berlin
7bd7e82063 Code chars in data section directly and not escaped 2019-12-23 21:28:26 +01:00
Volker Berlin
371cde8c0e get_i32 must mark as used if used for field access 2019-12-23 20:56:12 +01:00
Volker Berlin
5c3536ffd3 Enable tests because SpiderMonkey supports bigint<->i64 now. 2019-12-07 17:51:34 +01:00
Volker Berlin
0d92b32162 add the compiler self to the library path 2019-12-07 17:01:33 +01:00
Volker Berlin
aba8052de0 Move the exports after the imports in the wat format 2019-11-28 20:50:33 +01:00
Volker Berlin
7cbb8469e2 remove unused variable 2019-11-28 20:22:23 +01:00
Volker Berlin
724f39dc18 Warning for multiple CATCH blocks 2019-11-28 20:07:51 +01:00
Volker Berlin
1a89919984 the dup of this must on the end if there are no more parameters 2019-11-26 21:44:49 +01:00
Volker Berlin
d0221065fb improve error message 2019-11-26 20:30:49 +01:00
Volker Berlin
6511ab372f fix ClassCast with InvokeDynamic constant 2019-11-26 19:26:09 +01:00
Volker Berlin
2037b9e26b print also stacktrace to logger 2019-11-26 19:12:13 +01:00
Volker Berlin
8668d71b6c Fix the memory offset of strings with a dynamic synthetic function. 2019-11-24 14:44:56 +01:00
Volker Berlin
f61cebd285 implements reading from constant strings from memory 2019-11-23 20:39:10 +01:00
Volker Berlin
835cf45f61 C&P error 2019-11-21 20:02:44 +01:00
Volker Berlin
9286113b0c more wat instructions 2019-11-19 19:48:24 +01:00
Volker Berlin
947f66502b Add support for i32.load to the wat parser and some small bug fixes 2019-11-18 21:32:35 +01:00
Volker Berlin
86d239986e add memory instructions 2019-11-18 20:08:18 +01:00
Volker Berlin
ed00c7a02f add support for i32.mul to wat parser 2019-11-18 17:36:26 +01:00
Volker Berlin
35005e2a1a Activate tests again for SpiderMonkey 2019-11-17 17:53:00 +01:00
Volker Berlin
28853373c6 Handle different line encoding 2019-11-17 17:47:41 +01:00
Volker Berlin
185a0515c7 supports also constructor replacement with a Java method 2019-11-17 17:28:31 +01:00
Volker Berlin
ce1d3ddb38 improve the "ignore redefinition" in ClassPath. The first should win. 2019-11-17 17:04:35 +01:00