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