Skip to content
  • mhahnenberg@apple.com's avatar
    Rename OperationInProgress to HeapOperation and move it out of Heap.h into its own header · ba01f6dd
    mhahnenberg@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=121534
    
    Reviewed by Geoffrey Garen.
    
    OperationInProgress is a silly name. 
    
    Many parts of the Heap would like to know what HeapOperation is currently underway, but 
    since they are included in Heap.h they can't directly reference HeapOperation if it also 
    lives in Heap.h. The simplest thing to do is to give HeapOperation its own header. While 
    a bit overkill, it simplifies including it wherever its needed.
    
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * bytecode/CodeBlock.cpp:
    (JSC::CodeBlock::updateAllPredictionsAndCountLiveness):
    (JSC::CodeBlock::updateAllValueProfilePredictions):
    (JSC::CodeBlock::updateAllPredictions):
    * bytecode/CodeBlock.h:
    (JSC::CodeBlock::updateAllValueProfilePredictions):
    (JSC::CodeBlock::updateAllPredictions):
    * bytecode/LazyOperandValueProfile.cpp:
    (JSC::CompressedLazyOperandValueProfileHolder::computeUpdatedPredictions):
    * bytecode/LazyOperandValueProfile.h:
    * bytecode/ValueProfile.h:
    (JSC::ValueProfileBase::computeUpdatedPrediction):
    * heap/Heap.h:
    * heap/HeapOperation.h: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ba01f6dd