Index: src/ia32/regexp-macro-assembler-ia32.cc |
=================================================================== |
--- src/ia32/regexp-macro-assembler-ia32.cc (revision 6129) |
+++ src/ia32/regexp-macro-assembler-ia32.cc (working copy) |
@@ -652,7 +652,7 @@ |
void RegExpMacroAssemblerIA32::Fail() { |
ASSERT(FAILURE == 0); // Return value for failure is zero. |
- __ xor_(eax, Operand(eax)); // zero eax. |
+ __ Set(eax, Immediate(0)); |
__ jmp(&exit_label_); |
} |