Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index c0b2abd512d08464c928a395234a73cb1055b84b..e7d6770ca14147fd0a63f26f8df180e2cbf107c9 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -932,6 +932,13 @@ void Assembler::idiv(Register src) { |
} |
+void Assembler::div(Register src) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0xF7); |
+ EMIT(0xF0 | src.code()); |
+} |
+ |
+ |
void Assembler::imul(Register reg) { |
EnsureSpace ensure_space(this); |
EMIT(0xF7); |