Commit Graph

63106 Commits

Author SHA1 Message Date
Yuriy Sydorov
16d17de1ff + Added a test for a bug fixed in b96057ad. 2021-09-06 19:01:34 +03:00
Yuriy Sydorov
b43ee41090 * If in a move instruction "MOV reg1,reg2" one of the registers must be
spilled, but reg1 and reg2 are coalesced, then this is a no-op
  instruction and no spilling is needed.
2021-09-06 18:57:41 +03:00
Yuriy Sydorov
213a0a704a * Added trgobj.remove_ai(), call it instead of code duplication.
No functional changes.
2021-09-06 18:49:33 +03:00
Yuriy Sydorov
b96057adeb * Remove register allocations of coalesced registers if the alias
register is spilled.
2021-09-06 18:37:45 +03:00
mattias
d20f18634f pas2js: git ignore linux binaries 2021-09-06 16:51:48 +02:00
Michaël Van Canneyt
54415f8f4e * Import statement 2021-09-05 23:50:08 +02:00
florian
677f829732 * tw39323 needs to turn on range check to test what it is supposed to test 2021-09-05 23:12:34 +02:00
florian
3cddfb4e2f * patch by J. Gareth Moreton: x86: SETcc/TEST/SETcc -> SETcc/SETcc optimisation, resolves #39271 2021-09-05 22:17:11 +02:00
florian
a5f6505edc * fix range checking for zero based strings, resolves #39323 2021-09-05 21:03:31 +02:00
florian
468975aa30 + move often used floating point constants into registers 2021-09-05 18:19:58 +02:00
florian
d2921dfb55 * move more node tree optimizations to tcgprocinfo.OptimizeNodeTree 2021-09-05 18:00:11 +02:00
florian
b3bf183fd3 * pass the final name of the compiler executable when compiling the compiler to avoid
moving the executable afterwards, this allows proper stack dumps with line numnbers
    on OSes with external debugging information (darwin)
2021-09-05 16:48:01 +02:00
Michaël Van Canneyt
6a9d2cae93 * Debugger statement 2021-09-05 15:20:13 +02:00
Michaël Van Canneyt
652643499a * const and let statements 2021-09-05 15:08:39 +02:00
Michaël Van Canneyt
a214682495 * Parse async functions 2021-09-05 14:10:12 +02:00
Michaël Van Canneyt
d1bbc99e48 * Pass all directives through OnDirective 2021-09-05 14:09:04 +02:00
Michaël Van Canneyt
985ebf3b63 * New keywords for ECMA2021 2021-09-05 10:26:51 +02:00
Michaël Van Canneyt
714f036420 * Parse linklib directive 2021-09-04 22:50:24 +02:00
florian
396a030fc2 + debugging statement 2021-09-04 19:12:04 +02:00
Michaël Van Canneyt
b36154671b * Bring compileserver functionality up-to-date with simpleserver 2021-09-04 17:49:32 +02:00
Michaël Van Canneyt
bfc5fcb8d1 * Compile httpjson 2021-09-04 17:48:21 +02:00
Michaël Van Canneyt
06ab6d7fa7 * Enable location management API 2021-09-04 13:15:56 +02:00
Michaël Van Canneyt
886baf4cb9 * location management API 2021-09-04 13:15:38 +02:00
Michaël Van Canneyt
a206deddfb * Improved solution for issue #38435, json helpers for http request/response 2021-09-04 13:15:14 +02:00
Michaël Van Canneyt
4dc1e22f1f * Allow to move routes, make route management thread-safe 2021-09-04 13:12:53 +02:00
Michaël Van Canneyt
a390a27420 * Uppercase argument for GetHTTPStatusText 2021-09-04 13:12:17 +02:00
Michaël Van Canneyt
66a1486f32 * SetStatus convenience call 2021-09-04 13:11:45 +02:00
Michaël Van Canneyt
f9c006ca9f * Remove module, move module before default 2021-09-04 13:11:18 +02:00
Michaël Van Canneyt
cb73bb939b * Use FPC server by default 2021-09-03 17:41:18 +02:00
Michaël Van Canneyt
7ef2012151 * Fix wrong read loop 2021-09-03 17:41:18 +02:00
florian
2ce34f7bd3 * do constant folding on div <const. int> div <const. int>, resolves #39301 2021-09-02 22:04:42 +02:00
mattias
261c0ff708 pastojs: fixed typecast jsvalue to external class instance not checking if Object 2021-09-02 15:13:53 +02:00
mattias
84c2a0d89e fcl-web: example missing semicolon and gitignore linux bin 2021-09-02 15:13:08 +02:00
Bernd Kreuss
2210143239 fix wording of error message when field not found during reading of lfm file 2021-09-02 11:16:56 +02:00
Michaël Van Canneyt
fe656ab4ef fix for issue #39333 2021-09-02 09:32:43 +02:00
Michaël Van Canneyt
40dc7380dc * Correct precisions 2021-09-01 22:43:47 +02:00
florian
3069d74ecc * handle constant folding correctly for <pointer>+<ord. constant>+<ord. constant>, resolves #39332 2021-09-01 21:32:27 +02:00
Michaël Van Canneyt
cb22b7a1d5 * Fopefully last fix for non-select platforms 2021-09-01 14:57:51 +02:00
Michaël Van Canneyt
71457e6408 * More platform fixes 2021-09-01 14:26:28 +02:00
Michaël Van Canneyt
0b96cc3a30 * Fix for non-compilation on non-supported platforms: linux -> unix 2021-09-01 14:05:27 +02:00
Michaël Van Canneyt
6e5103f3c5 * Fix for non-compilation on non-supported platforms 2021-09-01 14:03:36 +02:00
Michaël Van Canneyt
ccfb34c518 * Add http client pool from Ondrej Pokorny 2021-09-01 12:50:23 +02:00
Michaël Van Canneyt
db5b974a42 Merge branch 'main' into httpserver_keepalive 2021-09-01 09:39:22 +02:00
Ondrej Pokorny
54e418c5e8 * fphttpclient: add new OnIdle event to keep the client responsive in case the server needs a lot of time to respond (and to be able to terminate the request while waiting for data) 2021-09-01 09:31:50 +02:00
florian
8efae66956 * we cannot do SSA during partial writes to arrays which span multiple registers, resolves #39325 2021-09-01 09:31:50 +02:00
florian
dca4bde3a2 * unified internal error 2021-09-01 09:31:50 +02:00
Sven Barth
be069c8fa8 * fix #39329: adjust visibilties of PT and TArr in TVector<> and TDeque<> so that they can be correctly used either by descendants or users outside of the class 2021-09-01 09:31:50 +02:00
florian
4303d62c2b * do fullcycle with -j 4 2021-09-01 09:31:50 +02:00
Pierre Muller
b5fca5b094 Ignore all BuildUnit_{package_name}.pp generated file 2021-09-01 09:31:50 +02:00
Ondrej Pokorny
bce2f26234 * TEncoding.GetEncoding - create unicode encodings, not only MBCS 2021-09-01 09:31:50 +02:00