Skip to content
  • fpizlo@apple.com's avatar
    Do bytecode validation as part of testing · 2eb67eca
    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124913
    
    Source/JavaScriptCore: 
    
    Reviewed by Oliver Hunt.
            
    Also fix some small bugs in the bytecode liveness analysis that I found by doing
    this validation thingy.
    
    * bytecode/BytecodeLivenessAnalysis.cpp:
    (JSC::isValidRegisterForLiveness):
    (JSC::BytecodeLivenessAnalysis::runLivenessFixpoint):
    * bytecode/CodeBlock.cpp:
    (JSC::CodeBlock::validate):
    (JSC::CodeBlock::beginValidationDidFail):
    (JSC::CodeBlock::endValidationDidFail):
    * bytecode/CodeBlock.h:
    * runtime/Executable.cpp:
    (JSC::ScriptExecutable::prepareForExecutionImpl):
    * runtime/Options.h:
    
    Source/WTF: 
    
    Reviewed by Oliver Hunt.
    
    * GNUmakefile.list.am:
    * WTF.vcxproj/WTF.vcxproj:
    * WTF.xcodeproj/project.pbxproj:
    * wtf/CMakeLists.txt:
    * wtf/FastBitVector.cpp: Added.
    (WTF::FastBitVector::dump):
    * wtf/FastBitVector.h:
    (WTF::FastBitVector::resize):
    (WTF::FastBitVector::bitCount):
    (WTF::FastBitVector::arrayLength):
    
    Tools: 
    
    Reviewed by Oliver Hunt.
    
    * Scripts/run-jsc-stress-tests:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2eb67eca