Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 26ed2ddd4dee3279a4141e320651adaf5ac50f5e..5a360e8e69dea900ee64e59425dfcd779ddc1f54 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -1148,6 +1148,15 @@ void Assembler::incl(const Operand& dst) { |
} |
+void Assembler::incl(Register dst) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ emit_optional_rex_32(dst); |
+ emit(0xFF); |
+ emit_modrm(0, dst); |
+} |
+ |
+ |
void Assembler::int3() { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |