|
@@ -79,6 +79,7 @@ interface
|
|
|
procedure queue_typeconvn(fromdef, todef: tdef); override;
|
|
|
procedure queue_emit_staticvar(vs: tstaticvarsym); override;
|
|
|
procedure queue_emit_asmsym(sym: tasmsymbol; def: tdef); override;
|
|
|
+ procedure queue_emit_ordconst(value: int64; def: tdef); override;
|
|
|
|
|
|
class function get_string_symofs(typ: tstringtype; winlikewidestring: boolean): pint; override;
|
|
|
end;
|
|
@@ -487,6 +488,15 @@ implementation
|
|
|
end;
|
|
|
|
|
|
|
|
|
+ procedure tllvmtai_typedconstbuilder.queue_emit_ordconst(value: int64; def: tdef);
|
|
|
+ begin
|
|
|
+ { no offset into an ordinal constant }
|
|
|
+ if fqueue_offset<>0 then
|
|
|
+ internalerror(2015030702);
|
|
|
+ inherited;
|
|
|
+ end;
|
|
|
+
|
|
|
+
|
|
|
class function tllvmtai_typedconstbuilder.get_string_symofs(typ: tstringtype; winlikewidestring: boolean): pint;
|
|
|
begin
|
|
|
{ LLVM does not support labels in the middle of a declaration }
|