Changeset 120786 in webkit for trunk/Source/JavaScriptCore/jit/JITPropertyAccess.cpp
- Timestamp:
- Jun 19, 2012, 6:33:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITPropertyAccess.cpp
r120244 r120786 89 89 90 90 LinkBuffer patchBuffer(*globalData, &jit, GLOBAL_THUNK_ID); 91 return patchBuffer.finalizeCode();91 return FINALIZE_CODE(patchBuffer, ("String get_by_val stub")); 92 92 } 93 93 … … 565 565 } 566 566 567 stubInfo->stubRoutine = patchBuffer.finalizeCode(); 567 stubInfo->stubRoutine = FINALIZE_CODE( 568 patchBuffer, 569 ("Baseline put_by_id transition for CodeBlock %p, return point %p", 570 m_codeBlock, returnAddress.value())); 568 571 RepatchBuffer repatchBuffer(m_codeBlock); 569 572 repatchBuffer.relinkCallerToTrampoline(returnAddress, CodeLocationLabel(stubInfo->stubRoutine.code())); … … 626 629 627 630 // Track the stub we have created so that it will be deleted later. 628 stubInfo->stubRoutine = patchBuffer.finalizeCode(); 631 stubInfo->stubRoutine = FINALIZE_CODE( 632 patchBuffer, 633 ("Basline JIT get_by_id array length stub for CodeBlock %p, return point %p", 634 m_codeBlock, stubInfo->hotPathBegin.labelAtOffset( 635 stubInfo->patch.baseline.u.get.putResult).executableAddress())); 629 636 630 637 // Finally patch the jump to slow case back in the hot path to jump here instead. … … 689 696 } 690 697 // Track the stub we have created so that it will be deleted later. 691 stubInfo->stubRoutine = patchBuffer.finalizeCode(); 698 stubInfo->stubRoutine = FINALIZE_CODE( 699 patchBuffer, 700 ("Baseline JIT get_by_id proto stub for CodeBlock %p, return point %p", 701 m_codeBlock, stubInfo->hotPathBegin.labelAtOffset( 702 stubInfo->patch.baseline.u.get.putResult).executableAddress())); 692 703 693 704 // Finally patch the jump to slow case back in the hot path to jump here instead. … … 746 757 patchBuffer.link(success, stubInfo->hotPathBegin.labelAtOffset(stubInfo->patch.baseline.u.get.putResult)); 747 758 748 MacroAssemblerCodeRef stubCode = patchBuffer.finalizeCode(); 759 MacroAssemblerCodeRef stubCode = FINALIZE_CODE( 760 patchBuffer, 761 ("Baseline JIT get_by_id list stub for CodeBlock %p, return point %p", 762 m_codeBlock, stubInfo->hotPathBegin.labelAtOffset( 763 stubInfo->patch.baseline.u.get.putResult).executableAddress())); 749 764 750 765 polymorphicStructures->list[currentIndex].set(*m_globalData, m_codeBlock->ownerExecutable(), stubCode, structure, isDirect); … … 812 827 patchBuffer.link(success, stubInfo->hotPathBegin.labelAtOffset(stubInfo->patch.baseline.u.get.putResult)); 813 828 814 MacroAssemblerCodeRef stubCode = patchBuffer.finalizeCode(); 829 MacroAssemblerCodeRef stubCode = FINALIZE_CODE( 830 patchBuffer, 831 ("Baseline JIT get_by_id proto list stub for CodeBlock %p, return point %p", 832 m_codeBlock, stubInfo->hotPathBegin.labelAtOffset( 833 stubInfo->patch.baseline.u.get.putResult).executableAddress())); 815 834 prototypeStructures->list[currentIndex].set(*m_globalData, m_codeBlock->ownerExecutable(), stubCode, structure, prototypeStructure, isDirect); 816 835 … … 881 900 patchBuffer.link(success, stubInfo->hotPathBegin.labelAtOffset(stubInfo->patch.baseline.u.get.putResult)); 882 901 883 CodeRef stubRoutine = patchBuffer.finalizeCode(); 902 CodeRef stubRoutine = FINALIZE_CODE( 903 patchBuffer, 904 ("Baseline JIT get_by_id chain list stub for CodeBlock %p, return point %p", 905 m_codeBlock, stubInfo->hotPathBegin.labelAtOffset( 906 stubInfo->patch.baseline.u.get.putResult).executableAddress())); 884 907 885 908 // Track the stub we have created so that it will be deleted later. … … 948 971 949 972 // Track the stub we have created so that it will be deleted later. 950 CodeRef stubRoutine = patchBuffer.finalizeCode(); 973 CodeRef stubRoutine = FINALIZE_CODE( 974 patchBuffer, 975 ("Baseline JIT get_by_id chain stub for CodeBlock %p, return point %p", 976 m_codeBlock, stubInfo->hotPathBegin.labelAtOffset( 977 stubInfo->patch.baseline.u.get.putResult).executableAddress())); 951 978 stubInfo->stubRoutine = stubRoutine; 952 979
Note:
See TracChangeset
for help on using the changeset viewer.