Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NTI] Fix DevirtualizePrototypeMethods to handle inlined static.
In certain circumstances, a static function's body can be inlined to the RHS of a prototype method, and this currently causes devirtualization to fail in NTI since the receiver type is null. We now explicitly replace a null receiver with UNKNOWN, which prevents the runtime exception while still allowing correct optimization. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170098793
- Loading branch information