Changeset 229911 in webkit
- Timestamp:
- Mar 23, 2018 11:44:17 AM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r229893 r229911 1 2018-03-23 Mark Lam <mark.lam@apple.com> 2 3 Add more support for pointer profiling. 4 https://bugs.webkit.org/show_bug.cgi?id=183943 5 <rdar://problem/38799068> 6 7 Reviewed by JF Bastien. 8 9 * assembler/ARM64Assembler.h: 10 (JSC::ARM64Assembler::linkJumpOrCall): 11 * assembler/AbstractMacroAssembler.h: 12 (JSC::AbstractMacroAssembler::repatchNearCall): 13 (JSC::AbstractMacroAssembler::tagReturnAddress): 14 (JSC::AbstractMacroAssembler::untagReturnAddress): 15 1 16 2018-03-23 Yusuke Suzuki <utatane.tea@gmail.com> 2 17 -
trunk/Source/JavaScriptCore/assembler/ARM64Assembler.h
r229609 r229911 3035 3035 ASSERT(!(reinterpret_cast<intptr_t>(from) & 3)); 3036 3036 ASSERT(!(reinterpret_cast<intptr_t>(to) & 3)); 3037 intptr_t offset = (removeCodePtrTag<intptr_t>(to) - removeCodePtrTag<intptr_t>(fromInstruction)) >> 2; 3037 assertIsNotTagged(to); 3038 assertIsNotTagged(fromInstruction); 3039 intptr_t offset = (reinterpret_cast<intptr_t>(to) - reinterpret_cast<intptr_t>(fromInstruction)) >> 2; 3038 3040 ASSERT(static_cast<int>(offset) == offset); 3039 3041 -
trunk/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
r229609 r229911 896 896 static void repatchNearCall(CodeLocationNearCall nearCall, CodeLocationLabel destination) 897 897 { 898 assertIsTaggedWith(destination.executableAddress(), NearCallPtrTag); 898 899 switch (nearCall.callMode()) { 899 900 case NearCallMode::Tail: … … 953 954 buffer.setCodeSize(targetCodeSize); 954 955 } 956 957 ALWAYS_INLINE void tagReturnAddress() { } 958 ALWAYS_INLINE void untagReturnAddress() { } 955 959 956 960 ALWAYS_INLINE void tagPtr(RegisterID, PtrTag) { }
Note: See TracChangeset
for help on using the changeset viewer.