Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resurrect type based optimizations around null check via == for J2CL …
…if the type is known to be an Object type. Similar optimization was removed earlier since it included === check that differentiates null and undefined which is not safe. We are only resurrecting == and only for J2CL since J2CL does runtime type checking for development that makes this pretty safe and where the most gains are. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=225921492
- Loading branch information
Showing
3 changed files
with
82 additions
and
24 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
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
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