Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 1724) |
+++ src/objects-inl.h (working copy) |
@@ -263,8 +263,7 @@ |
bool StringShape::IsSequentialTwoByte() { |
- return (type_ & (kStringRepresentationMask | kStringEncodingMask)) == |
- (kSeqStringTag | kTwoByteStringTag); |
+ return full_representation_tag() == (kSeqStringTag | kTwoByteStringTag); |
} |
@@ -274,8 +273,7 @@ |
bool StringShape::IsExternalTwoByte() { |
- return (type_ & (kStringRepresentationMask | kStringEncodingMask)) == |
- (kExternalStringTag | kTwoByteStringTag); |
+ return full_representation_tag() == (kExternalStringTag | kTwoByteStringTag); |
} |