Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 475fb9de345da6d7054d1c48919f92d752a5c6aa..247e3e79ee4a6988c01de5b246dd56085120e135 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -3551,7 +3551,7 @@ void FullCodeGenerator::EmitFastAsciiArrayJoin(CallRuntime* expr) { |
__ movzxbl(scratch, FieldOperand(scratch, Map::kInstanceTypeOffset)); |
__ andb(scratch, Immediate( |
kIsNotStringMask | kStringEncodingMask | kStringRepresentationMask)); |
- __ cmpb(scratch, Immediate(kStringTag | kAsciiStringTag | kSeqStringTag)); |
+ __ cmpb(scratch, Immediate(kStringTag | kOneByteStringTag | kSeqStringTag)); |
__ j(not_equal, &bailout); |
__ AddSmiField(string_length, |
FieldOperand(string, SeqAsciiString::kLengthOffset)); |
@@ -3590,7 +3590,7 @@ void FullCodeGenerator::EmitFastAsciiArrayJoin(CallRuntime* expr) { |
__ movzxbl(scratch, FieldOperand(scratch, Map::kInstanceTypeOffset)); |
__ andb(scratch, Immediate( |
kIsNotStringMask | kStringEncodingMask | kStringRepresentationMask)); |
- __ cmpb(scratch, Immediate(kStringTag | kAsciiStringTag | kSeqStringTag)); |
+ __ cmpb(scratch, Immediate(kStringTag | kOneByteStringTag | kSeqStringTag)); |
__ j(not_equal, &bailout); |
// Live registers: |