| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 7952d45ba02bb7bdf81b5508efeadb55a8fa408c..b405c11ac9d8beba2dbdcf3c632bb19ce8c87fda 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2228,15 +2228,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
|
|
|