Skip to content
  • mhahnenberg@apple.com's avatar
    Add put to the MethodTable · 61a11716
    mhahnenberg@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=70439
    
    Reviewed by Oliver Hunt.
    
    Source/JavaScriptCore: 
    
    * JavaScriptCore.exp:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    * runtime/ClassInfo.h: Added put and putByIndex to the MethodTable.
    * runtime/JSFunction.h: Changed access modifier for put to protected since some
    subclasses of JSFunction need to reference it in their MethodTables.
    
    Source/WebCore: 
    
    No new tests.
    
    * WebCore.exp.in:
    * bindings/js/JSDOMWindowCustom.cpp: Added static put since it was overlooked in 
    previous patches.
    (WebCore::JSDOMWindow::putVirtual):
    (WebCore::JSDOMWindow::put):
    * bindings/js/JSDOMWindowShell.cpp: Ditto.
    (WebCore::JSDOMWindowShell::putVirtual):
    (WebCore::JSDOMWindowShell::put):
    * bindings/js/JSDOMWindowShell.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    61a11716