Merge "Optimize register mask and stack mask in stack maps." am: c8e2132756
am: 3d7c5e8acf

Change-Id: I15eb6ab2c7688496f78f9cd6f7159d0f1da00ced