Volker Berlin
|
d103f97c04
|
replace also a class with annotation
|
2020-01-03 19:51:58 +01:00 |
|
Volker Berlin
|
525a2f2f87
|
change the static ClassFile cache to an instance cache
|
2020-01-02 15:15:21 +01:00 |
|
Volker Berlin
|
77be20ed57
|
correct sourceFile and className on writing
|
2019-12-30 23:02: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
|
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
|
ce1d3ddb38
|
improve the "ignore redefinition" in ClassPath. The first should win.
|
2019-11-17 17:04:35 +01:00 |
|
Volker Berlin
|
8f36ed4d6d
|
initial checkin for StringManager (WIP)
|
2019-11-10 12:57:58 +01:00 |
|
Volker Berlin
|
d1bb7cac23
|
pass the method with signature to the VariableManager as fallback
|
2019-09-23 20:33:21 +02:00 |
|
Volker Berlin
|
53319942ae
|
set initial values of non GC struct values
|
2019-09-15 15:42:50 +02:00 |
|
Volker Berlin
|
b4d2f6caa2
|
use WasmOptions on more places for consistency
|
2019-09-10 17:49:05 +02:00 |
|
Volker Berlin
|
c1041325b7
|
add WasmOptions to reduce boilerplate code
|
2019-09-09 21:07:45 +02:00 |
|
Volker Berlin
|
4e3c11553f
|
prepare the polyfill of struct/Object instruction
|
2019-09-08 13:55:22 +02:00 |
|
Volker Berlin
|
ebf3673ef6
|
Prepare support for SyntheticFunctionName for imported JavaScript functions
|
2019-09-07 21:24:17 +02:00 |
|
Volker Berlin
|
0b28099674
|
Add ArrayType and improve the Java type parser.
|
2019-08-14 20:07:39 +02:00 |
|
Volker Berlin
|
615efbd11f
|
use class and method name as default import setting if not set
|
2019-08-09 21:58:42 +02:00 |
|
Volker Berlin
|
5883adc2af
|
pass the compiler properties to sub classes
|
2019-08-08 19:28:27 +02:00 |
|
Volker Berlin
|
20d2b7f44e
|
improve error messages
|
2019-08-08 17:47:57 +02:00 |
|
Volker Berlin
|
8726bb92d6
|
use fine() log level because it is not enable by default
|
2019-07-21 13:55:29 +02:00 |
|
Volker Berlin
|
e37caf06b1
|
add logging
|
2019-07-19 22:29:34 +02:00 |
|
Volker Berlin
|
d960ece4a7
|
Add function signature to error message
|
2019-07-06 16:45:23 +02:00 |
|
Volker Berlin
|
d9e8b70d06
|
Use JavaScript imports generated from the imports declarations.
|
2019-07-03 20:09:22 +02:00 |
|
Volker Berlin
|
6bcda0daa5
|
import only the needed functions to reduce the needed JS glue code
|
2019-06-23 20:50:11 +02:00 |
|
Volker Berlin
|
91ccf92796
|
If there a replacement method then use it also on scanning in prepare phase.
|
2019-06-22 11:11:14 +02:00 |
|
Volker Berlin
|
0a4d03e974
|
Mark override methods as needed if the super methods are needed.
|
2019-06-10 11:39:19 +02:00 |
|
Volker Berlin
|
1ee77584d9
|
write the vtable of objects to the data section. Use the vtable offset into the data section in the new operation of objects.
|
2019-06-09 17:17:47 +02:00 |
|
Volker Berlin
|
c410adc636
|
define the types in the prepare phase.
|
2019-06-04 18:09:34 +02:00 |
|
Volker Berlin
|
557c348ed7
|
extract writeMethodParamStart() from writeMethodStart() and prepareImport()
|
2019-06-02 11:44:28 +02:00 |
|
Volker Berlin
|
fd43aca97b
|
Move the analyzing and writing of types in the TypeManager
|
2019-05-19 15:17:30 +02:00 |
|
Volker Berlin
|
8f09d4d04a
|
detect all needed types in the prepare phase
|
2019-05-19 11:14:32 +02:00 |
|
Volker Berlin
|
5826d6dded
|
add field vtable
|
2019-05-17 21:40:38 +02:00 |
|
Volker Berlin
|
983d78de54
|
next step in handling virtual methods
|
2019-05-14 21:47:49 +02:00 |
|
Volker Berlin
|
f0d3027553
|
Replace a function name in call with its supper method if real target name does not exists.
|
2019-05-12 18:38:11 +02:00 |
|
Volker Berlin
|
aa1ed68b3f
|
scanning the Java methods on prepare
|
2019-05-11 20:53:30 +02:00 |
|
Volker Berlin
|
0b7fa50520
|
next step for scanning on prepare
|
2019-05-09 22:13:02 +02:00 |
|
Volker Berlin
|
a8d11b5b68
|
use weak cache for ClassFiles
|
2019-05-07 21:16:30 +02:00 |
|
Volker Berlin
|
fbc687ee92
|
Use ref types alps in globals
|
2019-04-27 21:14:55 +02:00 |
|
Volker Berlin
|
272fa76af0
|
Write the type of Object fields in structs as ref type instead of anyref.
|
2019-04-26 17:28:57 +02:00 |
|
Volker Berlin
|
b08a986945
|
Write the "this" parameter type of a method as ref type instead of anyref.
|
2019-04-24 21:41:33 +02:00 |
|
Volker Berlin
|
b7323776d1
|
Use index for fields of structs in text format until there are better naming rules.
|
2019-04-22 15:56:11 +02:00 |
|
Volker Berlin
|
02a2e9d8ff
|
Write also the fields of super classes in the struct description.
|
2019-04-21 21:33:22 +02:00 |
|
Volker Berlin
|
2be6f1a3be
|
Write the default/initial values before struct.new
|
2019-04-20 21:41:46 +02:00 |
|
Volker Berlin
|
09b817117a
|
Generalize the usage of SyntheticFuctionName
|
2019-04-20 18:44:23 +02:00 |
|
Volker Berlin
|
9653520c2b
|
Rewrite the LocalVariableManager to handle the Java reuse of a variable slot with different type.
|
2019-04-14 14:29:09 +02:00 |
|
Volker Berlin
|
ce93ce517e
|
Write a source map if DebugNames is enabled. #6
|
2019-03-31 13:29:40 +02:00 |
|
Volker Berlin
|
7d8424a2b0
|
pass sourcefile for a source map. #6
|
2019-03-28 18:26:25 +01:00 |
|
Volker Berlin
|
97b7b9dafd
|
passing code position for a source map. #6
|
2019-03-26 18:21:20 +01:00 |
|
Volker Berlin
|
4bb145d116
|
Error message for native methods
|
2019-03-12 22:36:43 +01:00 |
|
Volker Berlin
|
2d2a5f4b68
|
write event section if exception handling is used.
|
2019-02-27 21:55:55 +01:00 |
|