Changeset 46620 in webkit for trunk/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Jul 30, 2009, 7:57:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.cpp
r46618 r46620 231 231 static void printStructureStubInfo(const StructureStubInfo& stubInfo, unsigned instructionOffset) 232 232 { 233 switch (stubInfo. accessType) {234 case access_get_by_id_self:233 switch (stubInfo.opcodeID) { 234 case op_get_by_id_self: 235 235 printf(" [%4d] %s: %s\n", instructionOffset, "get_by_id_self", pointerToSourceString(stubInfo.u.getByIdSelf.baseObjectStructure).UTF8String().c_str()); 236 236 return; 237 case access_get_by_id_proto:237 case op_get_by_id_proto: 238 238 printf(" [%4d] %s: %s, %s\n", instructionOffset, "get_by_id_proto", pointerToSourceString(stubInfo.u.getByIdProto.baseObjectStructure).UTF8String().c_str(), pointerToSourceString(stubInfo.u.getByIdProto.prototypeStructure).UTF8String().c_str()); 239 239 return; 240 case access_get_by_id_chain:240 case op_get_by_id_chain: 241 241 printf(" [%4d] %s: %s, %s\n", instructionOffset, "get_by_id_chain", pointerToSourceString(stubInfo.u.getByIdChain.baseObjectStructure).UTF8String().c_str(), pointerToSourceString(stubInfo.u.getByIdChain.chain).UTF8String().c_str()); 242 242 return; 243 case access_get_by_id_self_list:243 case op_get_by_id_self_list: 244 244 printf(" [%4d] %s: %s (%d)\n", instructionOffset, "op_get_by_id_self_list", pointerToSourceString(stubInfo.u.getByIdSelfList.structureList).UTF8String().c_str(), stubInfo.u.getByIdSelfList.listSize); 245 245 return; 246 case access_get_by_id_proto_list:246 case op_get_by_id_proto_list: 247 247 printf(" [%4d] %s: %s (%d)\n", instructionOffset, "op_get_by_id_proto_list", pointerToSourceString(stubInfo.u.getByIdProtoList.structureList).UTF8String().c_str(), stubInfo.u.getByIdProtoList.listSize); 248 248 return; 249 case access_put_by_id_transition:249 case op_put_by_id_transition: 250 250 printf(" [%4d] %s: %s, %s, %s\n", instructionOffset, "put_by_id_transition", pointerToSourceString(stubInfo.u.putByIdTransition.previousStructure).UTF8String().c_str(), pointerToSourceString(stubInfo.u.putByIdTransition.structure).UTF8String().c_str(), pointerToSourceString(stubInfo.u.putByIdTransition.chain).UTF8String().c_str()); 251 251 return; 252 case access_put_by_id_replace:252 case op_put_by_id_replace: 253 253 printf(" [%4d] %s: %s\n", instructionOffset, "put_by_id_replace", pointerToSourceString(stubInfo.u.putByIdReplace.baseObjectStructure).UTF8String().c_str()); 254 254 return; 255 case access_get_by_id:255 case op_get_by_id: 256 256 printf(" [%4d] %s\n", instructionOffset, "get_by_id"); 257 257 return; 258 case access_put_by_id:258 case op_put_by_id: 259 259 printf(" [%4d] %s\n", instructionOffset, "put_by_id"); 260 260 return; 261 case access_get_by_id_generic:261 case op_get_by_id_generic: 262 262 printf(" [%4d] %s\n", instructionOffset, "op_get_by_id_generic"); 263 263 return; 264 case access_put_by_id_generic:264 case op_put_by_id_generic: 265 265 printf(" [%4d] %s\n", instructionOffset, "op_put_by_id_generic"); 266 266 return; 267 case access_get_array_length:267 case op_get_array_length: 268 268 printf(" [%4d] %s\n", instructionOffset, "op_get_array_length"); 269 269 return; 270 case access_get_string_length:270 case op_get_string_length: 271 271 printf(" [%4d] %s\n", instructionOffset, "op_get_string_length"); 272 272 return;
Note:
See TracChangeset
for help on using the changeset viewer.