Skip to content

Incorrect Asm in x64 FastStringBuilder Append for Char #5

@deadserious

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.

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