nickysn
|
f5f15e3dbf
+ added startup code for WASI
|
4 years ago |
nickysn
|
7f60637c92
- removed the system unit startup code debug output
|
4 years ago |
nickysn
|
204b0a777d
+ implemented system_exit for WASI
|
4 years ago |
nickysn
|
d8f2d85474
* switch to wasi_snapshot_preview1
|
4 years ago |
nickysn
|
8866fcbc56
- removed the FULL_RTL ifdefs, i.e. always build a full rtl
|
4 years ago |
nickysn
|
5794afac54
+ implemented do_write for WASI. Error handling is not yet done.
|
4 years ago |
nickysn
|
9b2e3aa251
+ rtl file routines debug output
|
4 years ago |
nickysn
|
00d2f6273b
+ implemented OpenStdIO
|
4 years ago |
nickysn
|
bc0d510ee2
+ added DebugWriteHexWord and DebugWriteHexLongWord
|
4 years ago |
nickysn
|
61ba4869ae
* quick and dirty fix for the move parameter order passing in g_concatcopy
|
4 years ago |
nickysn
|
ae39e3da44
+ endless loop in system_exit (for now)
|
4 years ago |
nickysn
|
dd47111e61
+ call SysInitStdIO (empty for now) and clear InOutRes at startup
|
4 years ago |
nickysn
|
4165c893be
* synchronized with trunk
|
4 years ago |
nickysn
|
84bf3a390e
+ init exceptions and the unicode string manager
|
4 years ago |
nickysn
|
54299874d3
+ implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc
|
4 years ago |
nickysn
|
fe7fd69d5e
+ initialize heap in the system unit startup (but SysOSAlloc is not yet implemented)
|
4 years ago |
nickysn
|
11ed6adf63
+ set IsConsole and IsLibrary in the wasi system unit startup
|
4 years ago |
nickysn
|
83f3d68537
+ some system unit debug output
|
4 years ago |
nickysn
|
4d933d74b9
+ call the inherited methods for generating the standard entry/exit code, so that units are initialized/finalized
|
4 years ago |
nickysn
|
9908a9d82a
+ add functypes for the unit init and finalization code procedures
|
4 years ago |
nickysn
|
4b6cbde849
* fixed 64-bit float comparison
|
4 years ago |
nickysn
|
7e958e0a35
+ introduced the discardresult directive and declared the UniqueString()
|
4 years ago |
florian
|
f4c74b6b09
* fix TBufferedFileStream.Seek(0,soBeginning) as proposed by Andrey Zubarev, resolves #38351
|
4 years ago |
nickysn
|
187659ff02
+ more accurate stack tracking in thlcgwasm.a_loadaddr_ref_stack
|
4 years ago |
nickysn
|
84e2299399
* fixed getting of float function result after call
|
4 years ago |
nickysn
|
545c949586
* fixed thlcgwasm.a_op_ref_stack - it was not emitting the actual operation opcode
|
4 years ago |
nickysn
|
0315ab00d8
* map the currency type to the i64 WebAssembly type
|
4 years ago |
nickysn
|
4fa09a6f8b
- removed the trunc32 parameter of thlcgwasm.a_op_stack, because it is no longer used, nor necessary
|
4 years ago |
nickysn
|
3bdf0938c0
- removed thlcgwasm.maybepreparedivu32, because it is not needed - WebAssembly has 32-bit unsigned division, unlike the JVM
|
4 years ago |
nickysn
|
ffebab9691
* fixed byte/word to int64 conversion in thlcgwasm.resize_stack_int_val
|
4 years ago |