Merge "Revert "Revert "Add support for long-to-int in the optimizing compiler."""