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

Unified Diff: src/objects-debug.cc

Issue 2695653005: Revert of Remove SIMD.js from V8. (Closed)
Patch Set: Created 3 years, 10 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-body-descriptors-inl.h ('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 060f0b03e258dd05dcc3b9ddf033b308747b7577..bc60bbaabdde53fe9fa310bc541c0407feb2d538 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -63,6 +63,9 @@
case HEAP_NUMBER_TYPE:
case MUTABLE_HEAP_NUMBER_TYPE:
HeapNumber::cast(this)->HeapNumberVerify();
+ break;
+ case SIMD128_VALUE_TYPE:
+ Simd128Value::cast(this)->Simd128ValueVerify();
break;
case FIXED_ARRAY_TYPE:
FixedArray::cast(this)->FixedArrayVerify();
@@ -266,6 +269,10 @@
CHECK(IsHeapNumber() || IsMutableHeapNumber());
}
+
+void Simd128Value::Simd128ValueVerify() { CHECK(IsSimd128Value()); }
+
+
void ByteArray::ByteArrayVerify() {
CHECK(IsByteArray());
}
« no previous file with comments | « src/objects-body-descriptors-inl.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698