[x64] Pass Label::Distance from j to jmp
This looks like an oversight. If we know that near jumps can be used, we should pass that information on to the {jmp} method. R=ahaas@chromium.org Change-Id: I839a7a7b66f0e9d535a7cece283750f5c45a44c2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1930618 Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#65144}
This commit is contained in:
parent
bde74cdd4c
commit
784a48b3ec
@ -1394,7 +1394,7 @@ void Assembler::int3() {
|
||||
|
||||
void Assembler::j(Condition cc, Label* L, Label::Distance distance) {
|
||||
if (cc == always) {
|
||||
jmp(L);
|
||||
jmp(L, distance);
|
||||
return;
|
||||
} else if (cc == never) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user