-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor optimizations based on IRHydra2.
The comparison to PROMISE_IDENTITY/PROMISE_THROWER were being handled as unoptimized calls to a generic strict comparison function; not worth it, considering these cases are very rarely taken. Try to avoid polymorphic functions by ensuring that the PROMISE_FAKE_CAPABILITY is also a valid PromiseCapability. `x == null` seems to trigger deoptimization at least once; just use strict equality tests.
- Loading branch information
Showing
1 changed file
with
8 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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