Changeset 35657 in webkit for trunk/JavaScriptCore/kjs/JSObject.h


Ignore:
Timestamp:
Aug 10, 2008, 3:06:13 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Sam Weinig.

Added same heap debug checks to more code paths.

  • kjs/JSActivation.cpp: (KJS::JSActivation::put): (KJS::JSActivation::putWithAttributes):
  • kjs/JSGlobalObject.cpp: (KJS::JSGlobalObject::putWithAttributes):
  • kjs/JSObject.h: (KJS::JSObject::putDirect):
  • kjs/JSVariableObject.h: (KJS::JSVariableObject::symbolTablePut): (KJS::JSVariableObject::symbolTablePutWithAttributes):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/JSObject.h

    r35245 r35657  
    477477inline void JSObject::putDirect(const Identifier& propertyName, JSValue* value, unsigned attr)
    478478{
     479    ASSERT(!Heap::heap(value) || Heap::heap(value) == Heap::heap(this));
     480
    479481    m_propertyMap.put(propertyName, value, attr);
    480482}
Note: See TracChangeset for help on using the changeset viewer.