Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced
https://bugs.webkit.org/show_bug.cgi?id=83655
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
(JSC::predictionToString):
(JSC::predictionToAbbreviatedString):
(JSC::predictionFromClassInfo):
- bytecode/PredictedType.h:
(JSC):
(JSC::isActionableIntMutableArrayPrediction):
- dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::initialize):
(JSC::DFG::AbstractState::execute):
(JSC::DFG::CSEPhase::performNodeCSE):
(JSC::DFG::FixupPhase::fixupNode):
- dfg/DFGNode.h:
- dfg/DFGNodeType.h:
(DFG):
(JSC::DFG::putByVal):
- dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::checkArgumentTypes):
(JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
(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):
(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: