Version 3.5.8.
Added V8EXPORT attributes for v8::Array::CheckCast and v8::Number::CheckCast.
Made a slight API change enabling opting out from null termination in String::Write*().
Fixed arm build for gcc-4.6.
git-svn-id: http://v8.googlecode.com/svn/trunk@9008 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/objects-inl.h b/src/objects-inl.h
index c5fda89..098bd7a 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -297,6 +297,11 @@
}
+uint32_t StringShape::encoding_tag() {
+ return type_ & kStringEncodingMask;
+}
+
+
uint32_t StringShape::full_representation_tag() {
return (type_ & (kStringRepresentationMask | kStringEncodingMask));
}