Commit Graph

54724 Commits

Author SHA1 Message Date
pierre
2c64982f82 Fix compilation of installer for win32 target
git-svn-id: trunk@40481 -
2018-12-06 17:06:45 +00:00
Mattias Gaertner
29e0fef792 pastojs: fixed assert to raise on false, bug #34643
git-svn-id: trunk@40479 -
2018-12-06 14:29:43 +00:00
Mattias Gaertner
148cc6e157 pas2js: cleaned up lpi
git-svn-id: trunk@40478 -
2018-12-06 09:34:31 +00:00
Mattias Gaertner
711065cf78 pastojs: restored built in function debugger
git-svn-id: trunk@40477 -
2018-12-06 09:34:04 +00:00
Mattias Gaertner
e64b098e7f pastojs: restored built in function debugger, less hints
git-svn-id: trunk@40476 -
2018-12-06 09:33:42 +00:00
Mattias Gaertner
0fe9e24297 fcl-passrc: started anonymous methods
git-svn-id: trunk@40475 -
2018-12-06 09:32:49 +00:00
Mattias Gaertner
b82026dcf8 fcl-passrc: clean up
git-svn-id: trunk@40474 -
2018-12-06 09:31:28 +00:00
Mattias Gaertner
c75d0ab3bd fcl-passrc: less hints
git-svn-id: trunk@40473 -
2018-12-06 09:30:18 +00:00
yury
44facc15fa * Since Android 8 the net.dnsX properties can't be read. Use Google Public DNS servers.
git-svn-id: trunk@40472 -
2018-12-05 16:12:56 +00:00
michael
fd609fe19c * Web browser compiler, initial implementation
git-svn-id: trunk@40471 -
2018-12-04 21:42:53 +00:00
michael
231b86dcdf * Reset also resets main program src
git-svn-id: trunk@40470 -
2018-12-04 21:40:32 +00:00
michael
a38e67dfde * Add FindIncludeFileName at higher level, virtual
git-svn-id: trunk@40469 -
2018-12-04 21:39:59 +00:00
florian
32121de8ae * do not call InitTLS when a compiler is used which does not include the abi tag section
git-svn-id: trunk@40468 -
2018-12-04 21:25:48 +00:00
Jonas Maebe
8846041b23 * use volatile() to prevent wrong optimizations by llvm
git-svn-id: trunk@40466 -
2018-12-04 19:53:23 +00:00
Jonas Maebe
122d0d36d6 + volatile() expression that marks an expression as volatile
* disable matching volatile references in the assembler optimisers, so they
    can't be removed (more conservative than needed, but better than removing
    too many)
   o the CSE optimiser will ignore them by default, because they're an unknown
     inline node for it
  * also removed no longer used fpc_in_move_x and fpc_in_fillchar_x inline node
    identifiers from rtl/inc/innr.inc, and placed fpc_in_unaligned_x at the
    right place

git-svn-id: trunk@40465 -
2018-12-04 19:53:20 +00:00
Jonas Maebe
b7da7cd654 * ensure the generic version of tcgshlshrnode gets used for llvm
git-svn-id: trunk@40464 -
2018-12-04 19:53:16 +00:00
Jonas Maebe
2109612fa3 - disable cs_opt_use_load_modify_store because for llvm because it is
apparently buggy as far as type information is concerned, and it also
    results in tons of spilling

git-svn-id: trunk@40463 -
2018-12-04 19:53:13 +00:00
yury
1cc3c199c8 * pas2jni: TClass helper must be generated only for the system unit.
git-svn-id: trunk@40462 -
2018-12-04 13:07:05 +00:00
michael
78b3b8ee4e * Modifications so it compiles for target browser
git-svn-id: trunk@40461 -
2018-12-03 21:46:36 +00:00
michael
1fba127e21 * Fix tests after latest batch of changes
git-svn-id: trunk@40460 -
2018-12-03 19:42:25 +00:00
Mattias Gaertner
8b912d0fea pastojs: restored test built-in debugger;
git-svn-id: trunk@40459 -
2018-12-03 16:43:47 +00:00
Mattias Gaertner
ada75392aa pas2js: lpi removed default suite
git-svn-id: trunk@40458 -
2018-12-03 16:43:10 +00:00
Mattias Gaertner
3c8c833234 pastojs: restored built-in function debugger
git-svn-id: trunk@40457 -
2018-12-03 16:41:45 +00:00
Mattias Gaertner
ca7d187654 pastojs: restored built-in function debugger
git-svn-id: trunk@40456 -
2018-12-03 16:23:55 +00:00
michael
ec782c522e * No more basedir
git-svn-id: trunk@40455 -
2018-12-03 08:51:08 +00:00
florian
eeadf618b8 + abi tag for i386
* arm abi tag moved into pascal file

