nickysn
|
d5b8f6ac7a
+ added all the WASI API types and constants
|
4 years ago |
nickysn
|
04828b22f6
* WASI API consts, types and procs moved to separate include files
|
4 years ago |
nickysn
|
5dd7e116ce
+ added header comment with copyright and license info to the WASI system unit
|
4 years ago |
nickysn
|
6f20e32ddd
+ added argc and argv (not yet initialized), so that unit objpas compiles
|
4 years ago |
nickysn
|
a277228b57
+ also attempt to compile objpas in the WASI makefiles
|
4 years ago |
nickysn
|
6350401d4c
+ debug output in the WASM directory functions
|
4 years ago |
nickysn
|
a28eb39f4b
+ implemented WASI file close
|
4 years ago |
nickysn
|
8e2e31f95c
* memory.grow returns the previous memory size in pages, so we don't need to ask for the size first in SysOSAlloc
|
4 years ago |
nickysn
|
a6d332d092
- removed the heap alloc/free function debug output
|
4 years ago |
nickysn
|
0077b16cc3
* pass 3 as fd for path_open
|
4 years ago |
nickysn
|
594be1be04
* properly handle reference with negative offsets
|
4 years ago |
nickysn
|
fb29456a0a
* fixed parameter of DebugWriteHexLongWord
|
4 years ago |
nickysn
|
b35d3c5f3a
* don't override inittempvariables for WebAssembly, because things like
|
4 years ago |
nickysn
|
f891c52dd1
- removed tarrayreftype, because it's not used on the wasm target
|
4 years ago |
nickysn
|
f294ea5028
- removed commented out code from aasmcpu.pas
|
4 years ago |
nickysn
|
fe7c14a2c0
* synchronized with trunk
|
4 years ago |
nickysn
|
1003d6499f
* formatting
|
4 years ago |
nickysn
|
9e95895a9b
* get rid of the internal error in thlcgwasm.a_cmp_ref_reg_stack by using swap_opcmp
|
4 years ago |
nickysn
|
5a84c4db61
- get rid of FRAME_POINTER_SYM and BASE_POINTER_SYM - they should not be used anymore
|
4 years ago |
nickysn
|
4d99fb3352
* allocate locals in a better way, so that we don't get 2 extra wasted locals per function
|
4 years ago |
nickysn
|
e0dffb1c2c
* fixes to the type conversions in thlcgwasm.resize_stack_int_val
|
4 years ago |
nickysn
|
f03245e05c
- get rid of maybe_adjust_cmp_stackval - it is unnecessary for WebAssembly,
|
4 years ago |
nickysn
|
a9264cc608
- removed commented out method g_copyvalueparas
|
4 years ago |
nickysn
|
3a0d84fde2
- removed outdated comment from thlcgwasm.a_cmp_stack_stack
|
4 years ago |
nickysn
|
f3482acbf9
- removed commented out code from thlcgwasm.g_proc_entry
|
4 years ago |
nickysn
|
83f88e515b
* renamed the a_get/set/tee_local/global asm ops a_local/global_set/get/tee
|
4 years ago |
nickysn
|
d8f55ebb48
* renamed the a_iXX_extendYYYY family of asm ops to their modern versions
|
4 years ago |
nickysn
|
116366a8e3
* updated the a_iXX_trunc_su_fYY asm ops to their modern format a_iXX_trunc_fYY_su
|
4 years ago |
nickysn
|
60242ca0fd
* updated the a_fXX_convert_su_iYY asm ops to their modern format a_fXX_convert_iYY_su
|
4 years ago |
nickysn
|
9acfdc8cdd
* the a_f64_reinterpret_f64 asm op renamed a_f64_reinterpret_i64
|
4 years ago |