Backed out changeset 1ccf7b6e0eb7 -- it was a temporary diagnostic.

This commit is contained in:
David Mandelin 2010-11-15 13:02:37 -08:00
parent bea0ae20ca
commit 1dbf8a3b8c
2 changed files with 0 additions and 10 deletions

View File

@ -326,12 +326,6 @@ JSID_TO_STRING(jsid id)
return (JSString *)(JSID_BITS(id));
}
static JS_ALWAYS_INLINE JSBool
JSID_IS_ZERO(jsid id)
{
return JSID_BITS(id) == NULL;
}
JS_PUBLIC_API(JSBool)
JS_StringHasBeenInterned(JSString *str);

View File

@ -173,10 +173,6 @@ Shape::Shape(jsid id, js::PropertyOp getter, js::PropertyOp setter, uint32 slot,
table(NULL), id(id), rawGetter(getter), rawSetter(setter), slot(slot), attrs(uint8(attrs)),
flags(uint8(flags)), shortid(int16(shortid)), parent(NULL)
{
#define JS_CRASH(addr) *(int *) addr = 0
if (JSID_IS_ZERO(id))
JS_CRASH(0xa8);
#undef JS_CRASH
JS_ASSERT_IF(slotSpan != SHAPE_INVALID_SLOT, slotSpan < JSObject::NSLOTS_LIMIT);
JS_ASSERT_IF(getter && (attrs & JSPROP_GETTER), getterObj->isCallable());
JS_ASSERT_IF(setter && (attrs & JSPROP_SETTER), setterObj->isCallable());