git-svn-id: trunk@40454 -
2018-12-02 22:56:12 +00:00
Károly Balogh
6629e72d79 m68k: reinstate the inc/dec tempregister type hack again in an isolated way (it was removed in r40385, as it was breaking llvm target)
git-svn-id: trunk@40453 -
2018-12-02 18:54:04 +00:00
michael
b9905f6a2c * Instantiate FS compiler
git-svn-id: trunk@40452 -
2018-12-02 18:44:34 +00:00
michael
2c7f401bf7 * Instantiate PCU compiler
git-svn-id: trunk@40451 -
2018-12-02 18:44:21 +00:00
michael
07f98847ca * Refactored so compiler itself is filesystem agnostic
git-svn-id: trunk@40450 -
2018-12-02 18:41:38 +00:00
florian
90557f2e62 * properly calcualte aligncount as proposed by Jeppe, should resolve #33323
git-svn-id: trunk@40449 -
2018-12-02 14:49:24 +00:00
florian
31ae109a31 * properly initialize phdr and phnum
git-svn-id: trunk@40448 -
2018-12-02 08:49:03 +00:00
michael
e8a8046d3e * Moved LoadUsedUnit from compilerfile to compiler
git-svn-id: trunk@40447 -
2018-12-02 08:27:05 +00:00
michael
99c5c79327 * Move finding unit to compiler instead of Compilerfile
git-svn-id: trunk@40446 -
2018-12-02 08:08:01 +00:00
Jonas Maebe
e8512d19b5 * set constalignmax to the same value as varalignmax for all targets where
constalignmax was lower (which does not make sense)

git-svn-id: trunk@40443 -
2018-12-01 23:07:09 +00:00
Jonas Maebe
95d79296bd * fixed alignment of tfiledef (same as corresponding file recorddef)
* cap set alignment to sizeof(aint)

git-svn-id: trunk@40442 -
2018-12-01 23:07:05 +00:00
michael
b84e02b0a9 * Fix compilation with debug output defines
git-svn-id: trunk@40441 -
2018-12-01 23:05:07 +00:00
michael
333b4f3193 * Move everything not related to file searching from cache to compiler
git-svn-id: trunk@40440 -
2018-12-01 22:11:49 +00:00
michael
a3337afa98 * Move InsertJSFiles to compiler
git-svn-id: trunk@40439 -
2018-12-01 21:06:59 +00:00
michael
92c07633c2 * Move things out of resolver, into filecache
git-svn-id: trunk@40430 -
2018-12-01 19:40:32 +00:00
michael
d560b9a15d * FindIncludeFile virtual
git-svn-id: trunk@40429 -
2018-12-01 19:39:44 +00:00
michael
5059824f44 * Fix tests so they run on any system
git-svn-id: trunk@40428 -
2018-12-01 19:04:13 +00:00
michael
aa956d2f70 * Refactor so PCU support is separated out
git-svn-id: trunk@40427 -
2018-12-01 19:03:41 +00:00
michael
4d165e542d * Split resolver in baseresolver & resolver
git-svn-id: trunk@40426 -
2018-12-01 18:59:31 +00:00
pierre
67fe756642 Regenerate msgid and msgtxt include files after commit 40422
git-svn-id: trunk@40425 -
2018-12-01 16:18:58 +00:00
michael
4091e31c4f * Rename FindUnitWithName -> FindLoadedUnit
git-svn-id: trunk@40424 -
2018-12-01 08:54:34 +00:00
michael
77446cfe07 * Remove knowledge of directorycache from compiler
git-svn-id: trunk@40423 -
2018-12-01 08:49:04 +00:00
marco
b60cbf3329 * systematically capitalize first word of errormsg/sentence, patch by J. Gareth Moreton, mantis 34618
git-svn-id: trunk@40422 -
2018-11-30 11:21:50 +00:00
Jonas Maebe
758a8dd34a * fixed dwarf debug info after r40398 (mantis #34622)
git-svn-id: trunk@40421 -
2018-11-29 23:21:15 +00:00
Jonas Maebe
50ab607676 + customint torddef type to create arbitraty bit-width integers
o use this to handle non-power-of-two-sized parameters for llvm
   o no general support in the parser/code generator, so don't expose

git-svn-id: trunk@40398 -
2018-11-29 20:57:08 +00:00