Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index efdd472e8c5af642f74ed0669db873b088f0f657..60383da01554a2ad2280f982ff5df20a9665b141 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -1551,30 +1551,22 @@ void Assembler::nop() { |
} |
-void Assembler::not_(Register dst) { |
+void Assembler::emit_not(Register dst, int size) { |
EnsureSpace ensure_space(this); |
- emit_rex_64(dst); |
+ emit_rex(dst, size); |
emit(0xF7); |
emit_modrm(0x2, dst); |
} |
-void Assembler::not_(const Operand& dst) { |
+void Assembler::emit_not(const Operand& dst, int size) { |
EnsureSpace ensure_space(this); |
- emit_rex_64(dst); |
+ emit_rex(dst, size); |
emit(0xF7); |
emit_operand(2, dst); |
} |
-void Assembler::notl(Register dst) { |
- EnsureSpace ensure_space(this); |
- emit_optional_rex_32(dst); |
- emit(0xF7); |
- emit_modrm(0x2, dst); |
-} |
- |
- |
void Assembler::Nop(int n) { |
// The recommended muti-byte sequences of NOP instructions from the Intel 64 |
// and IA-32 Architectures Software Developer's Manual. |