Index: src/regexp/x87/regexp-macro-assembler-x87.cc |
diff --git a/src/regexp/x87/regexp-macro-assembler-x87.cc b/src/regexp/x87/regexp-macro-assembler-x87.cc |
index 3d18465ad7eb09c5487883391061566689df1a7e..9f15b1c952f7bf0af37333cc0202c2f1a145d35d 100644 |
--- a/src/regexp/x87/regexp-macro-assembler-x87.cc |
+++ b/src/regexp/x87/regexp-macro-assembler-x87.cc |
@@ -510,7 +510,8 @@ void RegExpMacroAssemblerX87::CheckBitInTable( |
__ and_(ebx, current_character()); |
index = ebx; |
} |
- __ cmpb(FieldOperand(eax, index, times_1, ByteArray::kHeaderSize), 0); |
+ __ cmpb(FieldOperand(eax, index, times_1, ByteArray::kHeaderSize), |
+ Immediate(0)); |
BranchOrBacktrack(not_equal, on_bit_set); |
} |