Changeset 134332 in webkit for trunk/Source/JavaScriptCore/assembler/RepatchBuffer.h
- Timestamp:
- Nov 12, 2012, 5:55:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/RepatchBuffer.h
r121925 r134332 142 142 } 143 143 144 static CodeLocationLabel startOfPatchableBranchPtrWithPatch(CodeLocationDataLabelPtr label) 145 { 146 return MacroAssembler::startOfPatchableBranchPtrWithPatch(label); 147 } 148 149 void replaceWithJump(CodeLocationLabel instructionStart, CodeLocationLabel destination) 150 { 151 MacroAssembler::replaceWithJump(instructionStart, destination); 152 } 153 154 // This is a *bit* of a silly API, since we currently always also repatch the 155 // immediate after calling this. But I'm fine with that, since this just feels 156 // less yucky. 157 void revertJumpReplacementToPatchableBranchPtrWithPatch(CodeLocationLabel instructionStart, MacroAssembler::Address address, void* value) 158 { 159 MacroAssembler::revertJumpReplacementToPatchableBranchPtrWithPatch(instructionStart, address, value); 160 } 161 144 162 private: 145 163 void* m_start;
Note:
See TracChangeset
for help on using the changeset viewer.