| 1962 | namespace JS { |
| 1963 | |
| 1964 | inline bool |
| 1965 | IsPoisonedId(jsid iden) |
| 1966 | { |
| 1967 | if (JSID_IS_STRING(iden)) |
| 1968 | return JS::IsPoisonedPtr(JSID_TO_STRING(iden)); |
| 1969 | if (JSID_IS_OBJECT(iden)) |
| 1970 | return JS::IsPoisonedPtr(JSID_TO_OBJECT(iden)); |
| 1971 | return false; |
| 1972 | } |
| 1973 | |
| 1974 | } /* namespace JS */ |
| 1975 |
no test coverage detected