Changeset 55564 in webkit for trunk/JavaScriptCore/bytecode
- Timestamp:
- Mar 4, 2010, 5:33:54 PM (15 years ago)
- Location:
- trunk/JavaScriptCore/bytecode
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.cpp
r55002 r55564 786 786 break; 787 787 } 788 case op_get_by_id_custom_self: { 789 printGetByIdOp(exec, location, it, "get_by_id_custom_self"); 790 break; 791 } 792 case op_get_by_id_custom_self_list: { 793 printGetByIdOp(exec, location, it, "get_by_id_custom_self_list"); 794 break; 795 } 796 case op_get_by_id_custom_proto: { 797 printGetByIdOp(exec, location, it, "get_by_id_custom_proto"); 798 break; 799 } 800 case op_get_by_id_custom_proto_list: { 801 printGetByIdOp(exec, location, it, "get_by_id_custom_proto_list"); 802 break; 803 } 804 case op_get_by_id_custom_chain: { 805 printGetByIdOp(exec, location, it, "get_by_id_custom_chain"); 806 break; 807 } 788 808 case op_get_by_id_generic: { 789 809 printGetByIdOp(exec, location, it, "get_by_id_generic"); … … 1376 1396 Interpreter* interpreter = m_globalData->interpreter; 1377 1397 1378 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_self) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_getter_self) ) {1398 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)) { 1379 1399 vPC[4].u.structure->deref(); 1380 1400 return; … … 1423 1443 Interpreter* interpreter = m_globalData->interpreter; 1424 1444 1425 if (vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_self) || vPC[0].u.opcode == interpreter->getOpcode(op_get_by_id_getter_self) ) {1445 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)) { 1426 1446 vPC[4].u.structure->ref(); 1427 1447 return; -
trunk/JavaScriptCore/bytecode/Instruction.h
r46854 r55564 32 32 #include "MacroAssembler.h" 33 33 #include "Opcode.h" 34 #include "PropertySlot.h" 34 35 #include "Structure.h" 35 36 #include <wtf/VectorTraits.h> … … 145 146 Instruction(JSCell* jsCell) { u.jsCell = jsCell; } 146 147 Instruction(PolymorphicAccessStructureList* polymorphicStructures) { u.polymorphicStructures = polymorphicStructures; } 148 Instruction(PropertySlot::GetValueFunc getterFunc) { u.getterFunc = getterFunc; } 147 149 148 150 union { … … 153 155 JSCell* jsCell; 154 156 PolymorphicAccessStructureList* polymorphicStructures; 157 PropertySlot::GetValueFunc getterFunc; 155 158 } u; 156 159 }; -
trunk/JavaScriptCore/bytecode/Opcode.h
r55002 r55564 110 110 macro(op_get_by_id_getter_proto_list, 8) \ 111 111 macro(op_get_by_id_getter_chain, 8) \ 112 macro(op_get_by_id_custom_self, 8) \ 113 macro(op_get_by_id_custom_self_list, 8) \ 114 macro(op_get_by_id_custom_proto, 8) \ 115 macro(op_get_by_id_custom_proto_list, 8) \ 116 macro(op_get_by_id_custom_chain, 8) \ 112 117 macro(op_get_by_id_generic, 8) \ 113 118 macro(op_get_array_length, 8) \
Note:
See TracChangeset
for help on using the changeset viewer.