|
@@ -568,12 +568,14 @@ interface
|
|
|
constructor Create_uleb128bit(_value : qword);
|
|
|
constructor Create_aint(_value : aint);
|
|
|
constructor Create_pint(_value : pint);
|
|
|
+ constructor Create_pint_unaligned(_value : pint);
|
|
|
constructor Create_sym(_sym:tasmsymbol);
|
|
|
constructor Create_type_sym(_typ:taiconst_type;_sym:tasmsymbol);
|
|
|
constructor Create_sym_offset(_sym:tasmsymbol;ofs:aint);
|
|
|
constructor Create_rel_sym(_typ:taiconst_type;_sym,_endsym:tasmsymbol);
|
|
|
constructor Create_rva_sym(_sym:tasmsymbol);
|
|
|
constructor Createname(const name:string;ofs:aint);
|
|
|
+ constructor Create_type_name(_typ:taiconst_type;const name:string;ofs:aint);
|
|
|
constructor Create_nil_codeptr;
|
|
|
constructor Create_nil_dataptr;
|
|
|
constructor ppuload(t:taitype;ppufile:tcompilerppufile);override;
|
|
@@ -1608,6 +1610,17 @@ implementation
|
|
|
end;
|
|
|
|
|
|
|
|
|
+ constructor tai_const.Create_pint_unaligned(_value: pint);
|
|
|
+ begin
|
|
|
+ inherited Create;
|
|
|
+ typ:=ait_const;
|
|
|
+ consttype:=aitconst_ptr_unaligned;
|
|
|
+ value:=_value;
|
|
|
+ sym:=nil;
|
|
|
+ endsym:=nil;
|
|
|
+ end;
|
|
|
+
|
|
|
+
|
|
|
constructor tai_const.Create_type_sym(_typ:taiconst_type;_sym:tasmsymbol);
|
|
|
begin
|
|
|
inherited Create;
|
|
@@ -1685,6 +1698,13 @@ implementation
|
|
|
end;
|
|
|
|
|
|
|
|
|
+ constructor tai_const.Create_type_name(_typ:taiconst_type;const name:string;ofs:aint);
|
|
|
+ begin
|
|
|
+ self.create_sym_offset(current_asmdata.RefAsmSymbol(name),ofs);
|
|
|
+ consttype:=_typ;
|
|
|
+ end;
|
|
|
+
|
|
|
+
|
|
|
constructor tai_const.Create_nil_codeptr;
|
|
|
begin
|
|
|
inherited Create;
|