Skip to content
  • fpizlo@apple.com's avatar
    REGRESSION: Crash when opening a message on Gmail · b61a0434
    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=119105
    
    Source/JavaScriptCore: 
    
    Reviewed by Oliver Hunt and Mark Hahnenberg.
            
    - GetById patching in the DFG needs to be more disciplined about how it derives the
      slow path.
            
    - Fix some dumping code thread safety issues.
    
    * bytecode/CallLinkStatus.cpp:
    (JSC::CallLinkStatus::dump):
    * bytecode/CodeBlock.cpp:
    (JSC::CodeBlock::dumpBytecode):
    * dfg/DFGRepatch.cpp:
    (JSC::DFG::getPolymorphicStructureList):
    (JSC::DFG::tryBuildGetByIDList):
    
    LayoutTests: 
    
    Reviewed by Oliver Hunt and Mark Hahnenberg.
    
    * fast/js/dfg-get-by-id-unset-then-proto-less-warmup.html: Added.
    * fast/js/dfg-get-by-id-unset-then-proto-more-warmup.html: Added.
    * fast/js/dfg-get-by-id-unset-then-proto.html: Added.
    * fast/js/jsc-test-list
    * fast/js/script-tests/dfg-get-by-id-unset-then-proto-less-warmup.js: Added.
    (foo):
    (Blah):
    * fast/js/script-tests/dfg-get-by-id-unset-then-proto-more-warmup.js: Added.
    (foo):
    (Blah):
    * fast/js/script-tests/dfg-get-by-id-unset-then-proto.js: Added.
    (foo):
    (Blah):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b61a0434