8305690: [X86] Do not emit two REX prefixes in Assembler::prefix
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
445ebef437
commit
49726ee3a9
@ -12547,7 +12547,7 @@ void Assembler::prefix(Register dst, Address adr, Prefix p) {
|
||||
if (adr.index_needs_rex()) {
|
||||
assert(false, "prefix(Register dst, Address adr, Prefix p) does not support handling of an X");
|
||||
} else {
|
||||
prefix(REX_B);
|
||||
p = (Prefix)(p | REX_B);
|
||||
}
|
||||
} else {
|
||||
if (adr.index_needs_rex()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user