X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fv8%2Fsrc%2Fproperty-details.h;h=61fecedd1bf265115cd36d9f8132e76425f979a3;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=51f94a1ef6646771b38c0ef47f5121459ecef82a;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/v8/src/property-details.h b/src/v8/src/property-details.h index 51f94a1..61feced 100644 --- a/src/v8/src/property-details.h +++ b/src/v8/src/property-details.h @@ -65,9 +65,6 @@ class Representation { kSmi, kInteger32, kDouble, - kFloat32x4, - kFloat64x2, - kInt32x4, kHeapObject, kTagged, kExternal, @@ -85,9 +82,6 @@ class Representation { static Representation Smi() { return Representation(kSmi); } static Representation Integer32() { return Representation(kInteger32); } static Representation Double() { return Representation(kDouble); } - static Representation Float32x4() { return Representation(kFloat32x4); } - static Representation Float64x2() { return Representation(kFloat64x2); } - static Representation Int32x4() { return Representation(kInt32x4); } static Representation HeapObject() { return Representation(kHeapObject); } static Representation External() { return Representation(kExternal); } @@ -118,7 +112,6 @@ class Representation { if (IsHeapObject()) return other.IsNone(); if (kind_ == kUInteger8 && other.kind_ == kInteger8) return false; if (kind_ == kUInteger16 && other.kind_ == kInteger16) return false; - if (IsSIMD128() && other.IsSIMD128()) return false; return kind_ > other.kind_; } @@ -158,12 +151,6 @@ class Representation { bool IsInteger32() const { return kind_ == kInteger32; } bool IsSmiOrInteger32() const { return IsSmi() || IsInteger32(); } bool IsDouble() const { return kind_ == kDouble; } - bool IsFloat32x4() const { return kind_ == kFloat32x4; } - bool IsFloat64x2() const { return kind_ == kFloat64x2; } - bool IsInt32x4() const { return kind_ == kInt32x4; } - bool IsSIMD128() const { - return IsFloat32x4() || IsFloat64x2() || IsInt32x4(); - } bool IsHeapObject() const { return kind_ == kHeapObject; } bool IsExternal() const { return kind_ == kExternal; } bool IsSpecialization() const { @@ -308,6 +295,10 @@ class PropertyDetails BASE_EMBEDDED { uint32_t value_; }; + +std::ostream& operator<<(std::ostream& os, + const PropertyAttributes& attributes); +std::ostream& operator<<(std::ostream& os, const PropertyDetails& details); } } // namespace v8::internal #endif // V8_PROPERTY_DETAILS_H_