Commit Graph

61779 Commits

Author SHA1 Message Date
nickysn
062360341c * synchronized with trunk
git-svn-id: branches/wasm@48248 -
2021-01-20 23:34:58 +00:00
nickysn
c89a049102 + print 'linking' message for the WASI target
git-svn-id: branches/wasm@48247 -
2021-01-20 23:33:32 +00:00
nickysn
f83ef3c610 * avoid creating threadvar sections in the LLVM-MC WebAssembly output
git-svn-id: branches/wasm@48246 -
2021-01-20 23:13:14 +00:00
nickysn
99d8d8f296 * fixed several WebAssembly instruction names
git-svn-id: branches/wasm@48245 -
2021-01-20 23:08:33 +00:00
nickysn
ca3cf821f3 * fixed writing of floating point constants for the LLVM-MC assembler
git-svn-id: branches/wasm@48244 -
2021-01-20 23:00:52 +00:00
pierre
b88f9ad57c Reset paratargetdbg to dbg_none when handling -g- option, to really suppress debug information generation
git-svn-id: trunk@48243 -
2021-01-20 22:11:15 +00:00
nickysn
bc7f37dad7 * fixed compilation of the setjmp/longjmp dummy functions for WebAssembly
git-svn-id: branches/wasm@48242 -
2021-01-20 21:54:24 +00:00
nickysn
de15809f62 + added some WASM32 functions
git-svn-id: branches/wasm@48241 -
2021-01-20 21:43:55 +00:00
nickysn
899d718895 + more WASI rtl functions (dummy, not yet implemented)
git-svn-id: branches/wasm@48240 -
2021-01-20 21:38:53 +00:00
nickysn
6df4254c12 + added WASI sysdir.inc and sysfile.inc (functions not implemented yet)
git-svn-id: branches/wasm@48239 -
2021-01-20 21:29:40 +00:00
nickysn
9f69800394 + added some more WASI RTL constants
git-svn-id: branches/wasm@48238 -
2021-01-20 21:23:40 +00:00
Mattias Gaertner
c32ef4af38 pastojs: ord(integer)
git-svn-id: trunk@48237 -
2021-01-20 21:22:07 +00:00
Mattias Gaertner
af5a6cd9d2 fcl-passrc: resolver: ord(integer)
git-svn-id: trunk@48236 -
2021-01-20 21:21:56 +00:00
florian
7a3eb453d4 * arm/aarch64: patch by J. Gareth Moreton: fix register allocation information for Mov2None 2, should resolve #38055
git-svn-id: trunk@48235 -
2021-01-20 21:14:09 +00:00
nickysn
f8361cb5dd * fixed internal error with functions with ret_in_param result types and unitialized result
git-svn-id: branches/wasm@48234 -
2021-01-20 21:13:58 +00:00
Mattias Gaertner
13318117ed pastojs: nicer filer error messages
git-svn-id: trunk@48233 -
2021-01-20 21:04:27 +00:00
nickysn
0651e88682 * fixed wasm32 compilation error in setjump.inc
git-svn-id: branches/wasm@48232 -
2021-01-20 20:57:42 +00:00
Mattias Gaertner
eaa519209e pastojs: fixed if then asm a;b end
git-svn-id: trunk@48231 -
2021-01-20 20:24:38 +00:00
nickysn
ed9b14bc20 + allow int64 as for loop counter also for 32-bit targets with a 64-bit ALU
git-svn-id: branches/wasm@48229 -
2021-01-20 16:29:30 +00:00
pierre
62edfa5584 Change parameter type of Build* procedure from out to var, as the StringList is created in calling main
This avoid a warning during compliaztion and a crash when compiled with -gt* option.

