Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 66a7c1c080d6acc5271abdff1bf63095ab87b757..8f11acc1becd23be529a569f443f0b8fa1a8c427 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -4045,7 +4045,7 @@ void FullCodeGenerator::EmitFastAsciiArrayJoin(CallRuntime* expr) { |
__ movzx_b(scratch, FieldOperand(scratch, Map::kInstanceTypeOffset)); |
__ and_(scratch, Immediate( |
kIsNotStringMask | kStringEncodingMask | kStringRepresentationMask)); |
- __ cmp(scratch, ASCII_STRING_TYPE); |
+ __ cmp(scratch, kStringTag | kOneByteStringTag | kSeqStringTag); |
__ j(not_equal, &bailout); |
// Add (separator length times array_length) - separator length |