Browse Source

* changed the result of get_dynstring_rec_name() to TSymStr

git-svn-id: trunk@34371 -
Jonas Maebe 9 years ago
parent
commit
e91ba32b7c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/aasmcnst.pas

+ 2 - 2
compiler/aasmcnst.pas

@@ -335,7 +335,7 @@ type
      class function get_vectorized_dead_strip_section_symbol_start(const basename: string; st: tsymtable; options: ttcdeadstripsectionsymboloptions): tasmsymbol; virtual;
      class function get_vectorized_dead_strip_section_symbol_start(const basename: string; st: tsymtable; options: ttcdeadstripsectionsymboloptions): tasmsymbol; virtual;
      class function get_vectorized_dead_strip_section_symbol_end(const basename: string; st: tsymtable; options: ttcdeadstripsectionsymboloptions): tasmsymbol; virtual;
      class function get_vectorized_dead_strip_section_symbol_end(const basename: string; st: tsymtable; options: ttcdeadstripsectionsymboloptions): tasmsymbol; virtual;
 
 
-     class function get_dynstring_rec_name(typ: tstringtype; winlike: boolean; len: asizeint): string;
+     class function get_dynstring_rec_name(typ: tstringtype; winlike: boolean; len: asizeint): TSymStr;
      { the datalist parameter specifies where the data for the string constant
      { the datalist parameter specifies where the data for the string constant
        will be emitted (via an internal data builder) }
        will be emitted (via an internal data builder) }
      function emit_ansistring_const(datalist: TAsmList; data: pchar; len: asizeint; encoding: tstringencoding): tasmlabofs;
      function emit_ansistring_const(datalist: TAsmList; data: pchar; len: asizeint; encoding: tstringencoding): tasmlabofs;
@@ -1446,7 +1446,7 @@ implementation
      end;
      end;
 
 
 
 
-   class function ttai_typedconstbuilder.get_dynstring_rec_name(typ: tstringtype; winlike: boolean; len: asizeint): string;
+   class function ttai_typedconstbuilder.get_dynstring_rec_name(typ: tstringtype; winlike: boolean; len: asizeint): TSymStr;
      begin
      begin
        case typ of
        case typ of
          st_ansistring:
          st_ansistring: