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

Unified Diff: src/objects-inl.h

Issue 1219943002: Expose SIMD.Float32x4 type to Javascript. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: SameValue, SameValueZero, and tests. 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
« no previous file with comments | « src/objects.cc ('k') | src/ppc/code-stubs-ppc.cc » ('j') | src/runtime.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 120ca988431a99dde0471883cd51b172573e77d6..f753e476d6feea881012b6e0ae4d72fb1cce8652 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -2225,15 +2225,9 @@ bool Object::IsStringObjectWithCharacterAt(uint32_t index) {
void Object::VerifyApiCallResultType() {
#if DEBUG
- if (!(IsSmi() ||
- IsString() ||
- IsSymbol() ||
- IsSpecObject() ||
- IsHeapNumber() ||
- IsUndefined() ||
- IsTrue() ||
- IsFalse() ||
- IsNull())) {
+ if (!(IsSmi() || IsString() || IsSymbol() || IsSpecObject() ||
+ IsHeapNumber() || IsFloat32x4() || IsUndefined() || IsTrue() ||
+ IsFalse() || IsNull())) {
FATAL("API call returned invalid object");
}
#endif // DEBUG
« no previous file with comments | « src/objects.cc ('k') | src/ppc/code-stubs-ppc.cc » ('j') | src/runtime.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698