Chromium Code Reviews| 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 |