]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/JSAPIValueWrapper.cpp
JavaScriptCore-1218.34.tar.gz
[apple/javascriptcore.git] / runtime / JSAPIValueWrapper.cpp
index 475fad57ad00b51da42c3fc6e971c1d825b21fd8..cd1d830fe24a3b132602f873d8f5af10a8baf7fc 100644 (file)
 #include "JSAPIValueWrapper.h"
 
 #include "NumberObject.h"
-#include "UString.h"
 
 namespace JSC {
 
-JSValue JSAPIValueWrapper::toPrimitive(ExecState*, PreferredPrimitiveType) const
-{
-    ASSERT_NOT_REACHED();
-    return JSValue();
-}
+ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSAPIValueWrapper);
 
-bool JSAPIValueWrapper::getPrimitiveNumber(ExecState*, double&, JSValue&)
-{
-    ASSERT_NOT_REACHED();
-    return false;
-}
-
-bool JSAPIValueWrapper::toBoolean(ExecState*) const
-{
-    ASSERT_NOT_REACHED();
-    return false;
-}
-
-double JSAPIValueWrapper::toNumber(ExecState*) const
-{
-    ASSERT_NOT_REACHED();
-    return 0;
-}
-
-UString JSAPIValueWrapper::toString(ExecState*) const
-{
-    ASSERT_NOT_REACHED();
-    return UString();
-}
-
-JSObject* JSAPIValueWrapper::toObject(ExecState*) const
-{
-    ASSERT_NOT_REACHED();
-    return 0;
-}
+const ClassInfo JSAPIValueWrapper::s_info = { "API Wrapper", 0, 0, 0, CREATE_METHOD_TABLE(JSAPIValueWrapper) };
 
 } // namespace JSC