Changeset 64608 in webkit for trunk/JavaScriptCore/bytecode/StructureStubInfo.h
- Timestamp:
- Aug 3, 2010, 5:15:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/StructureStubInfo.h
r46879 r64608 67 67 } 68 68 69 void initGetByIdProto(Structure* baseObjectStructure, Structure* prototypeStructure )69 void initGetByIdProto(Structure* baseObjectStructure, Structure* prototypeStructure, CodeLocationLabel routine) 70 70 { 71 71 accessType = access_get_by_id_proto; … … 76 76 u.getByIdProto.prototypeStructure = prototypeStructure; 77 77 prototypeStructure->ref(); 78 79 stubRoutine = routine; 78 80 } 79 81 80 void initGetByIdChain(Structure* baseObjectStructure, StructureChain* chain )82 void initGetByIdChain(Structure* baseObjectStructure, StructureChain* chain, CodeLocationLabel routine) 81 83 { 82 84 accessType = access_get_by_id_chain; … … 87 89 u.getByIdChain.chain = chain; 88 90 chain->ref(); 91 92 stubRoutine = routine; 89 93 } 90 94 91 void initGetByIdSelfList(PolymorphicAccessStructureList* structureList , int listSize)95 void initGetByIdSelfList(PolymorphicAccessStructureList* structureList) 92 96 { 93 97 accessType = access_get_by_id_self_list; 94 98 95 99 u.getByIdProtoList.structureList = structureList; 96 u.getByIdProtoList.listSize = listSize; 100 u.getByIdProtoList.listSize = 1; 101 102 stubRoutine = CodeLocationLabel(); 97 103 } 98 104 99 void initGetByIdProtoList(PolymorphicAccessStructureList* structureList , int listSize)105 void initGetByIdProtoList(PolymorphicAccessStructureList* structureList) 100 106 { 101 107 accessType = access_get_by_id_proto_list; 102 108 103 109 u.getByIdProtoList.structureList = structureList; 104 u.getByIdProtoList.listSize = listSize; 110 u.getByIdProtoList.listSize = 1; 111 112 stubRoutine = CodeLocationLabel(); 105 113 } 106 114 107 115 // PutById* 108 116 109 void initPutByIdTransition(Structure* previousStructure, Structure* structure, StructureChain* chain )117 void initPutByIdTransition(Structure* previousStructure, Structure* structure, StructureChain* chain, CodeLocationLabel routine) 110 118 { 111 119 accessType = access_put_by_id_transition; … … 119 127 u.putByIdTransition.chain = chain; 120 128 chain->ref(); 129 130 stubRoutine = routine; 121 131 } 122 132
Note:
See TracChangeset
for help on using the changeset viewer.