Changeset 202689 in webkit for trunk/Source/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.cpp
- Timestamp:
- Jun 30, 2016, 11:13:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.cpp
r192937 r202689 133 133 // exception handler block to be included in the live-in of this particular bytecode. 134 134 if (HandlerInfo* handler = codeBlock->handlerForBytecodeOffset(bytecodeOffset)) { 135 BytecodeBasicBlock* handlerBlock = findBasicBlockWithLeaderOffset(basicBlocks, handler->target); 136 ASSERT(handlerBlock); 137 handlerBlock->in().forEachSetBit(use); 135 // FIXME: This resume check should not be needed. 136 // https://bugs.webkit.org/show_bug.cgi?id=159281 137 Interpreter* interpreter = codeBlock->vm()->interpreter; 138 Instruction* instructionsBegin = codeBlock->instructions().begin(); 139 Instruction* instruction = &instructionsBegin[bytecodeOffset]; 140 OpcodeID opcodeID = interpreter->getOpcodeID(instruction->u.opcode); 141 if (opcodeID != op_resume) { 142 BytecodeBasicBlock* handlerBlock = findBasicBlockWithLeaderOffset(basicBlocks, handler->target); 143 ASSERT(handlerBlock); 144 handlerBlock->in().forEachSetBit(use); 145 } 138 146 } 139 147 } … … 290 298 void BytecodeLivenessAnalysis::dumpResults() 291 299 { 300 dataLog("\nDumping bytecode liveness for ", *m_codeBlock, ":\n"); 292 301 Interpreter* interpreter = m_codeBlock->vm()->interpreter; 293 302 Instruction* instructionsBegin = m_codeBlock->instructions().begin();
Note:
See TracChangeset
for help on using the changeset viewer.