Skip to content

Incorrect Asm in x64 FastStringBuilder Append for Char #5

Description

@deadserious

When using x64 compiler...

sb := TStringBuilder.Create;
sb.Append('{')
sb.Append('items:{}');
sb.Append('}');

sb.ToString does not result in the expected '{items:{}}' but instead
$01+'items:{}}'

If you comment out the asm and use the delphi native code, it is correct.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions