| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 21efff43e583fa6779177639c768ea15bcc6f0ea..5dcf4e674e8f7734572a0c5e8c63634d611592ab 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2214,15 +2214,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
|
|
|