|
@@ -531,33 +531,6 @@ interface
|
|
end;
|
|
end;
|
|
pinlininginfo = ^tinlininginfo;
|
|
pinlininginfo = ^tinlininginfo;
|
|
|
|
|
|
- { kinds of synthetic procdefs that can be generated }
|
|
|
|
- tsynthetickind = (
|
|
|
|
- tsk_none,
|
|
|
|
- tsk_anon_inherited, // anonymous inherited call
|
|
|
|
- tsk_jvm_clone, // Java-style clone method
|
|
|
|
- tsk_record_deepcopy, // deepcopy for records field by field
|
|
|
|
- tsk_record_initialize, // initialize for records field by field (explicit rather than via rtti)
|
|
|
|
- tsk_empty, // an empty routine
|
|
|
|
- tsk_tcinit, // initialisation of typed constants
|
|
|
|
- tsk_callthrough, // call through to another routine with the same parameters/return type (its def is stored in the skpara field)
|
|
|
|
- tsk_callthrough_nonabstract,// call through to another routine if the current class not abstract (otherwise do the same as tsk_empty)
|
|
|
|
- tsk_jvm_enum_values, // Java "values" class method of JLEnum descendants
|
|
|
|
- tsk_jvm_enum_valueof, // Java "valueOf" class method of JLEnum descendants
|
|
|
|
- tsk_jvm_enum_classconstr, // Java class constructor for JLEnum descendants
|
|
|
|
- tsk_jvm_enum_jumps_constr, // Java constructor for JLEnum descendants for enums with jumps
|
|
|
|
- tsk_jvm_enum_fpcordinal, // Java FPCOrdinal function that returns the enum's ordinal value from an FPC POV
|
|
|
|
- tsk_jvm_enum_fpcvalueof, // Java FPCValueOf function that returns the enum instance corresponding to an ordinal from an FPC POV
|
|
|
|
- tsk_jvm_enum_long2set, // Java fpcLongToEnumSet function that returns an enumset corresponding to a bit pattern in a jlong
|
|
|
|
- tsk_jvm_enum_bitset2set, // Java fpcBitSetToEnumSet function that returns an enumset corresponding to a BitSet
|
|
|
|
- tsk_jvm_enum_set2Set, // Java fpcEnumSetToEnumSet function that returns an enumset corresponding to another enumset (different enum kind)
|
|
|
|
- tsk_jvm_procvar_invoke, // Java invoke method that calls a wrapped procvar
|
|
|
|
- tsk_jvm_procvar_intconstr, // Java procvar class constructor that accepts an interface instance for easy Java interoperation
|
|
|
|
- tsk_jvm_virtual_clmethod, // Java wrapper for virtual class method
|
|
|
|
- tsk_field_getter, // getter for a field (callthrough property is passed in skpara)
|
|
|
|
- tsk_field_setter // Setter for a field (callthrough property is passed in skpara)
|
|
|
|
- );
|
|
|
|
-
|
|
|
|
{$ifdef oldregvars}
|
|
{$ifdef oldregvars}
|
|
{ register variables }
|
|
{ register variables }
|
|
pregvarinfo = ^tregvarinfo;
|
|
pregvarinfo = ^tregvarinfo;
|
|
@@ -4110,6 +4083,7 @@ implementation
|
|
deprecatedmsg:=stringdup(ppufile.getstring)
|
|
deprecatedmsg:=stringdup(ppufile.getstring)
|
|
else
|
|
else
|
|
deprecatedmsg:=nil;
|
|
deprecatedmsg:=nil;
|
|
|
|
+ synthetickind:=tsynthetickind(ppufile.getbyte);
|
|
{$ifdef powerpc}
|
|
{$ifdef powerpc}
|
|
{ library symbol for AmigaOS/MorphOS }
|
|
{ library symbol for AmigaOS/MorphOS }
|
|
ppufile.getderef(libsymderef);
|
|
ppufile.getderef(libsymderef);
|
|
@@ -4260,6 +4234,7 @@ implementation
|
|
ppufile.putsmallset(symoptions);
|
|
ppufile.putsmallset(symoptions);
|
|
if sp_has_deprecated_msg in symoptions then
|
|
if sp_has_deprecated_msg in symoptions then
|
|
ppufile.putstring(deprecatedmsg^);
|
|
ppufile.putstring(deprecatedmsg^);
|
|
|
|
+ ppufile.putbyte(byte(synthetickind));
|
|
{$ifdef powerpc}
|
|
{$ifdef powerpc}
|
|
{ library symbol for AmigaOS/MorphOS }
|
|
{ library symbol for AmigaOS/MorphOS }
|
|
ppufile.putderef(libsymderef);
|
|
ppufile.putderef(libsymderef);
|