Commit 2a4f602a authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

[ia32,root] Allow usage of ebx for register code only in 'neg'

Bug: v8:6666
Change-Id: I5af95a3e9dcffb4be26a8ffd2948784d2910d64a
Reviewed-on: https://chromium-review.googlesource.com/1242804Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56196}
parent 07f7388b
......@@ -1103,6 +1103,7 @@ void Assembler::neg(Register dst) {
}
void Assembler::neg(Operand dst) {
AllowExplicitEbxAccessScope register_used_for_regcode(this);
EnsureSpace ensure_space(this);
EMIT(0xF7);
emit_operand(ebx, dst);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment