| Index: src/property-details.h
|
| diff --git a/src/property-details.h b/src/property-details.h
|
| index 617e9b2af76ff3e9aa6ab9a273c1783866bd4b3a..84cb04c255073b309448a92b7e206ec1899c3a73 100644
|
| --- a/src/property-details.h
|
| +++ b/src/property-details.h
|
| @@ -89,6 +89,8 @@ class Representation {
|
| kSmi,
|
| kInteger32,
|
| kDouble,
|
| + kFloat32x4,
|
| + kInt32x4,
|
| kHeapObject,
|
| kTagged,
|
| kExternal,
|
| @@ -108,6 +110,8 @@ 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 Int32x4() { return Representation(kInt32x4); }
|
| static Representation HeapObject() { return Representation(kHeapObject); }
|
| static Representation External() { return Representation(kExternal); }
|
|
|
| @@ -137,7 +141,10 @@ class Representation {
|
|
|
| ASSERT(kind_ != kExternal);
|
| ASSERT(other.kind_ != kExternal);
|
| - if (IsHeapObject()) return other.IsDouble() || other.IsNone();
|
| + if (IsHeapObject()) {
|
| + return other.IsDouble() || other.IsFloat32x4() || other.IsInt32x4() ||
|
| + other.IsNone();
|
| + }
|
| if (kind_ == kUInteger8 && other.kind_ == kInteger8) return false;
|
| if (kind_ == kUInteger16 && other.kind_ == kInteger16) return false;
|
| return kind_ > other.kind_;
|
| @@ -179,6 +186,8 @@ 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 IsInt32x4() const { return kind_ == kInt32x4; }
|
| bool IsHeapObject() const { return kind_ == kHeapObject; }
|
| bool IsExternal() const { return kind_ == kExternal; }
|
| bool IsSpecialization() const {
|
|
|