DescriptionMIPS: Fix trampoline emission after switch table generation
Trampolines are generated when the value of pc_offset is greater than
next_buffer_check_ (attribute from Assembler class). This value
shouldn't be incremented in bind_to() method when internal reference
label is bound, because it is not decremented when the switch table is
generated (dd() method from Assemler class).
This patch fixes this problem. Regression test are also included for
mips and mips64 arch.
BUG=
Committed: https://crrev.com/d735f3ab12061f0a588b3f0538f9229cf747f818
Cr-Commit-Position: refs/heads/master@{#41423}
Patch Set 1 #
Messages
Total messages: 15 (9 generated)
|