X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/93a3786624b2768d89bfa27e46598dc64e2fb70a..40a37d088818fc2fbeba2ef850dbcaaf294befbf:/runtime/NumberObject.cpp diff --git a/runtime/NumberObject.cpp b/runtime/NumberObject.cpp index 05349ef..4df58e8 100644 --- a/runtime/NumberObject.cpp +++ b/runtime/NumberObject.cpp @@ -24,11 +24,11 @@ #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) }; @@ -40,7 +40,7 @@ NumberObject::NumberObject(VM& vm, Structure* structure) void NumberObject::finishCreation(VM& vm) { Base::finishCreation(vm); - ASSERT(inherits(&s_info)); + ASSERT(inherits(info())); } NumberObject* constructNumber(ExecState* exec, JSGlobalObject* globalObject, JSValue number)