Repository navigation
Conversation
Contributor
Merging this PR will not alter performance
Comparing Footnotes
|
armano2
force-pushed
the
fix/add-missing-negation-for-boolean-literal
branch
from
September 20, 2026 19:19
77b0320 to
478f5e6
Compare
Dunqing
force-pushed
the
fix/add-missing-negation-for-boolean-literal
branch
from
September 21, 2026 03:39
478f5e6 to
f09e553
Compare
Dunqing
force-pushed
the
fix/add-missing-negation-for-boolean-literal
branch
from
September 21, 2026 03:49
f09e553 to
3bb4505
Compare
graphite-app Bot
pushed a commit
that referenced
this pull request
Sep 21, 2026
### 🚀 Features - 1fac655 coverage: Support new TypeScript fixture layout (#26226) (camc314) ### 🐛 Bug Fixes - cd7228f minifier: Add missing negation for boolean literal (#26847) (Armano) - 32305e2 transformer: Skip enum reverse mappings for syntactic string initializers (#26724) (Dunqing) - 7811f0a parser: Preserve reparsed `await` tokens (#26619) (camc314) - 9220158 transformer: Skip recovered using loop patterns (#26722) (camc314) - 3130405 parser: Recover await using object binding patterns (#26721) (camc314) - 827fdbd parser: Reject invalid modifiers on import aliases (#26622) (camc314) ### ⚡ Performance - 3f1e3aa minifier: Preallocate stmts vec size to avoid excesive reallocs (#26856) (Armano) - bd3f69e semantic: Reuse identifier hashes in enum member lookups (#26773) (camc314) - 5f72954 minifier: Reduce allocations when processing if statements (#26666) (Armano)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
we sometimes do construct
BooleanLiteral, mostly in dce mode, with this we can negate its value instead of first wrapping it with not and afterwards flipping itin dce instead of:
true->!truetrue->falseAnd in non dce
true->!true->!!0->!1true->false->!1