Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 30a6db39edcb6157b192968fb2230efd646cec63..8d61adedac0b06d2c53c5a94153e4c6a14b9e581 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2233,15 +2233,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 |