Changeset 37651 in webkit for trunk/JavaScriptCore/VM/CTI.cpp


Ignore:
Timestamp:
Oct 17, 2008, 3:15:10 AM (17 years ago)
Author:
[email protected]
Message:

2008-10-17 Cameron Zwarich <[email protected]>

Rubber-stamped by Maciej Stachowiak.

Remove some C style casts.

  • VM/CTI.cpp: (JSC::CTI::patchGetByIdSelf): (JSC::CTI::patchPutByIdReplace):
  • VM/Machine.cpp: (JSC::Machine::tryCTICachePutByID): (JSC::Machine::tryCTICacheGetByID): (JSC::Machine::cti_op_put_by_id): (JSC::Machine::cti_op_put_by_id_fail): (JSC::Machine::cti_op_get_by_id): (JSC::Machine::cti_op_get_by_id_fail):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/CTI.cpp

    r37650 r37651  
    30373037    // We don't want to repatch more than once - in future go to cti_op_get_by_id_generic.
    30383038    // Should probably go to Machine::cti_op_get_by_id_fail, but that doesn't do anything interesting right now.
    3039     ctiRepatchCallByReturnAddress(returnAddress, (void*)(Machine::cti_op_get_by_id_generic));
     3039    ctiRepatchCallByReturnAddress(returnAddress, reinterpret_cast<void*>(Machine::cti_op_get_by_id_generic));
    30403040
    30413041    // Repatch the offset into the propoerty map to load from, then repatch the StructureID to look for.
     
    30503050    // We don't want to repatch more than once - in future go to cti_op_put_by_id_generic.
    30513051    // Should probably go to Machine::cti_op_put_by_id_fail, but that doesn't do anything interesting right now.
    3052     ctiRepatchCallByReturnAddress(returnAddress, (void*)(Machine::cti_op_put_by_id_generic));
     3052    ctiRepatchCallByReturnAddress(returnAddress, reinterpret_cast<void*>(Machine::cti_op_put_by_id_generic));
    30533053
    30543054    // Repatch the offset into the propoerty map to load from, then repatch the StructureID to look for.
Note: See TracChangeset for help on using the changeset viewer.