Push bleeding_edge revision 1734 to trunk.
git-svn-id: http://v8.googlecode.com/svn/trunk@1735 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 653ee0d..c2143ea 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -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);
}