Changeset 113935 in webkit


Ignore:
Timestamp:
Apr 11, 2012 6:38:41 PM (12 years ago)
Author:
msaboff@apple.com
Message:

Invalid Union Reference in StructureStubInfo.{cpp.h}
https://bugs.webkit.org/show_bug.cgi?id=83735

Reviewed by Filip Pizlo.

Changed the references to u.getByIdProtoList and u.getByIdSelfList
to be consistent.

  • bytecode/StructureStubInfo.cpp:

(JSC::StructureStubInfo::visitWeakReferences):

  • bytecode/StructureStubInfo.h:

(JSC::StructureStubInfo::initGetByIdSelfList):

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r113934 r113935  
     12012-04-11  Michael Saboff  <msaboff@apple.com>
     2
     3        Invalid Union Reference in StructureStubInfo.{cpp.h}
     4        https://bugs.webkit.org/show_bug.cgi?id=83735
     5
     6        Reviewed by Filip Pizlo.
     7
     8        Changed the references to u.getByIdProtoList and u.getByIdSelfList
     9        to be consistent.
     10
     11        * bytecode/StructureStubInfo.cpp:
     12        (JSC::StructureStubInfo::visitWeakReferences):
     13        * bytecode/StructureStubInfo.h:
     14        (JSC::StructureStubInfo::initGetByIdSelfList):
     15
    1162012-04-11  Filip Pizlo  <fpizlo@apple.com>
    217
  • trunk/Source/JavaScriptCore/bytecode/StructureStubInfo.cpp

    r107485 r113935  
    9393    case access_get_by_id_proto_list: {
    9494        PolymorphicAccessStructureList* polymorphicStructures = u.getByIdProtoList.structureList;
    95         if (!polymorphicStructures->visitWeak(u.getByIdSelfList.listSize))
     95        if (!polymorphicStructures->visitWeak(u.getByIdProtoList.listSize))
    9696            return false;
    9797        break;
  • trunk/Source/JavaScriptCore/bytecode/StructureStubInfo.h

    r107485 r113935  
    123123            accessType = access_get_by_id_self_list;
    124124
    125             u.getByIdProtoList.structureList = structureList;
    126             u.getByIdProtoList.listSize = listSize;
     125            u.getByIdSelfList.structureList = structureList;
     126            u.getByIdSelfList.listSize = listSize;
    127127        }
    128128
Note: See TracChangeset for help on using the changeset viewer.