⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 89985 in webkit


Ignore:
Timestamp:
Jun 28, 2011, 7:41:47 PM (15 years ago)
Author:
commit-queue@webkit.org
Message:

2011-06-28 Pierre Rossi <pierre.rossi@gmail.com>

Reviewed by Eric Seidel.

Warnings in JSC's JIT on 32 bit
https://bugs.webkit.org/show_bug.cgi?id=63259

Fairly straightforward, just use ASSERT_JIT_OFFSET_UNUSED when it applies.

  • jit/JITPropertyAccess32_64.cpp: (JSC::JIT::emit_op_method_check): (JSC::JIT::compileGetByIdHotPath): (JSC::JIT::emit_op_put_by_id):
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r89975 r89985  
     12011-06-28  Pierre Rossi  <pierre.rossi@gmail.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Warnings in JSC's JIT on 32 bit
     6        https://bugs.webkit.org/show_bug.cgi?id=63259
     7
     8        Fairly straightforward, just use ASSERT_JIT_OFFSET_UNUSED when it applies.
     9
     10        * jit/JITPropertyAccess32_64.cpp:
     11        (JSC::JIT::emit_op_method_check):
     12        (JSC::JIT::compileGetByIdHotPath):
     13        (JSC::JIT::emit_op_put_by_id):
     14
    1152011-06-28  Sheriff Bot  <webkit.review.bot@gmail.com>
    216
  • trunk/Source/JavaScriptCore/jit/JITPropertyAccess32_64.cpp

    r89630 r89985  
    132132    Jump match = jump();
    133133   
    134     ASSERT_JIT_OFFSET(differenceBetween(info.structureToCompare, protoObj), patchOffsetMethodCheckProtoObj);
     134    ASSERT_JIT_OFFSET_UNUSED(protoObj, differenceBetween(info.structureToCompare, protoObj), patchOffsetMethodCheckProtoObj);
    135135    ASSERT_JIT_OFFSET(differenceBetween(info.structureToCompare, protoStructureToCompare), patchOffsetMethodCheckProtoStruct);
    136     ASSERT_JIT_OFFSET(differenceBetween(info.structureToCompare, putFunction), patchOffsetMethodCheckPutFunction);
     136    ASSERT_JIT_OFFSET_UNUSED(putFunction, differenceBetween(info.structureToCompare, putFunction), patchOffsetMethodCheckPutFunction);
    137137   
    138138    // Link the failure cases here.
     
    335335    loadPtr(Address(regT0, JSObject::offsetOfPropertyStorage()), regT2);
    336336    DataLabelCompact displacementLabel1 = loadPtrWithCompactAddressOffsetPatch(Address(regT2, patchGetByIdDefaultOffset), regT0); // payload
    337     ASSERT_JIT_OFFSET(differenceBetween(hotPathBegin, displacementLabel1), patchOffsetGetByIdPropertyMapOffset1);
     337    ASSERT_JIT_OFFSET_UNUSED(displacementLabel1, differenceBetween(hotPathBegin, displacementLabel1), patchOffsetGetByIdPropertyMapOffset1);
    338338    DataLabelCompact displacementLabel2 = loadPtrWithCompactAddressOffsetPatch(Address(regT2, patchGetByIdDefaultOffset), regT1); // tag
    339     ASSERT_JIT_OFFSET(differenceBetween(hotPathBegin, displacementLabel2), patchOffsetGetByIdPropertyMapOffset2);
     339    ASSERT_JIT_OFFSET_UNUSED(displacementLabel2, differenceBetween(hotPathBegin, displacementLabel2), patchOffsetGetByIdPropertyMapOffset2);
    340340   
    341341    Label putResult(this);
     
    412412    END_UNINTERRUPTED_SEQUENCE(sequencePutById);
    413413   
    414     ASSERT_JIT_OFFSET(differenceBetween(hotPathBegin, displacementLabel1), patchOffsetPutByIdPropertyMapOffset1);
    415     ASSERT_JIT_OFFSET(differenceBetween(hotPathBegin, displacementLabel2), patchOffsetPutByIdPropertyMapOffset2);
     414    ASSERT_JIT_OFFSET_UNUSED(displacementLabel1, differenceBetween(hotPathBegin, displacementLabel1), patchOffsetPutByIdPropertyMapOffset1);
     415    ASSERT_JIT_OFFSET_UNUSED(displacementLabel2, differenceBetween(hotPathBegin, displacementLabel2), patchOffsetPutByIdPropertyMapOffset2);
    416416}
    417417
Note: See TracChangeset for help on using the changeset viewer.