Fix a check for method exit hooks in ARM

We check if run_exit_hooks_ is true to run method exit hooks. Since
run_exit_hooks_ is a bool value we should only compare with a byte and
not the full word. ARM32 was using ldr instead of ldrb. Other
architectures use the correct opcode.

Bug: 335032759
Test: art/test.py
Change-Id: I30bf11dbad44e25b6fe23d979cc7a6caa566d1e1
1 file changed