-// JSValue methods
-JSValuePtr JSNotAnObject::toPrimitive(ExecState* exec, PreferredPrimitiveType) const
-{
- ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception);
- return m_exception;
-}
-
-bool JSNotAnObject::getPrimitiveNumber(ExecState* exec, double&, JSValuePtr&)
-{
- ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception);
- return false;
-}
-
-bool JSNotAnObject::toBoolean(ExecState* exec) const
-{
- ASSERT_UNUSED(exec, exec->hadException() && exec->exception() == m_exception);
- return false;
-}
+const ClassInfo JSNotAnObject::s_info = { "Object", &Base::s_info, 0, CREATE_METHOD_TABLE(JSNotAnObject) };