Index: src/objects-visiting.cc |
diff --git a/src/objects-visiting.cc b/src/objects-visiting.cc |
index a2dc43e247d6a38f10e96c5a814e6a54df28ee53..6ae4d7cac09738b53e8a1a0d2a9f8c188f37e610 100644 |
--- a/src/objects-visiting.cc |
+++ b/src/objects-visiting.cc |
@@ -45,7 +45,7 @@ StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( |
if (instance_type < FIRST_NONSTRING_TYPE) { |
switch (instance_type & kStringRepresentationMask) { |
case kSeqStringTag: |
- if ((instance_type & kStringEncodingMask) == kAsciiStringTag) { |
+ if ((instance_type & kStringEncodingMask) == kOneByteStringTag) { |
return kVisitSeqAsciiString; |
} else { |
return kVisitSeqTwoByteString; |