Changeset 46879 in webkit for trunk/JavaScriptCore/bytecode/StructureStubInfo.cpp
- Timestamp:
- Aug 6, 2009, 8:05:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/StructureStubInfo.cpp
r46620 r46879 32 32 void StructureStubInfo::deref() 33 33 { 34 switch ( opcodeID) {35 case op_get_by_id_self:34 switch (accessType) { 35 case access_get_by_id_self: 36 36 u.getByIdSelf.baseObjectStructure->deref(); 37 37 return; 38 case op_get_by_id_proto:38 case access_get_by_id_proto: 39 39 u.getByIdProto.baseObjectStructure->deref(); 40 40 u.getByIdProto.prototypeStructure->deref(); 41 41 return; 42 case op_get_by_id_chain:42 case access_get_by_id_chain: 43 43 u.getByIdChain.baseObjectStructure->deref(); 44 44 u.getByIdChain.chain->deref(); 45 45 return; 46 case op_get_by_id_self_list: {46 case access_get_by_id_self_list: { 47 47 PolymorphicAccessStructureList* polymorphicStructures = u.getByIdSelfList.structureList; 48 48 polymorphicStructures->derefStructures(u.getByIdSelfList.listSize); … … 50 50 return; 51 51 } 52 case op_get_by_id_proto_list: {52 case access_get_by_id_proto_list: { 53 53 PolymorphicAccessStructureList* polymorphicStructures = u.getByIdProtoList.structureList; 54 54 polymorphicStructures->derefStructures(u.getByIdProtoList.listSize); … … 56 56 return; 57 57 } 58 case op_put_by_id_transition:58 case access_put_by_id_transition: 59 59 u.putByIdTransition.previousStructure->deref(); 60 60 u.putByIdTransition.structure->deref(); 61 61 u.putByIdTransition.chain->deref(); 62 62 return; 63 case op_put_by_id_replace:63 case access_put_by_id_replace: 64 64 u.putByIdReplace.baseObjectStructure->deref(); 65 65 return; 66 case op_get_by_id:67 case op_put_by_id:68 case op_get_by_id_generic:69 case op_put_by_id_generic:70 case op_get_array_length:71 case op_get_string_length:66 case access_get_by_id: 67 case access_put_by_id: 68 case access_get_by_id_generic: 69 case access_put_by_id_generic: 70 case access_get_array_length: 71 case access_get_string_length: 72 72 // These instructions don't ref their Structures. 73 73 return;
Note:
See TracChangeset
for help on using the changeset viewer.