Ignore:
Timestamp:
Aug 17, 2011, 7:56:13 PM (14 years ago)
Author:
[email protected]
Message:

https://bugs.webkit.org/show_bug.cgi?id=66379
implements load32WithCompactAddressOffsetPatch function
and fixes store32 and moveWithPatch functions for SH4 platforms.

Patch by Thouraya ANDOLSI <[email protected]> on 2011-08-17
Reviewed by Gavin Barraclough.

  • assembler/MacroAssemblerSH4.h:

(JSC::MacroAssemblerSH4::rshift32):
(JSC::MacroAssemblerSH4::store32):
(JSC::MacroAssemblerSH4::load32WithCompactAddressOffsetPatch):
(JSC::MacroAssemblerSH4::moveWithPatch):

  • assembler/SH4Assembler.h:

(JSC::SH4Assembler::movlMemRegCompact):
(JSC::SH4Assembler::readPointer):
(JSC::SH4Assembler::repatchCompact):

  • jit/JIT.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JIT.h

    r92498 r93277  
    489489        static const int patchOffsetGetByIdBranchToSlowCase = 10;
    490490        static const int patchOffsetGetByIdPropertyMapOffset = 24;
    491         static const int patchOffsetGetByIdPutResult = 32;
     491        static const int patchOffsetGetByIdPutResult = 24;
    492492
    493493        // sequenceOpCall
     
    508508
    509509        static const int patchOffsetGetByIdPropertyMapOffset1 = 20;
    510         static const int patchOffsetGetByIdPropertyMapOffset2 = 26;
     510        static const int patchOffsetGetByIdPropertyMapOffset2 = 22;
    511511
    512512        static const int patchOffsetPutByIdPropertyMapOffset1 = 20;
Note: See TracChangeset for help on using the changeset viewer.