Changeset 134612 in webkit


Ignore:
Timestamp:
Nov 14, 2012 8:18:10 AM (11 years ago)
Author:
Csaba Osztrogonác
Message:

[Qt][ARM]REGRESSION(r133985): It broke the build
https://bugs.webkit.org/show_bug.cgi?id=101740

Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2012-11-14
Reviewed by Csaba Osztrogonác.

Changed the emitGenericContiguousPutByVal to accept the additional IndexingType argument.
This information was passed as a template parameter.

  • jit/JIT.h:

(JSC::JIT::emitInt32PutByVal):
(JSC::JIT::emitDoublePutByVal):
(JSC::JIT::emitContiguousPutByVal):
(JIT):

  • jit/JITPropertyAccess.cpp:

(JSC::JIT::emitGenericContiguousPutByVal):

  • jit/JITPropertyAccess32_64.cpp:

(JSC::JIT::emitGenericContiguousPutByVal):

Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r134608 r134612  
     12012-11-14  Peter Gal  <galpeter@inf.u-szeged.hu>
     2
     3        [Qt][ARM]REGRESSION(r133985): It broke the build
     4        https://bugs.webkit.org/show_bug.cgi?id=101740
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        Changed the emitGenericContiguousPutByVal to accept the additional IndexingType argument.
     9        This information was passed as a template parameter.       
     10
     11        * jit/JIT.h:
     12        (JSC::JIT::emitInt32PutByVal):
     13        (JSC::JIT::emitDoublePutByVal):
     14        (JSC::JIT::emitContiguousPutByVal):
     15        (JIT):
     16        * jit/JITPropertyAccess.cpp:
     17        (JSC::JIT::emitGenericContiguousPutByVal):
     18        * jit/JITPropertyAccess32_64.cpp:
     19        (JSC::JIT::emitGenericContiguousPutByVal):
     20
    1212012-11-14  Peter Gal  <galpeter@inf.u-szeged.hu>
    222
  • trunk/Source/JavaScriptCore/jit/JIT.h

    r134361 r134612  
    488488        JumpList emitInt32PutByVal(Instruction* currentInstruction, PatchableJump& badType)
    489489        {
    490             return emitGenericContiguousPutByVal<Int32Shape>(currentInstruction, badType);
     490            return emitGenericContiguousPutByVal(currentInstruction, badType, Int32Shape);
    491491        }
    492492        JumpList emitDoublePutByVal(Instruction* currentInstruction, PatchableJump& badType)
    493493        {
    494             return emitGenericContiguousPutByVal<DoubleShape>(currentInstruction, badType);
     494            return emitGenericContiguousPutByVal(currentInstruction, badType, DoubleShape);
    495495        }
    496496        JumpList emitContiguousPutByVal(Instruction* currentInstruction, PatchableJump& badType)
    497497        {
    498             return emitGenericContiguousPutByVal<ContiguousShape>(currentInstruction, badType);
    499         }
    500         template<IndexingType indexingShape>
    501         JumpList emitGenericContiguousPutByVal(Instruction*, PatchableJump& badType);
     498            return emitGenericContiguousPutByVal(currentInstruction, badType);
     499        }
     500        JumpList emitGenericContiguousPutByVal(Instruction*, PatchableJump& badType, IndexingType indexingShape = ContiguousShape);
    502501        JumpList emitArrayStoragePutByVal(Instruction*, PatchableJump& badType);
    503502        JumpList emitIntTypedArrayPutByVal(Instruction*, PatchableJump& badType, const TypedArrayDescriptor&, size_t elementSize, TypedArraySignedness, TypedArrayRounding);
  • trunk/Source/JavaScriptCore/jit/JITPropertyAccess.cpp

    r134602 r134612  
    353353}
    354354
    355 template<IndexingType indexingShape>
    356 JIT::JumpList JIT::emitGenericContiguousPutByVal(Instruction* currentInstruction, PatchableJump& badType)
     355JIT::JumpList JIT::emitGenericContiguousPutByVal(Instruction* currentInstruction, PatchableJump& badType, IndexingType indexingShape)
    357356{
    358357    unsigned value = currentInstruction[3].u.operand;
  • trunk/Source/JavaScriptCore/jit/JITPropertyAccess32_64.cpp

    r134602 r134612  
    318318}
    319319
    320 template<IndexingType indexingShape>
    321 JIT::JumpList JIT::emitGenericContiguousPutByVal(Instruction* currentInstruction, PatchableJump& badType)
     320JIT::JumpList JIT::emitGenericContiguousPutByVal(Instruction* currentInstruction, PatchableJump& badType, IndexingType indexingShape)
    322321{
    323322    unsigned value = currentInstruction[3].u.operand;
Note: See TracChangeset for help on using the changeset viewer.