Skip to content
  • fpizlo@apple.com's avatar
    Rename WatchpointSet::notifyWrite() should be renamed to WatchpointSet::fireAll() · 4bf14eb1
    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124609
    
    Source/JavaScriptCore: 
    
    Rubber stamped by Mark Lam.
            
    notifyWrite() is a thing that SymbolTable does. WatchpointSet uses that terminology
    because it was original designed to match exactly SymbolTable's semantics. But now
    it's a confusing term.
    
    * bytecode/Watchpoint.cpp:
    (JSC::WatchpointSet::fireAllSlow):
    * bytecode/Watchpoint.h:
    (JSC::WatchpointSet::fireAll):
    (JSC::InlineWatchpointSet::fireAll):
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::execute):
    * runtime/JSFunction.cpp:
    (JSC::JSFunction::put):
    (JSC::JSFunction::defineOwnProperty):
    * runtime/JSGlobalObject.cpp:
    (JSC::JSGlobalObject::haveABadTime):
    * runtime/Structure.h:
    (JSC::Structure::notifyTransitionFromThisStructure):
    * runtime/SymbolTable.cpp:
    (JSC::SymbolTableEntry::notifyWriteSlow):
    
    Source/WebCore: 
    
    Rubber stamped by Mark Lam.
    
    No new tests because no new behavior.
    
    * bindings/scripts/CodeGeneratorJS.pm:
    (GenerateHeader):
    * bindings/scripts/test/JS/JSTestEventTarget.h:
    (WebCore::JSTestEventTarget::create):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4bf14eb1