Lines Matching refs:vPC
279 void CodeBlock::printStructure(const char* name, const Instruction* vPC, int operand) const
281 unsigned instructionOffset = vPC - m_instructions.begin();
282 printf(" [%4d] %s: %s\n", instructionOffset, name, pointerToSourceString(vPC[operand].u.structure).utf8().data());
285 void CodeBlock::printStructures(const Instruction* vPC) const
288 unsigned instructionOffset = vPC - m_instructions.begin();
290 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id)) {
291 printStructure("get_by_id", vPC, 4);
294 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_self)) {
295 printStructure("get_by_id_self", vPC, 4);
298 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_proto)) {
299 printf(" [%4d] %s: %s, %s\n", instructionOffset, "get_by_id_proto", pointerToSourceString(vPC[4].u.structure).utf8().data(), pointerToSourceString(vPC[5].u.structure).utf8().data());
302 if (vPC[0].u.opcode == interpreter->getOpcode(op_put_by_id_transition)) {
303 printf(" [%4d] %s: %s, %s, %s\n", instructionOffset, "put_by_id_transition", pointerToSourceString(vPC[4].u.structure).utf8().data(), pointerToSourceString(vPC[5].u.structure).utf8().data(), pointerToSourceString(vPC[6].u.structureChain).utf8().data());
306 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_chain)) {
307 printf(" [%4d] %s: %s, %s\n", instructionOffset, "get_by_id_chain", pointerToSourceString(vPC[4].u.structure).utf8().data(), pointerToSourceString(vPC[5].u.structureChain).utf8().data());
310 if (vPC[0].u.opcode == interpreter->getOpcode(op_put_by_id)) {
311 printStructure("put_by_id", vPC, 4);
314 if (vPC[0].u.opcode == interpreter->getOpcode(op_put_by_id_replace)) {
315 printStructure("put_by_id_replace", vPC, 4);
318 if (vPC[0].u.opcode == interpreter->getOpcode(op_resolve_global)) {
319 printStructure("resolve_global", vPC, 4);
322 if (vPC[0].u.opcode == interpreter->getOpcode(op_resolve_global_dynamic)) {
323 printStructure("resolve_global_dynamic", vPC, 4);
328 ASSERT(vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_generic) || vPC[0].u.opcode == interpreter->getOpcode(op_put_by_id_generic) || vPC[0].u.opcode == interpreter->getOpcode(op_call) || vPC[0].u.opcode == interpreter->getOpcode(op_call_eval) || vPC[0].u.opcode == interpreter->getOpcode(op_construct));
1403 void CodeBlock::markStructures(MarkStack& markStack, Instruction* vPC) const
1407 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_self) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_getter_self) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_custom_self)) {
1408 markStack.append(&vPC[4].u.structure);
1411 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_proto) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_getter_proto) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_custom_proto)) {
1412 markStack.append(&vPC[4].u.structure);
1413 markStack.append(&vPC[5].u.structure);
1416 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_chain) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_getter_chain) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_custom_chain)) {
1417 markStack.append(&vPC[4].u.structure);
1418 markStack.append(&vPC[5].u.structureChain);
1421 if (vPC[0].u.opcode == interpreter->getOpcode(op_put_by_id_transition)) {
1422 markStack.append(&vPC[4].u.structure);
1423 markStack.append(&vPC[5].u.structure);
1424 markStack.append(&vPC[6].u.structureChain);
1427 if (vPC[0].u.opcode == interpreter->getOpcode(op_put_by_id_replace)) {
1428 markStack.append(&vPC[4].u.structure);
1431 if (vPC[0].u.opcode == interpreter->getOpcode(op_resolve_global) || vPC[0].u.opcode == interpreter->getOpcode(op_resolve_global_dynamic)) {
1432 if (vPC[3].u.structure)
1433 markStack.append(&vPC[3].u.structure);
1436 if ((vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_proto_list))
1437 || (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_self_list))
1438 || (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_getter_proto_list))
1439 || (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_getter_self_list))
1440 || (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_custom_proto_list))
1441 || (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_custom_self_list))) {
1442 PolymorphicAccessStructureList* polymorphicStructures = vPC[4].u.polymorphicStructures;
1443 polymorphicStructures->markAggregate(markStack, vPC[5].u.operand);
1449 ASSERT(vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id) || vPC[0].u.opcode == interpreter->getOpcode(op_put_by_id) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_generic) || vPC[0].u.opcode == interpreter->getOpcode(op_put_by_id_generic) || vPC[0].u.opcode == interpreter->getOpcode(op_get_array_length) || vPC[0].u.opcode == interpreter->getOpcode(op_get_string_length));