nickysn
dccd4d5b37
* synchronized with trunk
...
git-svn-id: branches/wasm@48359 -
2021-01-24 00:39:31 +00:00
florian
9803318fef
* give a proper error if macros are too deeply nested
...
git-svn-id: trunk@48357 -
2021-01-23 21:29:37 +00:00
nickysn
04828b22f6
* WASI API consts, types and procs moved to separate include files
...
git-svn-id: branches/wasm@48351 -
2021-01-23 15:19:21 +00:00
pierre
1351ccb3bf
Avoid range check errors
...
git-svn-id: trunk@48317 -
2021-01-22 12:51:53 +00:00
nickysn
f5f15e3dbf
+ added startup code for WASI
...
git-svn-id: branches/wasm@48304 -
2021-01-22 00:41:51 +00:00
nickysn
4165c893be
* synchronized with trunk
...
git-svn-id: branches/wasm@48292 -
2021-01-21 23:16:12 +00:00
nickysn
54299874d3
+ implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc
...
git-svn-id: branches/wasm@48290 -
2021-01-21 23:13:49 +00:00
florian
f4c74b6b09
* fix TBufferedFileStream.Seek(0,soBeginning) as proposed by Andrey Zubarev, resolves #38351
...
git-svn-id: trunk@48282 -
2021-01-21 21:08:13 +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
780ded903a
* synchronized with trunk
...
git-svn-id: branches/wasm@48225 -
2021-01-19 23:01:55 +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
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
nickysn
888af282a4
+ override the inline node for WASM
...
git-svn-id: branches/wasm@48197 -
2021-01-19 14:04:47 +00:00
nickysn
8021de82f6
* synchronized with trunk
...
git-svn-id: branches/wasm@48185 -
2021-01-18 23:11:34 +00:00
nickysn
69c407dff5
+ added dummy int64p.inc file for WebAssembly
...
git-svn-id: branches/wasm@48181 -
2021-01-18 22:50:22 +00:00
nickysn
039e2f20b7
+ override the case node for WASM. The actual code generation isn't implemented yet.
...
git-svn-id: branches/wasm@48172 -
2021-01-18 17:43:01 +00:00
michael
b30d54b064
* Patches from Andrey Sobol, more control over warnings, improve class tree and resolving
...
git-svn-id: trunk@48163 -
2021-01-16 15:05:44 +00:00
nickysn
e0a1ce86fd
* synchronized with trunk
...
git-svn-id: branches/wasm@48158 -
2021-01-15 01:05:37 +00:00
florian
4e61867ce1
* modified (use IsManagedType to check if a for loop can be used for copying) patch by Bart Broersma to fix IncreaseCapacity of TQueue, resolves #38306
...
git-svn-id: trunk@48154 -
2021-01-13 21:24:50 +00:00
nickysn
8b4aceea50
* synchronized with trunk
...
git-svn-id: branches/wasm@48134 -
2021-01-11 07:01:01 +00:00
Jonas Maebe
5c2303a76b
* add parameter cleanup nodes to the call cleanup block (mantis #38316 )
...
git-svn-id: trunk@48130 -
2021-01-10 15:47:27 +00:00
pierre
b7c519de81
Add check for bug fix in bug report 38339
...
git-svn-id: trunk@48129 -
2021-01-10 14:43:22 +00:00
Jonas Maebe
b1a1e6c510
+ test for mantis #38337 , already fixed
...
git-svn-id: trunk@48127 -
2021-01-10 14:09:22 +00:00
florian
7f775abb6d
* throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217
...
git-svn-id: trunk@48113 -
2021-01-08 14:19:19 +00:00
nickysn
77578f0e03
* synchronized with trunk
...
git-svn-id: branches/wasm@48090 -
2021-01-06 05:11:52 +00:00
florian
aec18c2426
* weight currency->float conversions the same regardless if
...
the currency type is handled by the integer unit or the x87 fpu,
resolves #38309
git-svn-id: trunk@48089 -
2021-01-05 22:39:16 +00:00
svenbarth
57d9884d96
* fix for Mantis #38310 : ignore procsyms that have no procdefs for checking overloads, or more precisely to stop checking for overloads; these are generic dummy symbols
...
+ added (simplified) tests
git-svn-id: trunk@48088 -
2021-01-05 20:58:46 +00:00
nickysn
67cea74ec6
+ implemented twasmtypeconvnode.second_int_to_bool
...
git-svn-id: branches/wasm@48076 -
2021-01-05 07:50:05 +00:00
nickysn
04c14500a7
+ added math.inc and set.inc
...
git-svn-id: branches/wasm@48057 -
2021-01-04 15:37:16 +00:00
nickysn
052d1bc38a
* synchronized with trunk
...
git-svn-id: branches/wasm@48022 -
2021-01-04 02:57:44 +00:00
florian
7d5b0d2382
* handle rawbytestrings in Win32Ansi2UnicodeMove properly, resolves #38299
...
git-svn-id: trunk@48021 -
2021-01-03 22:55:37 +00:00
florian
9592c033e5
* process fma intrinsic parameters in an order which takes care of multiple x87 stack parameters, resolves #38295
...
git-svn-id: trunk@48017 -
2021-01-03 17:08:58 +00:00
michael
743e7c1c1b
* Forgot to commit
...
git-svn-id: trunk@48014 -
2021-01-03 15:30:41 +00:00
svenbarth
c96029ebd5
* Delphi does not allow a generic method to be overloaded by a non generic type of the same name (unlike for generic types and non generic routines); this is probably done to simplify the implementation of implicit specializations of generic methods so we do this as well. For this we change the dummy symbol for generic routines from a typesym to a procsym
...
+ added tests
Note: what Delphi /does/ allow however is to overload a generic routine with a generic type... go figure. :/ We currently don't allow that
git-svn-id: trunk@48002 -
2021-01-02 23:23:39 +00:00
svenbarth
d854d18bd9
* instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr"
...
+ added tests
git-svn-id: trunk@47995 -
2021-01-02 23:23:08 +00:00
nickysn
67206943e8
+ added WASI RTL makefile
...
git-svn-id: branches/wasm@47992 -
2021-01-02 22:56:43 +00:00
nickysn
5a98127ae6
+ added makefile.cpu for wasm32
...
git-svn-id: branches/wasm@47989 -
2021-01-02 22:27:30 +00:00
nickysn
05d66eddfc
* synchronized with trunk
...
git-svn-id: branches/wasm@47982 -
2021-01-02 22:06:17 +00:00
florian
7de94e7a1d
* properly fold string+string const+string const., resolves #38267
...
git-svn-id: trunk@47977 -
2021-01-02 17:18:54 +00:00
michael
390be00327
* Markdown support for fpdoc
...
git-svn-id: trunk@47973 -
2021-01-02 14:28:45 +00:00
nickysn
a5fafea8d1
* more updates to attempt to get a larger part of the full RTL to compile for WASM32
...
git-svn-id: branches/wasm@47970 -
2021-01-02 13:01:39 +00:00
nickysn
9bd8b66e86
+ first attempts to compile a full WASI rtl
...
git-svn-id: branches/wasm@47958 -
2021-01-02 08:05:02 +00:00
nickysn
0ec39281f9
+ added rtl directory and some rtl include files for wasm32
...
git-svn-id: branches/wasm@47956 -
2021-01-02 07:57:17 +00:00
nickysn
f87f9969a7
* synchronized with trunk
...
git-svn-id: branches/wasm@47937 -
2021-01-02 04:55:50 +00:00
florian
97abf6b495
* first part of fixing #38267 : do not bail out early during constant folding
...
if the constant is 1 or -1
git-svn-id: trunk@47933 -
2021-01-01 15:26:13 +00:00
nickysn
57b976535f
* synchronized with trunk
...
git-svn-id: branches/wasm@47896 -
2020-12-29 23:50:34 +00:00
florian
edfbf2ce30
* correctly handle inlined exits in dfa, resolves #38259
...
git-svn-id: trunk@47894 -
2020-12-29 22:35:33 +00:00
florian
eb7702bea4
+ implement align directive for records, resolves #28927
...
git-svn-id: trunk@47892 -
2020-12-29 18:19:35 +00:00
nickysn
96de6c4b96
* synchronize with trunk
...
git-svn-id: branches/wasm@47877 -
2020-12-28 18:45:24 +00:00