|
@@ -124,6 +124,8 @@ unit cgobj;
|
|
|
|
|
|
{# Emit a label to the instruction stream. }
|
|
|
procedure a_label(list : TAsmList;l : tasmlabel);virtual;
|
|
|
+ {# Emit a label that can be a target of a Pascal goto statement to the instruction stream. }
|
|
|
+ procedure a_label_pascal_goto_target(list : TAsmList;l : tasmlabel);virtual;
|
|
|
|
|
|
{# Allocates register r by inserting a pai_realloc record }
|
|
|
procedure a_reg_alloc(list : TAsmList;r : tregister);
|
|
@@ -953,6 +955,12 @@ implementation
|
|
|
end;
|
|
|
|
|
|
|
|
|
+ procedure tcg.a_label_pascal_goto_target(list : TAsmList;l : tasmlabel);
|
|
|
+ begin
|
|
|
+ a_label(list,l);
|
|
|
+ end;
|
|
|
+
|
|
|
+
|
|
|
{*****************************************************************************
|
|
|
for better code generation these methods should be overridden
|
|
|
******************************************************************************}
|