Mattias Gaertner
58421e40c6
pastojs: use fmShareDenyNone when writing js
...
git-svn-id: trunk@47815 -
2020-12-19 11:46:06 +00:00
Mattias Gaertner
c7d29ec118
pastojs: test #256+
...
git-svn-id: trunk@47814 -
2020-12-19 11:37:36 +00:00
florian
1d92cc43bb
* fpc_ln_real raises an exception for invalid operands if they exception is not masked
...
git-svn-id: trunk@47813 -
2020-12-18 22:36:17 +00:00
florian
072be7b0f7
* Aarch64: fix 32 bit div operations with constant denominators, resolves #38225
...
git-svn-id: trunk@47812 -
2020-12-18 21:39:35 +00:00
svenbarth
2a897f5b6b
* apply slightly adjusted patch by Blaise.ru which moves parsing of result types to a separate functions thus ensuring that File types can't be used for procedure variables (just like they already couldn't be used as a result type for normal functions)
...
+ added test
git-svn-id: trunk@47810 -
2020-12-18 13:50:39 +00:00
svenbarth
a1b252538f
* change def parameter of single_type() from var to out (part of patch by Blaise.ru)
...
git-svn-id: trunk@47809 -
2020-12-18 13:50:36 +00:00
Károly Balogh
4b3fee38a5
dati.inc: tabs 2 spaces and whitespaces formatting fix. no functional changes
...
git-svn-id: trunk@47808 -
2020-12-18 11:55:21 +00:00
florian
80f87edffd
* x86-64: correctly translate and with large constants in mod optimizations, resolves #38164
...
git-svn-id: trunk@47805 -
2020-12-17 22:09:23 +00:00
nickysn
4bac65be86
* set the wasm tempgen direction in the parent constructor, together with the other targets
...
git-svn-id: branches/wasm@47801 -
2020-12-17 15:37:08 +00:00
michael
034048e09d
* Patch from Andrey Sobol to fix memleak
...
git-svn-id: trunk@47799 -
2020-12-17 15:18:02 +00:00
pierre
4235d2ce3d
Try to fix sparc32 code generation error for overflow test
...
git-svn-id: trunk@47798 -
2020-12-16 23:16:37 +00:00
florian
9af9f140a5
* do an unsigned division if one operand is unsigned an the other
...
one a constant in its range, resolves #38180
git-svn-id: trunk@47797 -
2020-12-16 21:55:05 +00:00
florian
9858d9c5e6
* apply doremoveinttypeconvs to unary minus and not on 8 and 16 bit targets as well
...
git-svn-id: trunk@47796 -
2020-12-16 21:55:05 +00:00
svenbarth
d29f95d9e1
* apply patch by Blaise.ru to allow specializations for the result type of function and method variables
...
+ added tests
git-svn-id: trunk@47795 -
2020-12-16 21:43:30 +00:00
svenbarth
32938dde1c
* apply patch by Blaise.ru to allow record methods to be assigned to method variables as well (this is Delphi compatible)
...
+ added test
git-svn-id: trunk@47794 -
2020-12-16 21:43:25 +00:00
nickysn
2f889f3244
- removed the ttgwasm.alloctemp override, because it does nothing
...
git-svn-id: branches/wasm@47793 -
2020-12-16 16:16:07 +00:00
nickysn
577e39e57f
- removed commented out methods (copied from the jvm code generator) from ttgwasm
...
git-svn-id: branches/wasm@47792 -
2020-12-16 16:14:36 +00:00
nickysn
a104c3d7a0
- removed ttgwasm.deallocLocalVar, as it is no longer used
...
git-svn-id: branches/wasm@47791 -
2020-12-16 16:13:06 +00:00
nickysn
58d361049f
* some optimizations in TWasmLocalVars.dealloc(index: integer)
...
git-svn-id: branches/wasm@47790 -
2020-12-16 16:09:10 +00:00
nickysn
949d5e61f8
* several public methods of ttgwasm made private
...
git-svn-id: branches/wasm@47787 -
2020-12-16 13:33:03 +00:00
nickysn
ae60449699
* funnel all the wasm local var allocation, done by the register allocator, through the temp generator
...
git-svn-id: branches/wasm@47786 -
2020-12-16 13:26:27 +00:00
nickysn
a38c3c682d
* synchronized with trunk
...
git-svn-id: branches/wasm@47784 -
2020-12-16 01:15:50 +00:00
pierre
9a0107a19d
Fix compilation failure for avr compiler with -dDEBUG_NODE_XML, to fix bug report 38222
...
git-svn-id: trunk@47783 -
2020-12-16 00:07:39 +00:00
florian
aeff5b3577
* improved change information
...
git-svn-id: trunk@47781 -
2020-12-15 21:33:33 +00:00
nickysn
f572bcf8f3
+ introduced the NR_LOCAL_FRAME_POINTER_REG constant (alias for NR_R3)
...
git-svn-id: branches/wasm@47780 -
2020-12-15 15:08:24 +00:00
nickysn
bfb13fb848
- get rid of treference.islocal. Instead, use checks whether treference.base
...
is equal to NR_LOCAL_STACK_POINTER_REG
git-svn-id: branches/wasm@47779 -
2020-12-14 23:27:27 +00:00
nickysn
47ff701db7
* synchronized with trunk
...
git-svn-id: branches/wasm@47778 -
2020-12-14 23:07:56 +00:00
nickysn
fd690e8ba1
* use NR_LOCAL_STACK_POINTER_REG in ttgwasm.localVarToRef
...
git-svn-id: branches/wasm@47777 -
2020-12-14 23:07:17 +00:00
nickysn
ce8439fb36
+ introduced NR_LOCAL_STACK_POINTER_REG
...
git-svn-id: branches/wasm@47776 -
2020-12-14 23:06:55 +00:00
florian
2e2f2eb784
- remove could which prevented that rte is triggered even if we are inside
...
an exception block but *without* using sysutils. The remove code
was once added to have primitive exception handling even if
no sysutils is used. But if this is desired, an appropriate handler
to ErrorProc should be assigned. Resolves #38201
git-svn-id: trunk@47775 -
2020-12-14 21:55:42 +00:00
florian
00af340feb
* cleanup
...
git-svn-id: trunk@47774 -
2020-12-14 21:55:41 +00:00
pierre
eb722c8294
Fix ash_savefregp_x handling, as revealed by range check error
...
git-svn-id: trunk@47773 -
2020-12-14 11:21:10 +00:00
nickysn
adb631f2cf
* synchronized with trunk
...
git-svn-id: branches/wasm@47772 -
2020-12-13 21:57:28 +00:00
michael
6668e265e8
* Allow appending files
...
git-svn-id: trunk@47770 -
2020-12-13 11:57:58 +00:00
florian
6d7d567a25
* min/max optimization on x86 can be applied now without fastmath as NaN is handled properly now
...
git-svn-id: trunk@47769 -
2020-12-13 09:52:45 +00:00
florian
b90ec52a0e
* x86: apply VOpVmov2VOp optimization to vmins*/vmaxs*
...
git-svn-id: trunk@47768 -
2020-12-13 09:52:45 +00:00
florian
88a0d4d64b
+ optimize if x>a then x:=a; into min(a,x);, similiar for max
...
* test extended
git-svn-id: trunk@47767 -
2020-12-13 09:52:44 +00:00
nickysn
91e9558f5b
* synchronized with trunk
...
git-svn-id: branches/wasm@47766 -
2020-12-12 23:20:33 +00:00
florian
53a4e6c513
* patch by Zoran Vučenović: fixes TDoubleRec.SetFrac, resolves #38202
...
+ test
git-svn-id: trunk@47765 -
2020-12-12 21:39:17 +00:00
florian
c82aae59a1
* call node_complexity correctly in order_parameters when sorting parameters
...
git-svn-id: trunk@47763 -
2020-12-11 22:14:18 +00:00
florian
0ab69ea0ad
+ m68k: LEA, MOVE(M) to MOVE(M) predecremented optimization and MOVE(M), LEA to MOVE(M) postincremented optimization
...
git-svn-id: trunk@47762 -
2020-12-11 22:14:17 +00:00
florian
a0a8a6911a
* m68k: proper values for first_*_reg
...
git-svn-id: trunk@47761 -
2020-12-11 22:14:16 +00:00
Mattias Gaertner
879bc83d7b
pastojs: fixed record member type
...
git-svn-id: trunk@47760 -
2020-12-11 20:04:02 +00:00
Mattias Gaertner
7e1cb64d5d
pastojs: fixed unit without implementation
...
git-svn-id: trunk@47759 -
2020-12-11 17:33:45 +00:00
Mattias Gaertner
508d4baa68
fcl-passrc: resolver: fixed unit without implementation
...
git-svn-id: trunk@47758 -
2020-12-11 17:32:51 +00:00
florian
f0298f63d0
* allow absolute variables with an address to be used as syscall base
...
git-svn-id: trunk@47757 -
2020-12-11 17:32:41 +00:00
yury
67284c7452
+ Added a test for proper setting of fc_no_direct_exit in flowcontrol.
...
git-svn-id: trunk@47755 -
2020-12-11 14:17:18 +00:00
michael
3db8f5c91f
* Fix compilation
...
git-svn-id: trunk@47754 -
2020-12-11 13:34:44 +00:00
pierre
0d592e8d1a
* Try to read command line exec name on linux, using argv[0], in order to be able
...
to use the symbolic link name instead of the real executable name.
This allows to use symbolic links to gppc386, named gppc1
to be able to launch ppc1 under gdb, as it is already possible
under OpenBSD (which returns the command line name via paramstr(0),
or under Windows if <SYMLINK> is used (generated by mklink).
+ Generate errors if compiler executable is not found, or if gdb binary
is not found.
git-svn-id: trunk@47753 -
2020-12-11 11:14:33 +00:00
michael
729c1dee8c
* Fix bug ID #38193 : order on darwin is same as openbsd
...
git-svn-id: trunk@47752 -
2020-12-11 09:14:25 +00:00