Commit dd3c27ee authored by Jeff Hao's avatar Jeff Hao Committed by Brian Carlstrom
Browse files

Fix verifier upcasting type after instance_of.

The verifier automatically changed the type of a register to be
the checked type in an instance_of instruction, even if the
checked type was the register type's superclass. This would loosen
the type information of the register and cause problems later.

Bug: 10614872

(cherry picked from commit c642ec89)

Change-Id: Ib447557d3582dad6ac01f0e3b4ee497a27a45172
parent 8438ed31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment