Changeset 46598 in webkit for trunk/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Jul 30, 2009, 1:57:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.cpp
r46210 r46598 58 58 static UString valueToSourceString(ExecState* exec, JSValue val) 59 59 { 60 if (!val) 61 return "0"; 62 60 63 if (val.isString()) { 61 64 UString result("\""); … … 596 599 case op_div: { 597 600 printBinaryOp(location, it, "div"); 601 ++it; 598 602 break; 599 603 } … … 738 742 int id0 = (++it)->u.operand; 739 743 printf("[%4d] resolve_with_base %s, %s, %s\n", location, registerName(r0).c_str(), registerName(r1).c_str(), idName(id0, m_identifiers[id0]).c_str()); 740 break;741 }742 case op_resolve_func: {743 int r0 = (++it)->u.operand;744 int r1 = (++it)->u.operand;745 int id0 = (++it)->u.operand;746 printf("[%4d] resolve_func\t %s, %s, %s\n", location, registerName(r0).c_str(), registerName(r1).c_str(), idName(id0, m_identifiers[id0]).c_str());747 744 break; 748 745 } … … 1328 1325 } 1329 1326 1327 #if ENABLE(JIT_OPTIMIZE_CALL) 1330 1328 unlinkCallers(); 1331 1329 #endif 1330 1331 #endif // !ENABLE(JIT) 1332 1332 1333 1333 #if DUMP_CODE_BLOCK_STATISTICS … … 1336 1336 } 1337 1337 1338 #if ENABLE(JIT )1338 #if ENABLE(JIT_OPTIMIZE_CALL) 1339 1339 void CodeBlock::unlinkCallers() 1340 1340 {
Note:
See TracChangeset
for help on using the changeset viewer.