Jonas Maebe
2adb00ac45
* enabled operand size checking (don't know why it was disabled,
...
but enabling it lets the compiler catch the error in tbf/tb0037
and causes no regressions)
git-svn-id: trunk@9465 -
2007-12-15 22:30:23 +00:00
Jonas Maebe
146b3d8bf3
* fixed location.size for length node and x86_64 mul node
...
git-svn-id: trunk@9464 -
2007-12-15 19:27:24 +00:00
Jonas Maebe
69c97f3ac6
+ call SysResetFPU and SysInitFPU like for other platforms
...
git-svn-id: trunk@9458 -
2007-12-15 15:15:28 +00:00
Jonas Maebe
b546eeff6c
* sse operands have to aligned to 16 instead of 8 byte boundaries
...
* fixed alignment directive in the code
git-svn-id: trunk@9457 -
2007-12-15 15:14:20 +00:00
florian
4c699d4a0a
* fixed undo for delstart/delend
...
git-svn-id: trunk@9449 -
2007-12-15 11:24:11 +00:00
florian
aa29f9245c
* properly delete last line, resolves #10283
...
git-svn-id: trunk@9448 -
2007-12-14 21:44:21 +00:00
Jonas Maebe
124c6c0c13
* always let mangled names start with an underscore on Mac OS X, because
...
otherwise the linker does not generate the necessary debug map
information for global variables when using dwarf
git-svn-id: trunk@9447 -
2007-12-14 18:00:35 +00:00
andrew
fba415c79d
changed Int64 to QWord for chmreader to be consistent.
...
git-svn-id: trunk@9446 -
2007-12-14 17:24:18 +00:00
Jonas Maebe
0c773015ef
* moved to the correct location
...
git-svn-id: trunk@9445 -
2007-12-13 21:48:06 +00:00
Jonas Maebe
8536e35e44
* fixed indentation of LowerAnsiString/UpperAnsiString
...
git-svn-id: trunk@9444 -
2007-12-13 21:01:17 +00:00
Jonas Maebe
407fdb89a7
+ also test AnsiStrUpper/AnsiStrLower
...
git-svn-id: trunk@9443 -
2007-12-13 20:55:15 +00:00
michael
c9faa03197
* Patch from Andrew Haines removing some debug statements
...
git-svn-id: trunk@9442 -
2007-12-13 20:54:31 +00:00
Jonas Maebe
19985965e6
* fixed AnsiStrLower/AnsiStrUpper (were exchanged)
...
git-svn-id: trunk@9441 -
2007-12-13 20:49:52 +00:00
Jonas Maebe
60ccf03a0b
* completed cwstring unit
...
* optimized LowerWideString/UpperWideString not to call UniqueString
for each string character
* fixed LowerAnsiString/UpperAnsiString in case an ascii character
has a lower/uppercase version with a different length than 1
+ generic test for ansistring comparisons using on the widestring
manager (based on glibc test)
- removed ansi2ucs4-related stuff as it's not used/needed
git-svn-id: trunk@9440 -
2007-12-13 20:41:31 +00:00
michael
32921dcafb
* Patch from Giulio Bernardi to fix regression and use inline only when allowed
...
git-svn-id: trunk@9439 -
2007-12-13 13:41:43 +00:00
michael
429fd4f685
* Patch from Giulio Bernardi to use NtoLE instead of swapendian
...
git-svn-id: trunk@9438 -
2007-12-13 09:59:19 +00:00
florian
2650ca51e6
* moved
...
git-svn-id: trunk@9437 -
2007-12-12 22:35:00 +00:00
florian
8f17101039
* allow application of as operator only to interfaces having a guid, resolves #6797
...
git-svn-id: trunk@9436 -
2007-12-12 21:07:47 +00:00
michael
2ea9ec7545
* More win64 corrections
...
git-svn-id: trunk@9435 -
2007-12-12 20:41:59 +00:00
michael
c4c6f3f655
* Setting TSQLQuery.Transaction sets TSQLQuery.Database and vice versa. Same for TSQLTransaction.Database and Database.Transaction
...
git-svn-id: trunk@9433 -
2007-12-12 19:46:09 +00:00
michael
569f7efae9
Do not create fpddfb for win64
...
git-svn-id: trunk@9432 -
2007-12-12 19:34:52 +00:00
michael
9e0701e923
* Patch from Giulio Bernardi to fix endianness
...
git-svn-id: trunk@9431 -
2007-12-12 08:43:34 +00:00
Almindor
a6d8590dc1
* use WINSOCK_VERSION in sockets init in windows
...
git-svn-id: trunk@9430 -
2007-12-11 20:34:46 +00:00
Jonas Maebe
0a53dddc99
* fixed vmt format type definition
...
git-svn-id: trunk@9429 -
2007-12-11 19:40:00 +00:00
peter
b5e417bd19
* increase the temp requirements for saving MM registers with the full
...
size of an OS_VECTOR so that we can do the alignment based on the offset
after the allocation is done. Using the size is not possible because the
temp alignment can be smaller than the OS_VECTOR requirement
git-svn-id: trunk@9428 -
2007-12-11 19:39:05 +00:00
Jonas Maebe
ead754c2c3
* write name of "self" as "this", so you can use plain field names inside
...
methods in gdb without having to write "self.fieldname" (self is also
still recognised by gdb, that's built in)
git-svn-id: trunk@9427 -
2007-12-11 18:55:48 +00:00
Jonas Maebe
47d221ee7f
* dsymutil under darwin "smart links" dwarf info -> make sure we
...
use the DW_TAG_typedef entries, because without them a type is
only locally visible in the file where it is declared (see
comments)
git-svn-id: trunk@9426 -
2007-12-11 13:10:39 +00:00
Jonas Maebe
f50d9cb9cb
* finish the lineinfo table with a DW_LNE_set_address of the last
...
instruction of the function, like in the example in the dwarf2
specifications appendix 3 and as done by gcc (expected by Apple's
dsymutil)
git-svn-id: trunk@9425 -
2007-12-10 22:09:12 +00:00
Legolas
27eb735d24
* Resized stack value for NDS
...
* Changes to prt0:
+ Added argv support
* New function calls
git-svn-id: trunk@9424 -
2007-12-10 17:06:14 +00:00
Jonas Maebe
974c240266
* also use sse2 instructions to convert int to real on i386
...
for (types convertable to) longint
* fixed expectloc for x86_64 int_to_real if result is in mmreg
git-svn-id: trunk@9423 -
2007-12-09 18:10:23 +00:00
Jonas Maebe
444ba107f8
* fixed location.size for divmodn (in particular the sign)
...
git-svn-id: trunk@9422 -
2007-12-09 18:06:44 +00:00
marco
679fd10b3f
* export + datadict also for fpc
...
git-svn-id: trunk@9421 -
2007-12-09 10:51:03 +00:00
Jonas Maebe
91e0e5db17
* avoid some superfluous memory accesses when converting a double
...
precision/comp value in an fpu register to an sse value
git-svn-id: trunk@9420 -
2007-12-08 22:59:24 +00:00
Jonas Maebe
b20652821d
+ call fpc_cpucodeinit, so sse_support gets initialised for *bsd/darwin
...
+ support for catching sigill on FreeBSD in case not running on
an SSE2-capable cpu (untested) -- Darwin only runs on SSE2-capable
cpus
git-svn-id: trunk@9419 -
2007-12-08 22:56:58 +00:00
Jonas Maebe
814e983c98
* optimize intvar*(-1) to -intvar
...
git-svn-id: trunk@9418 -
2007-12-08 16:41:28 +00:00
Jonas Maebe
92b99c4389
+ test for previous commit
...
git-svn-id: trunk@9417 -
2007-12-08 16:00:28 +00:00
Jonas Maebe
7ec9dc5bc9
* fixed unix CompareWideString to not treat null characters inside
...
a widestring as end-of-string + test (which fails on Darwin/FreeBSD
in utf-8/utf-16 locales, because their libc's wcscoll is documented
as only working in single-byte locales and falling back to wcscmp
for others)
git-svn-id: trunk@9416 -
2007-12-08 16:00:09 +00:00
Jonas Maebe
da2f1c0374
* updated svn:ignore properties
...
git-svn-id: trunk@9415 -
2007-12-08 15:43:36 +00:00
florian
17fd261292
* fixed compilation
...
git-svn-id: trunk@9414 -
2007-12-08 08:40:42 +00:00
Jonas Maebe
24f8249f36
* flush pending local switch changes before evaluating ifopt
...
(mantis #10350 )
git-svn-id: trunk@9413 -
2007-12-07 18:24:57 +00:00
Jonas Maebe
742ff35c48
+ also optimize assignments from calls to by-reference "results":
...
o it's a by-reference parameter, but ignore that since it's
guaranteed to be safe because of the escape analysis
o it's wrapped in an absolute type conversion -> added
actualtargetnode method to tnode which digs through that
git-svn-id: trunk@9412 -
2007-12-07 17:58:25 +00:00
michael
915aa94e2d
* Implemented dummys for missing methods
...
git-svn-id: trunk@9411 -
2007-12-07 16:42:09 +00:00
Jonas Maebe
d46b433778
* move conversions of winlinke widestring, variant and records/arrays-
...
with-init-info assignments into helper calls from
tassignmentnode.pass_typecheck to pass_1 so they can be optimised
in more cases (patch from Sergei Gorelkin)
git-svn-id: trunk@9410 -
2007-12-07 15:52:12 +00:00
Jonas Maebe
f38e190892
* don't substitute the result variable of an inlined function with
...
a regable variable, because this result variable of the inlined
function may not be regable + test (mantis #10371 )
git-svn-id: trunk@9409 -
2007-12-07 13:29:16 +00:00
michael
46f15635b6
* Removed conditional define. CHM always included
...
git-svn-id: trunk@9408 -
2007-12-07 10:55:17 +00:00
michael
e261bd766c
* Patch from Andrew Haines to support FPDOC generating CHMs
...
git-svn-id: trunk@9407 -
2007-12-07 10:53:21 +00:00
michael
853c34fda0
* Patch from Andrew Haines to support FPDOC generating CHMs
...
git-svn-id: trunk@9406 -
2007-12-07 10:51:52 +00:00
marco
e6087db326
* fix for 10357
...
git-svn-id: trunk@9405 -
2007-12-07 10:13:02 +00:00
marco
244b796a92
* fix for #10352 . MCI_SaveParms
...
git-svn-id: trunk@9404 -
2007-12-07 09:35:58 +00:00
michael
edb3027c7f
* Patch from Giulio Bernardi to fix a typo in writewstring
...
git-svn-id: trunk@9403 -
2007-12-06 22:07:47 +00:00