Changeset 142751 in webkit


Ignore:
Timestamp:
Feb 13, 2013 8:23:29 AM (11 years ago)
Author:
zherczeg@webkit.org
Message:

replaceWithJump should not decrease the offset by 1 on ARM traditional.
https://bugs.webkit.org/show_bug.cgi?id=109689

Reviewed by Zoltan Herczeg.

  • assembler/ARMAssembler.h:

(JSC::ARMAssembler::replaceWithJump):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r142701 r142751  
     12013-02-13  Zoltan Herczeg  <zherczeg@webkit.org>
     2
     3        replaceWithJump should not decrease the offset by 1 on ARM traditional.
     4        https://bugs.webkit.org/show_bug.cgi?id=109689
     5
     6        Reviewed by Zoltan Herczeg.
     7
     8        * assembler/ARMAssembler.h:
     9        (JSC::ARMAssembler::replaceWithJump):
     10
    1112013-02-12  Joseph Pecoraro  <pecoraro@apple.com>
    212
  • trunk/Source/JavaScriptCore/assembler/ARMAssembler.h

    r135610 r142751  
    905905        static void replaceWithJump(void* instructionStart, void* to)
    906906        {
    907             ARMWord* instruction = reinterpret_cast<ARMWord*>(instructionStart) - 1;
     907            ARMWord* instruction = reinterpret_cast<ARMWord*>(instructionStart);
    908908            intptr_t difference = reinterpret_cast<intptr_t>(to) - (reinterpret_cast<intptr_t>(instruction) + DefaultPrefetchOffset * sizeof(ARMWord));
    909909
Note: See TracChangeset for help on using the changeset viewer.