Skip to content
  • kbr@google.com's avatar
    Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced · 94781154
    kbr@google.com authored
    https://bugs.webkit.org/show_bug.cgi?id=83655
    
    Reviewed by Oliver Hunt.
    
    Source/JavaScriptCore:
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * JavaScriptCore.gypi:
    * JavaScriptCore.order:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * Target.pri:
    * bytecode/PredictedType.cpp:
    (JSC::predictionToString):
    (JSC::predictionToAbbreviatedString):
    (JSC::predictionFromClassInfo):
    * bytecode/PredictedType.h:
    (JSC):
    (JSC::isActionableIntMutableArrayPrediction):
    * dfg/DFGAbstractState.cpp:
    (JSC::DFG::AbstractState::initialize):
    (JSC::DFG::AbstractState::execute):
    * dfg/DFGCSEPhase.cpp:
    (JSC::DFG::CSEPhase::performNodeCSE):
    * dfg/DFGFixupPhase.cpp:
    (JSC::DFG::FixupPhase::fixupNode):
    * dfg/DFGNode.h:
    * dfg/DFGNodeType.h:
    (DFG):
    * dfg/DFGOperations.cpp:
    (JSC::DFG::putByVal):
    * dfg/DFGPredictionPropagationPhase.cpp:
    (JSC::DFG::PredictionPropagationPhase::propagate):
    * dfg/DFGSpeculativeJIT.cpp:
    (JSC::DFG::SpeculativeJIT::checkArgumentTypes):
    (JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
    * dfg/DFGSpeculativeJIT.h:
    (JSC::DFG::ValueSource::forPrediction):
    (SpeculativeJIT):
    * dfg/DFGSpeculativeJIT32_64.cpp:
    (JSC::DFG::SpeculativeJIT::compile):
    * dfg/DFGSpeculativeJIT64.cpp:
    (JSC::DFG::SpeculativeJIT::compile):
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::privateExecute):
    * jit/JITStubs.cpp:
    (JSC::DEFINE_STUB_FUNCTION):
    * jit/JITStubs.h:
    * llint/LLIntSlowPaths.cpp:
    (JSC::LLInt::getByVal):
    (JSC::LLInt::LLINT_SLOW_PATH_DECL):
    * runtime/JSByteArray.cpp: Removed.
    * runtime/JSByteArray.h: Removed.
    * runtime/JSGlobalData.cpp:
    
    Source/WebCore:
    
    Removed last few references to ByteArray, replacing with
    Uint8ClampedArray as necessary, and deleted now-obsolete
    CanvasPixelArray, ByteArray and JSByteArray. Removed code from
    JavaScriptCore special-casing ByteArray.
    
    No new tests. Did full layout test run on Mac OS; no regressions
    seen from this change.
    
    * CMakeLists.txt:
    * DerivedSources.pri:
    * ForwardingHeaders/runtime/JSByteArray.h: Removed.
    * GNUmakefile.list.am:
    * PlatformBlackBerry.cmake:
    * Target.pri:
    * UseV8.cmake:
    * WebCore.gypi:
    * WebCore.order:
    * WebCore.vcproj/WebCore.vcproj:
    * WebCore.xcodeproj/project.pbxproj:
    * bindings/v8/SerializedScriptValue.cpp:
    * bindings/v8/V8Binding.h:
    (WebCore::isHostObject):
    * bindings/v8/custom/V8CanvasPixelArrayCustom.cpp: Removed.
    * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
    (WebCore::V8InjectedScriptHost::typeCallback):
    * bridge/qt/qt_runtime.cpp:
    (JSC::Bindings::isJSUint8ClampedArray):
    (Bindings):
    (JSC::Bindings::valueRealType):
    (JSC::Bindings::convertValueToQVariant):
    (JSC::Bindings::convertQVariantToValue):
    * html/canvas/CanvasPixelArray.cpp: Removed.
    * html/canvas/CanvasPixelArray.h: Removed.
    * html/canvas/CanvasPixelArray.idl: Removed.
    * html/canvas/WebGLRenderingContext.cpp:
    (WebCore):
    * platform/graphics/filters/FEConvolveMatrix.h:
    * rendering/svg/RenderSVGResourceMasker.cpp:
    
    Source/WTF:
    
    * GNUmakefile.list.am:
    * WTF.gypi:
    * WTF.pro:
    * WTF.vcproj/WTF.vcproj:
    * WTF.xcodeproj/project.pbxproj:
    * wtf/ByteArray.cpp: Removed.
    * wtf/ByteArray.h: Removed.
    * wtf/CMakeLists.txt:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    94781154