Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(605)

Unified Diff: src/objects-debug.cc

Issue 1250733005: SIMD.js Add the other SIMD Phase 1 types. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 5babfdf1a7f434ce341a735b9daf1f9ee61813a5..69b49eb94934735f8ec1b25500a89511e87a993a 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -61,6 +61,24 @@ void HeapObject::HeapObjectVerify() {
case FLOAT32X4_TYPE:
Float32x4::cast(this)->Float32x4Verify();
break;
+ case INT32X4_TYPE:
+ Int32x4::cast(this)->Int32x4Verify();
+ break;
+ case BOOL32X4_TYPE:
+ Bool32x4::cast(this)->Bool32x4Verify();
+ break;
+ case INT16X8_TYPE:
+ Int16x8::cast(this)->Int16x8Verify();
+ break;
+ case BOOL16X8_TYPE:
+ Bool16x8::cast(this)->Bool16x8Verify();
+ break;
+ case INT8X16_TYPE:
+ Int8x16::cast(this)->Int8x16Verify();
+ break;
+ case BOOL8X16_TYPE:
+ Bool8x16::cast(this)->Bool8x16Verify();
+ break;
case FIXED_ARRAY_TYPE:
FixedArray::cast(this)->FixedArrayVerify();
break;
@@ -217,6 +235,24 @@ void HeapNumber::HeapNumberVerify() {
void Float32x4::Float32x4Verify() { CHECK(IsFloat32x4()); }
+void Int32x4::Int32x4Verify() { CHECK(IsInt32x4()); }
+
+
+void Bool32x4::Bool32x4Verify() { CHECK(IsBool32x4()); }
+
+
+void Int16x8::Int16x8Verify() { CHECK(IsInt16x8()); }
+
+
+void Bool16x8::Bool16x8Verify() { CHECK(IsBool16x8()); }
+
+
+void Int8x16::Int8x16Verify() { CHECK(IsInt8x16()); }
+
+
+void Bool8x16::Bool8x16Verify() { CHECK(IsBool8x16()); }
+
+
void ByteArray::ByteArrayVerify() {
CHECK(IsByteArray());
}

Powered by Google App Engine
This is Rietveld 408576698