Ignore:
Timestamp:
Feb 1, 2011, 9:05:55 PM (14 years ago)
Author:
[email protected]
Message:

2011-02-01 Sheriff Bot <[email protected]>

Unreviewed, rolling out r77297.
http://trac.webkit.org/changeset/77297
https://bugs.webkit.org/show_bug.cgi?id=53538

caused leopard crashes (Requested by paroga on #webkit).

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • wtf/text/AtomicString.cpp: (WTF::AtomicString::fromUTF8):
  • wtf/unicode/UTF8.cpp: (WTF::Unicode::calculateStringHashFromUTF8):
  • wtf/unicode/UTF8.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.h

    r77151 r77360  
    250250
    251251        DeprecatedPtr<JSGlobalObject> m_globalObject;
     252        Heap* m_heap;
    252253
    253254    public:
     
    617618            : CodeBlock(ownerExecutable, codeType, globalObject, sourceProvider, sourceOffset, &m_unsharedSymbolTable, false)
    618619        {
    619             m_globalObject->codeBlocks().add(this);
     620            m_heap->codeBlocks().add(this);
    620621        }
    621622
    622623        ~GlobalCodeBlock()
    623624        {
    624             if (m_globalObject)
    625                 m_globalObject->codeBlocks().remove(this);
    626         }
    627 
    628         void clearGlobalObject() { m_globalObject = 0; }
     625            m_heap->codeBlocks().remove(this);
     626        }
    629627
    630628    private:
Note: See TracChangeset for help on using the changeset viewer.