Changeset 34664 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jun 19, 2008, 2:13:41 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Sam.

Fix an assertion failure at startup.

  • kjs/JSObject.h: (KJS::JSObject::JSObject): Allow jsNull prototype in an assertion (I had it fixed in a wrong copy of the file, so I wasn't getting the failure).
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r34661 r34664  
     12008-06-19  Alexey Proskuryakov  <[email protected]>
     2
     3        Reviewed by Sam.
     4
     5        Fix an assertion failure at startup.
     6
     7        * kjs/JSObject.h: (KJS::JSObject::JSObject): Allow jsNull prototype in an assertion (I had
     8        it fixed in a wrong copy of the file, so I wasn't getting the failure).
     9
    1102008-06-19  Alexey Proskuryakov  <[email protected]>
    211
  • trunk/JavaScriptCore/kjs/JSObject.h

    r34659 r34664  
    487487{
    488488    ASSERT(proto);
    489     ASSERT(Heap::heap(this) == Heap::heap(proto));
     489    ASSERT(proto == jsNull() || Heap::heap(this) == Heap::heap(proto));
    490490}
    491491
Note: See TracChangeset for help on using the changeset viewer.