mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 07:09:29 +02:00
* do nothing for initialising temps in advance for the JVM target as that
happens automatically when required (for constructing arrays/records; reference counted types don't need special treatment since everything is garbage collected) git-svn-id: branches/jvmbackend@18453 -
This commit is contained in:
parent
f57e9778d4
commit
89e70f347c
@ -150,6 +150,9 @@ uses
|
||||
protected
|
||||
procedure gen_load_uninitialized_function_result(list: TAsmList; pd: tprocdef; resdef: tdef; const resloc: tcgpara); override;
|
||||
|
||||
procedure inittempvariables(list:TAsmList);override;
|
||||
|
||||
|
||||
{ in case of an array, the array base address and index have to be
|
||||
put on the evaluation stack before the stored value; similarly, for
|
||||
fields the self pointer has to be loaded first. Also checks whether
|
||||
@ -775,6 +778,11 @@ implementation
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure thlcgjvm.inittempvariables(list: TAsmList);
|
||||
begin
|
||||
{ these are automatically initialised when allocated if necessary }
|
||||
end;
|
||||
|
||||
function thlcgjvm.prepare_stack_for_ref(list: TAsmList; const ref: treference; dup: boolean): longint;
|
||||
var
|
||||
href: treference;
|
||||
|
Loading…
Reference in New Issue
Block a user