Skip to content

Commit

Permalink
fbc: internal: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jayrm committed Feb 24, 2024
1 parent 076bedb commit c9b317f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/ast-optimize.bas
Expand Up @@ -1704,7 +1704,7 @@ private function hOptStrAssignment _
case AST_NODECLASS_DEREF
'' check if we can optimize to fb_StrConcatByref()
'' - look specifically for a = a + b where both a & b are STRINGS where we
'' won't necessarily know until run time if a & b could be the same descriptorknow until run time if a and b could be the same descriptor.
'' won't necessarily know until run time if a & b could be the same descriptor
'' - but don't optimize a = a + a since we must make a copy anyway
''
''
Expand Down

0 comments on commit c9b317f

Please sign in to comment.