#include "JSGlobalObject.h"
#include "NumberPrototype.h"
-#include "Operations.h"
+#include "JSCInlines.h"
namespace JSC {
-ASSERT_HAS_TRIVIAL_DESTRUCTOR(NumberObject);
+STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(NumberObject);
const ClassInfo NumberObject::s_info = { "Number", &JSWrapperObject::s_info, 0, 0, CREATE_METHOD_TABLE(NumberObject) };
void NumberObject::finishCreation(VM& vm)
{
Base::finishCreation(vm);
- ASSERT(inherits(&s_info));
+ ASSERT(inherits(info()));
}
NumberObject* constructNumber(ExecState* exec, JSGlobalObject* globalObject, JSValue number)