Changeset 46247 in webkit for trunk/JavaScriptCore/assembler/ARMAssembler.cpp
- Timestamp:
- Jul 22, 2009, 3:17:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/assembler/ARMAssembler.cpp
r46059 r46247 58 58 59 59 if ((diff <= BOFFSET_MAX && diff >= BOFFSET_MIN)) { 60 ExecutableAllocator::MakeWritable unprotect(insn, sizeof(ARMWord));61 60 *insn = B | getConditionalField(*insn) | (diff & BRANCH_MASK); 61 ExecutableAllocator::cacheFlush(insn, sizeof(ARMWord)); 62 62 return; 63 63 } 64 64 } 65 65 ARMWord* addr = getLdrImmAddress(insn); 66 ExecutableAllocator::MakeWritable unprotect(addr, sizeof(ARMWord));67 66 *addr = reinterpret_cast<ARMWord>(to); 67 ExecutableAllocator::cacheFlush(addr, sizeof(ARMWord)); 68 68 } 69 69
Note:
See TracChangeset
for help on using the changeset viewer.