namespace JSC {
-const ClassInfo ErrorInstance::info = { "Error", 0, 0, 0 };
+ASSERT_HAS_TRIVIAL_DESTRUCTOR(ErrorInstance);
-ErrorInstance::ErrorInstance(PassRefPtr<Structure> structure)
- : JSObject(structure)
+const ClassInfo ErrorInstance::s_info = { "Error", &JSNonFinalObject::s_info, 0, 0, CREATE_METHOD_TABLE(ErrorInstance) };
+
+ErrorInstance::ErrorInstance(JSGlobalData& globalData, Structure* structure)
+ : JSNonFinalObject(globalData, structure)
+ , m_appendSourceToMessage(false)
{
}