This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CPU(ARM_TRADITIONAL) build after r157690.
https://bugs.webkit.org/show_bug.cgi?id=123247 Patch by Julien Brianceau <email@example.com> on 2013-10-29 Reviewed by Michael Saboff. Since r157690, the executableCopy function has been removed from AssemblerBuffer.h and the copy of executable code occurs in the linkCode function (in LinkBuffer.cpp). As the constant pool for jumps is updated in the executableCopy function of ARM_TRADITIONAL, this part of code still needs to be called and absolute jumps must be corrected to anticipate the copy of the executable code through memcpy. * assembler/ARMAssembler.cpp: (JSC::ARMAssembler::prepareExecutableCopy): Rename executableCopy to prepareExecutableCopy and correct absolute jump values using the delta between the source and destination buffers. * assembler/ARMAssembler.h: * assembler/LinkBuffer.cpp: (JSC::LinkBuffer::linkCode): Call prepareExecutableCopy just before the memcpy. Canonical link: https://commits.webkit.org/141577@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 4 changed files with 28 additions and 7 deletions.