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

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: Don't run downloaded SIMD value type tests. Created 5 years, 4 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
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 3a2ec3e559a16863db44acfcbce63a72cc9762aa..d2e66189d15c5c1f6b4a17d5cdb05458ef610c89 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());
}
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698