Changeset 46598 in webkit for trunk/JavaScriptCore/bytecode
- Timestamp:
- Jul 30, 2009, 1:57:44 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/bytecode
- Files:
-
- 3 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 { -
trunk/JavaScriptCore/bytecode/CodeBlock.h
r46247 r46598 235 235 void refStructures(Instruction* vPC) const; 236 236 void derefStructures(Instruction* vPC) const; 237 #if ENABLE(JIT )237 #if ENABLE(JIT_OPTIMIZE_CALL) 238 238 void unlinkCallers(); 239 239 #endif -
trunk/JavaScriptCore/bytecode/Opcode.h
r46187 r46598 68 68 macro(op_add, 5) \ 69 69 macro(op_mul, 5) \ 70 macro(op_div, 4) \70 macro(op_div, 5) \ 71 71 macro(op_mod, 4) \ 72 72 macro(op_sub, 5) \ … … 99 99 macro(op_resolve_base, 3) \ 100 100 macro(op_resolve_with_base, 4) \ 101 macro(op_resolve_func, 4) \102 101 macro(op_get_by_id, 8) \ 103 102 macro(op_get_by_id_self, 8) \
Note:
See TracChangeset
for help on using the changeset viewer.