Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index ed93e1dc9e188ae1beea1f8114cecdf6642f468d..8c4033768283520c5e9bff5024ed1493b78d78c8 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -89,6 +89,12 @@ void HeapObject::HeapObjectVerify() { |
case HEAP_NUMBER_TYPE: |
HeapNumber::cast(this)->HeapNumberVerify(); |
break; |
+ case FLOAT32x4_TYPE: |
+ Float32x4::cast(this)->Float32x4Verify(); |
+ break; |
+ case INT32x4_TYPE: |
+ Int32x4::cast(this)->Int32x4Verify(); |
+ break; |
case FIXED_ARRAY_TYPE: |
FixedArray::cast(this)->FixedArrayVerify(); |
break; |
@@ -129,6 +135,12 @@ void HeapObject::HeapObjectVerify() { |
case EXTERNAL_FLOAT_ARRAY_TYPE: |
ExternalFloatArray::cast(this)->ExternalFloatArrayVerify(); |
break; |
+ case EXTERNAL_FLOAT32x4_ARRAY_TYPE: |
+ ExternalFloat32x4Array::cast(this)->ExternalFloat32x4ArrayVerify(); |
+ break; |
+ case EXTERNAL_INT32x4_ARRAY_TYPE: |
+ ExternalInt32x4Array::cast(this)->ExternalInt32x4ArrayVerify(); |
+ break; |
case EXTERNAL_DOUBLE_ARRAY_TYPE: |
ExternalDoubleArray::cast(this)->ExternalDoubleArrayVerify(); |
break; |
@@ -252,6 +264,16 @@ void HeapNumber::HeapNumberVerify() { |
} |
+void Float32x4::Float32x4Verify() { |
+ CHECK(IsFloat32x4()); |
+} |
+ |
+ |
+void Int32x4::Int32x4Verify() { |
+ CHECK(IsInt32x4()); |
+} |
+ |
+ |
void ByteArray::ByteArrayVerify() { |
CHECK(IsByteArray()); |
} |
@@ -302,6 +324,16 @@ void ExternalFloatArray::ExternalFloatArrayVerify() { |
} |
+void ExternalFloat32x4Array::ExternalFloat32x4ArrayVerify() { |
+ CHECK(IsExternalFloat32x4Array()); |
+} |
+ |
+ |
+void ExternalInt32x4Array::ExternalInt32x4ArrayVerify() { |
+ CHECK(IsExternalInt32x4Array()); |
+} |
+ |
+ |
void ExternalDoubleArray::ExternalDoubleArrayVerify() { |
CHECK(IsExternalDoubleArray()); |
} |
@@ -1086,6 +1118,8 @@ void JSObject::IncrementSpillStatistics(SpillInformation* info) { |
case EXTERNAL_INT_ELEMENTS: |
case EXTERNAL_UNSIGNED_INT_ELEMENTS: |
case EXTERNAL_FLOAT_ELEMENTS: |
+ case EXTERNAL_FLOAT32x4_ELEMENTS: |
+ case EXTERNAL_INT32x4_ELEMENTS: |
case EXTERNAL_DOUBLE_ELEMENTS: |
case EXTERNAL_PIXEL_ELEMENTS: { |
info->number_of_objects_with_fast_elements_++; |