git-svn-id: trunk@48228 -
2021-01-20 13:20:11 +00:00
pierre
0f575de1dd Fix compilation for OpenBSD target after changes that use libc by default
git-svn-id: trunk@48227 -
2021-01-20 12:39:21 +00:00
yury
fe09efbd0e * Removed usage the Windows unit from the tregistry2 test.
git-svn-id: trunk@48226 -
2021-01-20 09:46:44 +00:00
nickysn
780ded903a * synchronized with trunk
git-svn-id: branches/wasm@48225 -
2021-01-19 23:01:55 +00:00
pierre
4111e13017 Avoid inlining of real constant for m68k if type is not best precision
git-svn-id: trunk@48224 -
2021-01-19 22:33:32 +00:00
pierre
0055023394 Also set __stkptr inside cprt0.as and dllprt0.as startup assembly sources
git-svn-id: trunk@48223 -
2021-01-19 22:30:59 +00:00
pierre
83a1f5fbc3 Also set __stkptr inside cprt0.as startup assembly source
git-svn-id: trunk@48222 -
2021-01-19 22:28:37 +00:00
florian
85afaf5289 * patch by J. Gareth Moreton: Unitialized result variable fix on non-x86 debug builds, resolves #38371
git-svn-id: trunk@48221 -
2021-01-19 21:04:41 +00:00
nickysn
2f233adda2 + dummy WASI heap functions
git-svn-id: branches/wasm@48220 -
2021-01-19 19:55:34 +00:00
nickysn
774f6f650d + dummy setjmp/longjmp implementation for WebAssembly
git-svn-id: branches/wasm@48219 -
2021-01-19 19:38:25 +00:00
nickysn
b8367e3152 + added fpc_cpuinit for WebAssembly
git-svn-id: branches/wasm@48218 -
2021-01-19 19:31:35 +00:00
nickysn
55db998529 + uncommented the setjump/longjump declarations, in order to get more of the RTL to compile
git-svn-id: branches/wasm@48217 -
2021-01-19 19:30:16 +00:00
nickysn
7a15157387 + dummy implementation of the code generator for the try..except node for WebAssembly
git-svn-id: branches/wasm@48216 -
2021-01-19 19:28:27 +00:00
nickysn
f99e74866d + dummy override of WebAssembly handle_nested_exception
git-svn-id: branches/wasm@48215 -
2021-01-19 19:20:02 +00:00
nickysn
2150d935cf + dummy override for WebAssembly free_exception
git-svn-id: branches/wasm@48214 -
2021-01-19 19:18:15 +00:00
nickysn
c5fae9f214 + implemented second_ansistring_to_pchar for WebAssembly
git-svn-id: branches/wasm@48213 -
2021-01-19 19:15:18 +00:00
nickysn
0f235f38ab + introduced thlcgwasm.a_loadaddr_ref_stack
git-svn-id: branches/wasm@48212 -
2021-01-19 19:11:17 +00:00
Mattias Gaertner
b460f87fd4 fcl-passrc: fixed checking statement after except-on
git-svn-id: trunk@48211 -
2021-01-19 19:08:26 +00:00
yury
30587299ea * TRegIniFile: When accessing a section do not change/close the current open key.
* TRegIniFile should work properly with the XML registry. The tregistry2 test should work on any platform.

git-svn-id: trunk@48210 -
2021-01-19 17:38:36 +00:00
yury
5d69ba2cd8 * TXmlRegistry: When a key name starts with \ or / it means the absolute path to the key is specified. So ignore the currently selected key when an absolute key is requested.
git-svn-id: trunk@48209 -
2021-01-19 17:30:11 +00:00
yury
050a342101 * Reverted r41816 to allow TXmlRegistry.DeleteKey() delete the key and all its children. It is Delphi compatible. Windows implementation of TRegistry.DeleteKey() was fixed accordingly.
git-svn-id: trunk@48208 -
2021-01-19 17:25:56 +00:00
yury
ffff24593d * To be Delphi compatible TRegistry.DeleteKey() must delete the specified key and all its child keys.
git-svn-id: trunk@48207 -
2021-01-19 17:21:18 +00:00
yury
2c196ee8a9 * TRegistryIniFile: Fixed uninitialized Result in ValueExists(). Implemented SectionExists().
git-svn-id: trunk@48206 -
2021-01-19 17:13:44 +00:00
yury
9fd0f94d7c * tregistry2 test: Delete reg.xml and the app config dir.
git-svn-id: trunk@48205 -
2021-01-19 17:10:55 +00:00
yury
a29bfe5505 * Moved the tregistry2.pp test from packages to tests in order it to be run by daily test runs. tregistry2 has been failing for years and nobody has noticed this.
git-svn-id: trunk@48204 -
2021-01-19 16:52:43 +00:00
yury
4bf19e9d92 * Extended the tregistry2 test.
git-svn-id: trunk@48203 -
2021-01-19 16:40:45 +00:00
nickysn
28b9d0c6b4 + dummy code generator for the try..finally blocks in WebAssembly
git-svn-id: branches/wasm@48202 -
2021-01-19 16:24:18 +00:00
nickysn
d5caaf792c * update comment about twasmifnode, since the WebAssembly 'if' instruction that
we emit is no longer hardcoded to return a value

git-svn-id: branches/wasm@48201 -
2021-01-19 16:13:45 +00:00
nickysn
0236da1da9 * changed the formatting in nwasmflw.pas to match the style of the rest of the compiler
git-svn-id: branches/wasm@48200 -
2021-01-19 16:11:54 +00:00
nickysn
d1c58ccf4b + override the try finally node for WebAssembly. No functional changes yet.
git-svn-id: branches/wasm@48199 -
2021-01-19 16:06:37 +00:00
nickysn
cc94ab3ab8 + implemented length() code generation for WebAssembly
git-svn-id: branches/wasm@48198 -
2021-01-19 14:32:23 +00:00