florian
|
9a5e64442f
+ support copy with two parameters, resolves #22964
|
13 gadi atpakaļ |
florian
|
ff12d63248
+ generic popcnt support
|
13 gadi atpakaļ |
florian
|
b782918434
* first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction
|
13 gadi atpakaļ |
florian
|
396a9cafa8
* use ptrsinttype instead of sinttype as code parameter for val: for "normal" 32/64 bit targets this does not matter,
|
13 gadi atpakaļ |
sergei
|
684bf4fba2
+ Reject object types without VMT as arguments of typeof(). Without this check, an undefined reference to VMT is generated which fails at the linking stage.
|
13 gadi atpakaļ |
pierre
|
dd59db1bba
* Set retun value of get_frame method to nil
|
13 gadi atpakaļ |
Jonas Maebe
|
56fcc87cb2
* add get_frame as an internal symbol for the jvm target because that target
|
13 gadi atpakaļ |
Jonas Maebe
|
89c230c035
* moved assert handling from second to first pass, so that the code generator
|
13 gadi atpakaļ |
svenbarth
|
7332a0f801
ninl.pas, tinlinenode.pass_typecheck: an intrinsic which has a generic type parameter as argument is left as is (e.g. a call) and thus this needs to be respected when typechecking a SizeOf. Fixes Mantis #21592.
|
13 gadi atpakaļ |
Jonas Maebe
|
562b968b16
* now that copy() expressions are only translated into calls during the
|
13 gadi atpakaļ |
Jonas Maebe
|
834026bfb5
* synchronised with trunk up to r21067
|
13 gadi atpakaļ |
paul
|
a26bc50ca6
compiler: change ShortString->(Some)String and AnsiString->(Some)String overload precedence both for variables and string constants, change unicode constant type from widestring to unicodestring (Delphi compatibility)
|
13 gadi atpakaļ |
florian
|
13e152f8a9
* even if currency is handle by an int64, it needs no extra handling in handle_default
|
13 gadi atpakaļ |
Jonas Maebe
|
98609d4c3e
* also create a realconstn for default(currency) on platforms where the
|
13 gadi atpakaļ |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 gadi atpakaļ |
svenbarth
|
bd19a16be9
Add support for Default() intrinsic. For now this is only (fully) supported
|
13 gadi atpakaļ |
florian
|
ca90260855
+ fix duplicate internal error, resolves #21545
|
13 gadi atpakaļ |
Jonas Maebe
|
3589f90cf8
* also show the valid bounds in most cases when signalling a range check
|
13 gadi atpakaļ |
Jonas Maebe
|
34df763ab1
* allocate space for the explicitly allocated assert parameter
|
13 gadi atpakaļ |
pierre
|
2e0a5facd2
* Fix str inline for booleans for 64 bit CPUs
|
13 gadi atpakaļ |
Jonas Maebe
|
85ef5e109c
+ assert() support for the JVM target (currently ignores the Java classloader
|
13 gadi atpakaļ |
paul
|
c1866d5c17
compiler:
|
13 gadi atpakaļ |
paul
|
c6ca9e5091
compiler:
|
13 gadi atpakaļ |
paul
|
485695d4e6
compiler, rtl: pass codepage argument to all ansistring str() helpers to return result with correct codepage
|
14 gadi atpakaļ |
florian
|
cb647d875c
* avoid mistakes with unimplemented sqr function on architectures with no softfloat support
|
14 gadi atpakaļ |
paul
|
7a998aec3a
compiler, rtl: add a codepage argument fpc_Read_Text_AnsiStr to create new AnsiString with the codepage of passed AnsiString argument
|
14 gadi atpakaļ |
Jonas Maebe
|
583c9a3360
* replace assigned(dynarray) and dynarray=/<>nil with length(dynarray)=/<>0
|
14 gadi atpakaļ |
Jonas Maebe
|
28c20cfc5e
* the default string type for the JVM target is no longer automatically
|
14 gadi atpakaļ |
Jonas Maebe
|
67c2c7c166
* renamed cchartype to cansichartype
|
14 gadi atpakaļ |
Jonas Maebe
|
d48fa1d7e2
* for all managed VM targets, reject ord->ptr typecasts (except for 0),
|
14 gadi atpakaļ |