Ignore:
Timestamp:
Jul 30, 2009, 7:57:31 PM (16 years ago)
Author:
[email protected]
Message:

2009-07-30 Gavin Barraclough <[email protected]>

Reviewed by NOBODY (build fix).

Temporarily revert r46618 since this is b0rking on Linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecode/StructureStubInfo.cpp

    r46618 r46620  
    3232void StructureStubInfo::deref()
    3333{
    34     switch (accessType) {
    35     case access_get_by_id_self:
     34    switch (opcodeID) {
     35    case op_get_by_id_self:
    3636        u.getByIdSelf.baseObjectStructure->deref();
    3737        return;
    38     case access_get_by_id_proto:
     38    case op_get_by_id_proto:
    3939        u.getByIdProto.baseObjectStructure->deref();
    4040        u.getByIdProto.prototypeStructure->deref();
    4141        return;
    42     case access_get_by_id_chain:
     42    case op_get_by_id_chain:
    4343        u.getByIdChain.baseObjectStructure->deref();
    4444        u.getByIdChain.chain->deref();
    4545        return;
    46     case access_get_by_id_self_list: {
     46    case op_get_by_id_self_list: {
    4747        PolymorphicAccessStructureList* polymorphicStructures = u.getByIdSelfList.structureList;
    4848        polymorphicStructures->derefStructures(u.getByIdSelfList.listSize);
     
    5050        return;
    5151    }
    52     case access_get_by_id_proto_list: {
     52    case op_get_by_id_proto_list: {
    5353        PolymorphicAccessStructureList* polymorphicStructures = u.getByIdProtoList.structureList;
    5454        polymorphicStructures->derefStructures(u.getByIdProtoList.listSize);
     
    5656        return;
    5757    }
    58     case access_put_by_id_transition:
     58    case op_put_by_id_transition:
    5959        u.putByIdTransition.previousStructure->deref();
    6060        u.putByIdTransition.structure->deref();
    6161        u.putByIdTransition.chain->deref();
    6262        return;
    63     case access_put_by_id_replace:
     63    case op_put_by_id_replace:
    6464        u.putByIdReplace.baseObjectStructure->deref();
    6565        return;
    66     case access_get_by_id:
    67     case access_put_by_id:
    68     case access_get_by_id_generic:
    69     case access_put_by_id_generic:
    70     case access_get_array_length:
    71     case access_get_string_length:
     66    case op_get_by_id:
     67    case op_put_by_id:
     68    case op_get_by_id_generic:
     69    case op_put_by_id_generic:
     70    case op_get_array_length:
     71    case op_get_string_length:
    7272        // These instructions don't ref their Structures.
    7373        return;
Note: See TracChangeset for help on using the changeset viewer.