Changeset 155143 in webkit for trunk/Source/JavaScriptCore/runtime
- Timestamp:
- Sep 5, 2013, 1:12:23 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore/runtime
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/ArrayConstructor.cpp
r154797 r155143 45 45 namespace JSC { 46 46 47 ASSERT_HAS_TRIVIAL_DESTRUCTOR(ArrayConstructor);47 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(ArrayConstructor); 48 48 49 49 const ClassInfo ArrayConstructor::s_info = { "Function", &InternalFunction::s_info, 0, ExecState::arrayConstructorTable, CREATE_METHOD_TABLE(ArrayConstructor) }; -
trunk/Source/JavaScriptCore/runtime/BooleanConstructor.cpp
r148696 r155143 28 28 namespace JSC { 29 29 30 ASSERT_HAS_TRIVIAL_DESTRUCTOR(BooleanConstructor);30 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(BooleanConstructor); 31 31 32 32 const ClassInfo BooleanConstructor::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(BooleanConstructor) }; -
trunk/Source/JavaScriptCore/runtime/BooleanObject.cpp
r154038 r155143 27 27 namespace JSC { 28 28 29 ASSERT_HAS_TRIVIAL_DESTRUCTOR(BooleanObject);29 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(BooleanObject); 30 30 31 31 const ClassInfo BooleanObject::s_info = { "Boolean", &JSWrapperObject::s_info, 0, 0, CREATE_METHOD_TABLE(BooleanObject) }; -
trunk/Source/JavaScriptCore/runtime/BooleanPrototype.cpp
r154373 r155143 49 49 */ 50 50 51 ASSERT_HAS_TRIVIAL_DESTRUCTOR(BooleanPrototype);51 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(BooleanPrototype); 52 52 53 53 BooleanPrototype::BooleanPrototype(ExecState* exec, Structure* structure) -
trunk/Source/JavaScriptCore/runtime/DateConstructor.cpp
r154373 r155143 73 73 */ 74 74 75 ASSERT_HAS_TRIVIAL_DESTRUCTOR(DateConstructor);75 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(DateConstructor); 76 76 77 77 DateConstructor::DateConstructor(JSGlobalObject* globalObject, Structure* structure) -
trunk/Source/JavaScriptCore/runtime/ErrorConstructor.cpp
r153823 r155143 30 30 namespace JSC { 31 31 32 ASSERT_HAS_TRIVIAL_DESTRUCTOR(ErrorConstructor);32 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(ErrorConstructor); 33 33 34 34 const ClassInfo ErrorConstructor::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(ErrorConstructor) }; -
trunk/Source/JavaScriptCore/runtime/ErrorInstance.cpp
r154460 r155143 27 27 namespace JSC { 28 28 29 ASSERT_HAS_TRIVIAL_DESTRUCTOR(ErrorInstance);29 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(ErrorInstance); 30 30 31 31 const ClassInfo ErrorInstance::s_info = { "Error", &JSNonFinalObject::s_info, 0, 0, CREATE_METHOD_TABLE(ErrorInstance) }; -
trunk/Source/JavaScriptCore/runtime/ErrorPrototype.cpp
r154373 r155143 32 32 namespace JSC { 33 33 34 ASSERT_HAS_TRIVIAL_DESTRUCTOR(ErrorPrototype);34 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(ErrorPrototype); 35 35 36 36 static EncodedJSValue JSC_HOST_CALL errorProtoFuncToString(ExecState*); -
trunk/Source/JavaScriptCore/runtime/ExceptionHelpers.cpp
r154892 r155143 42 42 namespace JSC { 43 43 44 ASSERT_HAS_TRIVIAL_DESTRUCTOR(TerminatedExecutionError);44 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(TerminatedExecutionError); 45 45 46 46 const ClassInfo TerminatedExecutionError::s_info = { "TerminatedExecutionError", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(TerminatedExecutionError) }; -
trunk/Source/JavaScriptCore/runtime/FunctionConstructor.cpp
r154797 r155143 36 36 namespace JSC { 37 37 38 ASSERT_HAS_TRIVIAL_DESTRUCTOR(FunctionConstructor);38 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(FunctionConstructor); 39 39 40 40 const ClassInfo FunctionConstructor::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(FunctionConstructor) }; -
trunk/Source/JavaScriptCore/runtime/FunctionPrototype.cpp
r154038 r155143 34 34 namespace JSC { 35 35 36 ASSERT_HAS_TRIVIAL_DESTRUCTOR(FunctionPrototype);36 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(FunctionPrototype); 37 37 38 38 const ClassInfo FunctionPrototype::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(FunctionPrototype) }; -
trunk/Source/JavaScriptCore/runtime/GetterSetter.cpp
r154038 r155143 31 31 namespace JSC { 32 32 33 ASSERT_HAS_TRIVIAL_DESTRUCTOR(GetterSetter);33 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(GetterSetter); 34 34 35 35 const ClassInfo GetterSetter::s_info = { "GetterSetter", 0, 0, 0, CREATE_METHOD_TABLE(GetterSetter) }; -
trunk/Source/JavaScriptCore/runtime/InternalFunction.cpp
r154038 r155143 31 31 namespace JSC { 32 32 33 ASSERT_HAS_TRIVIAL_DESTRUCTOR(InternalFunction);33 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(InternalFunction); 34 34 35 35 const ClassInfo InternalFunction::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(InternalFunction) }; -
trunk/Source/JavaScriptCore/runtime/JSAPIValueWrapper.cpp
r127191 r155143 28 28 namespace JSC { 29 29 30 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSAPIValueWrapper);30 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSAPIValueWrapper); 31 31 32 32 const ClassInfo JSAPIValueWrapper::s_info = { "API Wrapper", 0, 0, 0, CREATE_METHOD_TABLE(JSAPIValueWrapper) }; -
trunk/Source/JavaScriptCore/runtime/JSArray.cpp
r154797 r155143 45 45 namespace JSC { 46 46 47 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSArray);47 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSArray); 48 48 49 49 const ClassInfo JSArray::s_info = {"Array", &JSNonFinalObject::s_info, 0, 0, CREATE_METHOD_TABLE(JSArray)}; -
trunk/Source/JavaScriptCore/runtime/JSCell.cpp
r154459 r155143 34 34 namespace JSC { 35 35 36 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSCell);36 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSCell); 37 37 38 38 void JSCell::destroy(JSCell* cell) -
trunk/Source/JavaScriptCore/runtime/JSNotAnObject.cpp
r154373 r155143 35 35 namespace JSC { 36 36 37 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSNotAnObject);37 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSNotAnObject); 38 38 39 39 const ClassInfo JSNotAnObject::s_info = { "Object", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSNotAnObject) }; -
trunk/Source/JavaScriptCore/runtime/JSONObject.cpp
r154992 r155143 44 44 namespace JSC { 45 45 46 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSONObject);46 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSONObject); 47 47 48 48 static EncodedJSValue JSC_HOST_CALL JSONProtoFuncParse(ExecState*); -
trunk/Source/JavaScriptCore/runtime/JSObject.cpp
r154797 r155143 66 66 } 67 67 68 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSObject);69 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSFinalObject);68 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSObject); 69 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSFinalObject); 70 70 71 71 const char* StrictModeReadonlyPropertyWriteError = "Attempted to assign to readonly property."; -
trunk/Source/JavaScriptCore/runtime/JSPromiseConstructor.cpp
r154847 r155143 41 41 namespace JSC { 42 42 43 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSPromiseConstructor);43 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSPromiseConstructor); 44 44 45 45 // static Promise fulfill(any value); -
trunk/Source/JavaScriptCore/runtime/JSPromisePrototype.cpp
r154847 r155143 40 40 namespace JSC { 41 41 42 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSPromisePrototype);42 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSPromisePrototype); 43 43 44 44 // Promise then([TreatUndefinedAs=Missing] optional AnyCallback fulfillCallback, [TreatUndefinedAs=Missing] optional AnyCallback rejectCallback); -
trunk/Source/JavaScriptCore/runtime/JSPromiseResolverConstructor.cpp
r154847 r155143 37 37 namespace JSC { 38 38 39 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSPromiseResolverConstructor);39 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSPromiseResolverConstructor); 40 40 41 41 const ClassInfo JSPromiseResolverConstructor::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSPromiseResolverConstructor) }; -
trunk/Source/JavaScriptCore/runtime/JSPromiseResolverPrototype.cpp
r154847 r155143 37 37 namespace JSC { 38 38 39 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSPromiseResolverPrototype);39 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSPromiseResolverPrototype); 40 40 41 41 // void fulfill(optional any value); -
trunk/Source/JavaScriptCore/runtime/JSProxy.cpp
r154459 r155143 32 32 namespace JSC { 33 33 34 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSProxy);34 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSProxy); 35 35 36 36 const ClassInfo JSProxy::s_info = { "JSProxy", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSProxy) }; -
trunk/Source/JavaScriptCore/runtime/JSScope.cpp
r154038 r155143 35 35 namespace JSC { 36 36 37 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSScope);37 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSScope); 38 38 39 39 void JSScope::visitChildren(JSCell* cell, SlotVisitor& visitor) -
trunk/Source/JavaScriptCore/runtime/JSWrapperObject.cpp
r154038 r155143 27 27 namespace JSC { 28 28 29 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSWrapperObject);29 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSWrapperObject); 30 30 31 31 void JSWrapperObject::visitChildren(JSCell* cell, SlotVisitor& visitor) -
trunk/Source/JavaScriptCore/runtime/MathObject.cpp
r154038 r155143 33 33 namespace JSC { 34 34 35 ASSERT_HAS_TRIVIAL_DESTRUCTOR(MathObject);35 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(MathObject); 36 36 37 37 static EncodedJSValue JSC_HOST_CALL mathProtoFuncAbs(ExecState*); -
trunk/Source/JavaScriptCore/runtime/NameConstructor.cpp
r148696 r155143 33 33 namespace JSC { 34 34 35 ASSERT_HAS_TRIVIAL_DESTRUCTOR(NameConstructor);35 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(NameConstructor); 36 36 37 37 const ClassInfo NameConstructor::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(NameConstructor) }; -
trunk/Source/JavaScriptCore/runtime/NativeErrorConstructor.cpp
r154038 r155143 30 30 namespace JSC { 31 31 32 ASSERT_HAS_TRIVIAL_DESTRUCTOR(NativeErrorConstructor);32 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(NativeErrorConstructor); 33 33 34 34 const ClassInfo NativeErrorConstructor::s_info = { "Function", &InternalFunction::s_info, 0, 0, CREATE_METHOD_TABLE(NativeErrorConstructor) }; -
trunk/Source/JavaScriptCore/runtime/NumberConstructor.cpp
r154373 r155143 42 42 namespace JSC { 43 43 44 ASSERT_HAS_TRIVIAL_DESTRUCTOR(NumberConstructor);44 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(NumberConstructor); 45 45 46 46 const ClassInfo NumberConstructor::s_info = { "Function", &InternalFunction::s_info, 0, ExecState::numberConstructorTable, CREATE_METHOD_TABLE(NumberConstructor) }; -
trunk/Source/JavaScriptCore/runtime/NumberObject.cpp
r154038 r155143 29 29 namespace JSC { 30 30 31 ASSERT_HAS_TRIVIAL_DESTRUCTOR(NumberObject);31 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(NumberObject); 32 32 33 33 const ClassInfo NumberObject::s_info = { "Number", &JSWrapperObject::s_info, 0, 0, CREATE_METHOD_TABLE(NumberObject) }; -
trunk/Source/JavaScriptCore/runtime/NumberPrototype.cpp
r154373 r155143 69 69 */ 70 70 71 ASSERT_HAS_TRIVIAL_DESTRUCTOR(NumberPrototype);71 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(NumberPrototype); 72 72 73 73 NumberPrototype::NumberPrototype(ExecState* exec, Structure* structure) -
trunk/Source/JavaScriptCore/runtime/ObjectConstructor.cpp
r155081 r155143 59 59 namespace JSC { 60 60 61 ASSERT_HAS_TRIVIAL_DESTRUCTOR(ObjectConstructor);61 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(ObjectConstructor); 62 62 63 63 const ClassInfo ObjectConstructor::s_info = { "Function", &InternalFunction::s_info, 0, ExecState::objectConstructorTable, CREATE_METHOD_TABLE(ObjectConstructor) }; -
trunk/Source/JavaScriptCore/runtime/ObjectPrototype.cpp
r154405 r155143 42 42 static EncodedJSValue JSC_HOST_CALL objectProtoFuncToLocaleString(ExecState*); 43 43 44 ASSERT_HAS_TRIVIAL_DESTRUCTOR(ObjectPrototype);44 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(ObjectPrototype); 45 45 46 46 const ClassInfo ObjectPrototype::s_info = { "Object", &JSNonFinalObject::s_info, 0, 0, CREATE_METHOD_TABLE(ObjectPrototype) }; -
trunk/Source/JavaScriptCore/runtime/RegExpObject.cpp
r154422 r155143 51 51 namespace JSC { 52 52 53 ASSERT_HAS_TRIVIAL_DESTRUCTOR(RegExpObject);53 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(RegExpObject); 54 54 55 55 const ClassInfo RegExpObject::s_info = { "RegExp", &Base::s_info, 0, ExecState::regExpTable, CREATE_METHOD_TABLE(RegExpObject) }; -
trunk/Source/JavaScriptCore/runtime/StrictEvalActivation.cpp
r153145 r155143 32 32 namespace JSC { 33 33 34 ASSERT_HAS_TRIVIAL_DESTRUCTOR(StrictEvalActivation);34 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(StrictEvalActivation); 35 35 36 36 const ClassInfo StrictEvalActivation::s_info = { "Object", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(StrictEvalActivation) }; -
trunk/Source/JavaScriptCore/runtime/StringConstructor.cpp
r154373 r155143 47 47 */ 48 48 49 ASSERT_HAS_TRIVIAL_DESTRUCTOR(StringConstructor);49 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(StringConstructor); 50 50 51 51 StringConstructor::StringConstructor(JSGlobalObject* globalObject, Structure* structure) -
trunk/Source/JavaScriptCore/runtime/StringObject.cpp
r154797 r155143 29 29 namespace JSC { 30 30 31 ASSERT_HAS_TRIVIAL_DESTRUCTOR(StringObject);31 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(StringObject); 32 32 33 33 const ClassInfo StringObject::s_info = { "String", &JSWrapperObject::s_info, 0, 0, CREATE_METHOD_TABLE(StringObject) }; -
trunk/Source/JavaScriptCore/runtime/StringPrototype.cpp
r154038 r155143 48 48 namespace JSC { 49 49 50 ASSERT_HAS_TRIVIAL_DESTRUCTOR(StringPrototype);50 STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(StringPrototype); 51 51 52 52 static EncodedJSValue JSC_HOST_CALL stringProtoFuncToString(ExecState*);
Note:
See TracChangeset
for help on using the changeset viewer.