Skip to content

Conversation

@gsathya
Copy link
Contributor

@gsathya gsathya commented Jul 31, 2024

Stack from ghstack (oldest at bottom):

This is a useful utility function similar to the existing
makeInstructionId and makeIdentifierId functions.

This PR moves it outside the HIRBuilder so we can use this in passes
that don't have access to the builder instance.

This is a useful utility function similar to the existing
`makeInstructionId` and `makeIdentifierId` functions.

This PR moves it outside the HIRBuilder so we can use this in passes
that don't have access to the builder instance.

[ghstack-poisoned]
@vercel
Copy link

vercel bot commented Jul 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 31, 2024 1:40pm

loc,
};
}

Copy link
Member

Choose a reason for hiding this comment

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

just a heads up that we also have createTemporaryPlace() which we could maybe unify

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do this in a follow up!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done here #30585

@gsathya gsathya merged commit 2daa703 into gh/gsathya/11/base Aug 2, 2024
gsathya added a commit that referenced this pull request Aug 2, 2024
This is a useful utility function similar to the existing
`makeInstructionId` and `makeIdentifierId` functions.

This PR moves it outside the HIRBuilder so we can use this in passes
that don't have access to the builder instance.

ghstack-source-id: 1ac0839
Pull Request resolved: #30545
@gsathya gsathya deleted the gh/gsathya/11/head branch August 2, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants