Skip to content

[libSyntax] Fix places in which RawSyntax nodes were created without an arena #18878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2018

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Aug 21, 2018

We were failing to pass the SyntaxArena to the creation of RawSyntax nodes in some places and thus allocating the nodes using malloc instead of the bump allocator. With this PR we correctly pass the arena.

@ahoppen ahoppen requested a review from rintaro August 21, 2018 20:05
@ahoppen
Copy link
Member Author

ahoppen commented Aug 21, 2018

@swift-ci Please smoke test

@ahoppen ahoppen force-pushed the raw-syntax-without-arena branch from 276b190 to cc4cc4c Compare August 21, 2018 22:30
@ahoppen
Copy link
Member Author

ahoppen commented Aug 21, 2018

@swift-ci Please smoke test

Copy link
Member

@rintaro rintaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ahoppen ahoppen merged commit 509b672 into swiftlang:master Aug 22, 2018
@ahoppen ahoppen deleted the raw-syntax-without-arena branch October 21, 2019 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants