Changeset 256498 in webkit for trunk/Source/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- Feb 12, 2020, 6:30:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JIT.cpp
r256015 r256498 913 913 } 914 914 915 JITCodeMap jitCodeMap; 916 for (unsigned bytecodeOffset = 0; bytecodeOffset < m_labels.size(); ++bytecodeOffset) { 917 if (m_labels[bytecodeOffset].isSet()) 918 jitCodeMap.append(BytecodeIndex(bytecodeOffset), patchBuffer.locationOf<JSEntryPtrTag>(m_labels[bytecodeOffset])); 919 } 920 jitCodeMap.finish(); 921 m_codeBlock->setJITCodeMap(WTFMove(jitCodeMap)); 915 { 916 JITCodeMapBuilder jitCodeMapBuilder; 917 for (unsigned bytecodeOffset = 0; bytecodeOffset < m_labels.size(); ++bytecodeOffset) { 918 if (m_labels[bytecodeOffset].isSet()) 919 jitCodeMapBuilder.append(BytecodeIndex(bytecodeOffset), patchBuffer.locationOf<JSEntryPtrTag>(m_labels[bytecodeOffset])); 920 } 921 m_codeBlock->setJITCodeMap(jitCodeMapBuilder.finalize()); 922 } 922 923 923 924 MacroAssemblerCodePtr<JSEntryPtrTag> withArityCheck = patchBuffer.locationOf<JSEntryPtrTag>(m_arityCheck);
Note:
See TracChangeset
for help on using the changeset viewer.