Changeset 83809 in webkit


Ignore:
Timestamp:
Apr 13, 2011 8:57:40 PM (13 years ago)
Author:
oliver@apple.com
Message:

Fix 32bit tests.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r83808 r83809  
     12011-04-13  Oliver Hunt  <oliver@apple.com>
     2
     3        Fix 32bit tests.
     4
     5        * runtime/StructureTransitionTable.h:
     6        (JSC::StructureTransitionTable::singleTransition):
     7
    182011-04-13  Oliver Hunt  <oliver@apple.com>
    29
  • trunk/Source/JavaScriptCore/runtime/StructureTransitionTable.h

    r83808 r83809  
    134134    {
    135135        ASSERT(isUsingSingleSlot());
    136         if (HandleSlot slot = this->slot())
    137             return reinterpret_cast<Structure*>(slot->asCell());
     136        if (HandleSlot slot = this->slot()) {
     137            if (*slot)
     138                return reinterpret_cast<Structure*>(slot->asCell());
     139        }
    138140        return 0;
    139141    }
Note: See TracChangeset for help on using the changeset viewer.