Changeset 60075 in webkit for trunk/JavaScriptCore/bytecode
- Timestamp:
- May 24, 2010, 11:46:49 AM (15 years ago)
- Location:
- trunk/JavaScriptCore/bytecode
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.cpp
r59905 r60075 500 500 break; 501 501 } 502 case op_get_callee: { 503 int r0 = (++it)->u.operand; 504 printf("[%4d] op_get_callee %s\n", location, registerName(exec, r0).data()); 505 break; 506 } 507 case op_create_this: { 508 int r0 = (++it)->u.operand; 509 int r1 = (++it)->u.operand; 510 printf("[%4d] create_this %s %s\n", location, registerName(exec, r0).data(), registerName(exec, r1).data()); 511 break; 512 } 502 513 case op_convert_this: { 503 514 int r0 = (++it)->u.operand; … … 1084 1095 int argCount = (++it)->u.operand; 1085 1096 int registerOffset = (++it)->u.operand; 1086 int proto = (++it)->u.operand; 1087 int thisRegister = (++it)->u.operand; 1088 printf("[%4d] construct\t %s, %d, %d, %s, %s\n", location, registerName(exec, func).data(), argCount, registerOffset, registerName(exec, proto).data(), registerName(exec, thisRegister).data()); 1097 printf("[%4d] construct\t %s, %d, %d\n", location, registerName(exec, func).data(), argCount, registerOffset); 1089 1098 break; 1090 1099 } … … 1637 1646 return false; 1638 1647 1639 opcodeID = m_exceptionInfo->m_getByIdExceptionInfo[low - 1].isOpC onstruct ? op_construct: op_instanceof;1648 opcodeID = m_exceptionInfo->m_getByIdExceptionInfo[low - 1].isOpCreateThis ? op_create_this : op_instanceof; 1640 1649 return true; 1641 1650 } -
trunk/JavaScriptCore/bytecode/CodeBlock.h
r59791 r60075 98 98 struct GetByIdExceptionInfo { 99 99 unsigned bytecodeOffset : 31; 100 bool isOpC onstruct: 1;100 bool isOpCreateThis : 1; 101 101 }; 102 102 -
trunk/JavaScriptCore/bytecode/Opcode.h
r59860 r60075 43 43 macro(op_init_arguments, 2) \ 44 44 macro(op_create_arguments, 2) \ 45 macro(op_create_this, 3) \ 46 macro(op_get_callee, 2) \ 45 47 macro(op_convert_this, 2) \ 46 48 \ … … 165 167 macro(op_method_check, 1) \ 166 168 \ 167 macro(op_construct, 6) \169 macro(op_construct, 4) \ 168 170 macro(op_strcat, 4) \ 169 171 macro(op_to_primitive, 3) \
Note:
See TracChangeset
for help on using the changeset viewer.