Ignore:
Timestamp:
Jun 8, 2012, 2:30:35 PM (13 years ago)
Author:
[email protected]
Message:

Unreviewed roll out r119795.

This broke jquery/core.html

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::emitAllocateBasicJSObject):

  • jit/JITInlineMethods.h:

(JSC::JIT::emitAllocateBasicJSObject):

  • llint/LowLevelInterpreter.asm:
  • runtime/JSGlobalData.h:

(JSGlobalData):

  • runtime/JSGlobalThis.cpp:

(JSC::JSGlobalThis::setUnwrappedObject):

  • runtime/JSObject.cpp:

(JSC::JSObject::visitChildren):
(JSC::JSObject::createInheritorID):

  • runtime/JSObject.h:

(JSObject):
(JSC::JSObject::resetInheritorID):
(JSC):
(JSC::JSObject::offsetOfInheritorID):
(JSC::JSObject::inheritorID):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSObject.cpp

    r119795 r119865  
    9999    }
    100100
     101    if (thisObject->m_inheritorID)
     102        visitor.append(&thisObject->m_inheritorID);
     103
    101104#if !ASSERT_DISABLED
    102105    visitor.m_isCheckingForDefaultMarkViolation = wasCheckingForDefaultMarkViolation;
     
    534537Structure* JSObject::createInheritorID(JSGlobalData& globalData)
    535538{
    536     ASSERT(!getDirectLocation(globalData, globalData.m_inheritorIDKey));
    537 
    538539    JSGlobalObject* globalObject;
    539540    if (isGlobalThis())
     
    542543        globalObject = structure()->globalObject();
    543544    ASSERT(globalObject);
    544    
    545     Structure* inheritorID = createEmptyObjectStructure(globalData, globalObject, this);
    546     ASSERT(inheritorID->isEmpty());
    547 
    548     PutPropertySlot slot;
    549     putDirectInternal<PutModeDefineOwnProperty>(globalData, globalData.m_inheritorIDKey, inheritorID, 0, slot, 0);
    550     return inheritorID;
     545    m_inheritorID.set(globalData, this, createEmptyObjectStructure(globalData, globalObject, this));
     546    ASSERT(m_inheritorID->isEmpty());
     547    return m_inheritorID.get();
    551548}
    552549
Note: See TracChangeset for help on using the changeset viewer.