https://bugs.webkit.org/show_bug.cgi?id=119489
Reviewed by Filip Pizlo.
Source/JavaScriptCore:
Move TypedArray implementation into JSC in advance of re-implementation
* GNUmakefile.list.am:
* JSCTypedArrayStubs.h:
* JavaScriptCore.xcodeproj/project.pbxproj:
* runtime/ArrayBuffer.cpp: Renamed from Source/WTF/wtf/ArrayBuffer.cpp.
(JSC::ArrayBuffer::transfer):
(JSC::ArrayBuffer::addView):
(JSC::ArrayBuffer::removeView):
* runtime/ArrayBuffer.h: Renamed from Source/WTF/wtf/ArrayBuffer.h.
(JSC::ArrayBufferContents::ArrayBufferContents):
(JSC::ArrayBufferContents::data):
(JSC::ArrayBufferContents::sizeInBytes):
(JSC::ArrayBufferContents::transfer):
(JSC::ArrayBufferContents::copyTo):
(JSC::ArrayBuffer::isNeutered):
(JSC::ArrayBuffer::~ArrayBuffer):
(JSC::ArrayBuffer::clampValue):
(JSC::ArrayBuffer::create):
(JSC::ArrayBuffer::createUninitialized):
(JSC::ArrayBuffer::ArrayBuffer):
(JSC::ArrayBuffer::data):
(JSC::ArrayBuffer::byteLength):
(JSC::ArrayBuffer::slice):
(JSC::ArrayBuffer::sliceImpl):
(JSC::ArrayBuffer::clampIndex):
(JSC::ArrayBufferContents::tryAllocate):
(JSC::ArrayBufferContents::~ArrayBufferContents):
* runtime/ArrayBufferView.cpp: Renamed from Source/WTF/wtf/ArrayBufferView.cpp.
(JSC::ArrayBufferView::ArrayBufferView):
(JSC::ArrayBufferView::~ArrayBufferView):
(JSC::ArrayBufferView::neuter):
* runtime/ArrayBufferView.h: Renamed from Source/WTF/wtf/ArrayBufferView.h.
(JSC::ArrayBufferView::buffer):
(JSC::ArrayBufferView::baseAddress):
(JSC::ArrayBufferView::byteOffset):
(JSC::ArrayBufferView::setNeuterable):
(JSC::ArrayBufferView::isNeuterable):
(JSC::ArrayBufferView::verifySubRange):
(JSC::ArrayBufferView::clampOffsetAndNumElements):
(JSC::ArrayBufferView::setImpl):
(JSC::ArrayBufferView::setRangeImpl):
(JSC::ArrayBufferView::zeroRangeImpl):
(JSC::ArrayBufferView::calculateOffsetAndLength):
* runtime/Float32Array.h: Renamed from Source/WTF/wtf/Float32Array.h.
(JSC::Float32Array::set):
(JSC::Float32Array::getType):
(JSC::Float32Array::create):
(JSC::Float32Array::createUninitialized):
(JSC::Float32Array::Float32Array):
(JSC::Float32Array::subarray):
* runtime/Float64Array.h: Renamed from Source/WTF/wtf/Float64Array.h.
(JSC::Float64Array::set):
(JSC::Float64Array::getType):
(JSC::Float64Array::create):
(JSC::Float64Array::createUninitialized):
(JSC::Float64Array::Float64Array):
(JSC::Float64Array::subarray):
* runtime/Int16Array.h: Renamed from Source/WTF/wtf/Int16Array.h.
(JSC::Int16Array::getType):
(JSC::Int16Array::create):
(JSC::Int16Array::createUninitialized):
(JSC::Int16Array::Int16Array):
(JSC::Int16Array::subarray):
* runtime/Int32Array.h: Renamed from Source/WTF/wtf/Int32Array.h.
(JSC::Int32Array::getType):
(JSC::Int32Array::create):
(JSC::Int32Array::createUninitialized):
(JSC::Int32Array::Int32Array):
(JSC::Int32Array::subarray):
* runtime/Int8Array.h: Renamed from Source/WTF/wtf/Int8Array.h.
(JSC::Int8Array::getType):
(JSC::Int8Array::create):
(JSC::Int8Array::createUninitialized):
(JSC::Int8Array::Int8Array):
(JSC::Int8Array::subarray):
* runtime/IntegralTypedArrayBase.h: Renamed from Source/WTF/wtf/IntegralTypedArrayBase.h.
(JSC::IntegralTypedArrayBase::set):
(JSC::IntegralTypedArrayBase::IntegralTypedArrayBase):
* runtime/TypedArrayBase.h: Renamed from Source/WTF/wtf/TypedArrayBase.h.
(JSC::TypedArrayBase::data):
(JSC::TypedArrayBase::set):
(JSC::TypedArrayBase::setRange):
(JSC::TypedArrayBase::zeroRange):
(JSC::TypedArrayBase::length):
(JSC::TypedArrayBase::byteLength):
(JSC::TypedArrayBase::item):
(JSC::TypedArrayBase::checkInboundData):
(JSC::TypedArrayBase::TypedArrayBase):
(JSC::TypedArrayBase::create):
(JSC::TypedArrayBase::createUninitialized):
(JSC::TypedArrayBase::subarrayImpl):
(JSC::TypedArrayBase::neuter):
* runtime/Uint16Array.h: Renamed from Source/WTF/wtf/Uint16Array.h.
(JSC::Uint16Array::getType):
(JSC::Uint16Array::create):
(JSC::Uint16Array::createUninitialized):
(JSC::Uint16Array::Uint16Array):
(JSC::Uint16Array::subarray):
* runtime/Uint32Array.h: Renamed from Source/WTF/wtf/Uint32Array.h.
(JSC::Uint32Array::getType):
(JSC::Uint32Array::create):
(JSC::Uint32Array::createUninitialized):
(JSC::Uint32Array::Uint32Array):
(JSC::Uint32Array::subarray):
* runtime/Uint8Array.h: Renamed from Source/WTF/wtf/Uint8Array.h.
(JSC::Uint8Array::getType):
(JSC::Uint8Array::create):
(JSC::Uint8Array::createUninitialized):
(JSC::Uint8Array::Uint8Array):
(JSC::Uint8Array::subarray):
* runtime/Uint8ClampedArray.h: Renamed from Source/WTF/wtf/Uint8ClampedArray.h.
(JSC::Uint8ClampedArray::getType):
(JSC::Uint8ClampedArray::create):
(JSC::Uint8ClampedArray::createUninitialized):
(JSC::Uint8ClampedArray::zeroFill):
(JSC::Uint8ClampedArray::set):
(JSC::Uint8ClampedArray::Uint8ClampedArray):
(JSC::Uint8ClampedArray::subarray):
* runtime/VM.h:
Source/WebCore:
Update WebCore for new location of TypedArray implementation.
* ForwardingHeaders/runtime/ArrayBuffer.h: Added.
* ForwardingHeaders/runtime/ArrayBufferView.h: Added.
* ForwardingHeaders/runtime/Float32Array.h: Added.
* ForwardingHeaders/runtime/Float64Array.h: Added.
* ForwardingHeaders/runtime/Int16Array.h: Added.
* ForwardingHeaders/runtime/Int32Array.h: Added.
* ForwardingHeaders/runtime/Int8Array.h: Added.
* ForwardingHeaders/runtime/IntegralTypedArrayBase.h: Added.
* ForwardingHeaders/runtime/TypedArrayBase.h: Added.
* ForwardingHeaders/runtime/Uint16Array.h: Added.
* ForwardingHeaders/runtime/Uint32Array.h: Added.
* ForwardingHeaders/runtime/Uint8Array.h: Added.
* ForwardingHeaders/runtime/Uint8ClampedArray.h: Added.
* Modules/webaudio/AnalyserNode.h:
(WebCore::AnalyserNode::getFloatFrequencyData):
(WebCore::AnalyserNode::getByteFrequencyData):
(WebCore::AnalyserNode::getByteTimeDomainData):
* Modules/webaudio/AsyncAudioDecoder.cpp:
* Modules/webaudio/AsyncAudioDecoder.h:
(WebCore::AsyncAudioDecoder::DecodingTask::audioData):
* Modules/webaudio/AudioBuffer.h:
* Modules/webaudio/AudioContext.cpp:
* Modules/webaudio/AudioParam.h:
* Modules/webaudio/AudioParamTimeline.h:
* Modules/webaudio/PeriodicWave.h:
* Modules/webaudio/RealtimeAnalyser.cpp:
* Modules/webaudio/RealtimeAnalyser.h:
* Modules/webaudio/ScriptProcessorNode.cpp:
* Modules/webaudio/WaveShaperProcessor.h:
* Modules/websockets/ThreadableWebSocketChannel.h:
* Modules/websockets/WebSocket.cpp:
* Modules/websockets/WebSocket.h:
* Modules/websockets/WebSocketChannel.cpp:
* Modules/websockets/WebSocketChannel.h:
* Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
* Modules/websockets/WorkerThreadableWebSocketChannel.h:
* WebCore.exp.in:
* bindings/js/JSArrayBufferCustom.cpp:
* bindings/js/JSArrayBufferViewHelper.h:
* bindings/js/JSAudioContextCustom.cpp:
* bindings/js/JSCryptoCustom.cpp:
* bindings/js/JSDictionary.h:
* bindings/js/JSFileReaderCustom.cpp:
* bindings/js/JSWebGLRenderingContextCustom.cpp:
* bindings/js/JSXMLHttpRequestCustom.cpp:
* bindings/js/SerializedScriptValue.cpp:
(WebCore::SerializedScriptValue::transferArrayBuffers):
* bindings/js/SerializedScriptValue.h:
* bindings/scripts/CodeGeneratorJS.pm:
(AddIncludesForType):
(GenerateHeader):
(NativeToJSValue):
* dom/MessageEvent.h:
* fileapi/FileReader.cpp:
* fileapi/FileReader.h:
* fileapi/FileReaderLoader.cpp:
* fileapi/FileReaderLoader.h:
* fileapi/FileReaderSync.cpp:
* fileapi/FileReaderSync.h:
* fileapi/WebKitBlobBuilder.cpp:
* fileapi/WebKitBlobBuilder.h:
* html/HTMLMediaElement.cpp:
* html/ImageData.h:
* html/canvas/ArrayBuffer.idl:
* html/canvas/ArrayBufferView.idl:
* html/canvas/CanvasRenderingContext2D.cpp:
* html/canvas/DataView.h:
* html/canvas/Float32Array.idl:
* html/canvas/Float64Array.idl:
* html/canvas/Int16Array.idl:
* html/canvas/Int32Array.idl:
* html/canvas/Int8Array.idl:
* html/canvas/Uint16Array.idl:
* html/canvas/Uint32Array.idl:
* html/canvas/Uint8Array.idl:
* html/canvas/Uint8ClampedArray.idl:
* html/canvas/WebGLBuffer.h:
(WebCore::WebGLBuffer::elementArrayBuffer):
* html/canvas/WebGLGetInfo.cpp:
* html/canvas/WebGLGetInfo.h:
* html/canvas/WebGLRenderingContext.cpp:
* html/canvas/WebGLRenderingContext.h:
* inspector/InspectorMemoryAgent.cpp:
* page/Crypto.cpp:
* page/Crypto.h:
* platform/graphics/GraphicsContext3D.cpp:
* platform/graphics/ImageBuffer.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
* platform/graphics/cg/ImageBufferDataCG.h:
* platform/graphics/filters/FEBlend.cpp:
* platform/graphics/filters/FEColorMatrix.cpp:
* platform/graphics/filters/FEComponentTransfer.cpp:
* platform/graphics/filters/FEComposite.cpp:
* platform/graphics/filters/FEConvolveMatrix.cpp:
* platform/graphics/filters/FECustomFilter.cpp:
* platform/graphics/filters/FEDisplacementMap.cpp:
* platform/graphics/filters/FEDropShadow.cpp:
* platform/graphics/filters/FEGaussianBlur.cpp:
* platform/graphics/filters/FELighting.h:
* platform/graphics/filters/FEMorphology.cpp:
* platform/graphics/filters/FETurbulence.cpp:
* platform/graphics/filters/FilterEffect.cpp:
* platform/graphics/filters/FilterEffect.h:
* platform/graphics/mac/GraphicsContext3DMac.mm:
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
* testing/Internals.h:
* xml/XMLHttpRequest.cpp:
* xml/XMLHttpRequest.h:
(WebCore::XMLHttpRequest::optionalResponseArrayBuffer):
Source/WTF:
Remove TypedArray implementation from WTF
* GNUmakefile.list.am:
* WTF.xcodeproj/project.pbxproj:
* wtf/Forward.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@153728
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
profiler/ProfileNode.cpp
profiler/LegacyProfiler.cpp
+ runtime/ArrayBuffer.cpp
+ runtime/ArrayBufferView.cpp
runtime/ArgList.cpp
runtime/Arguments.cpp
runtime/ArrayConstructor.cpp
+2013-08-05 Oliver Hunt <oliver@apple.com>
+
+ Move TypedArray implementation into JSC
+ https://bugs.webkit.org/show_bug.cgi?id=119489
+
+ Reviewed by Filip Pizlo.
+
+ Move TypedArray implementation into JSC in advance of re-implementation
+
+ * GNUmakefile.list.am:
+ * JSCTypedArrayStubs.h:
+ * JavaScriptCore.xcodeproj/project.pbxproj:
+ * runtime/ArrayBuffer.cpp: Renamed from Source/WTF/wtf/ArrayBuffer.cpp.
+ (JSC::ArrayBuffer::transfer):
+ (JSC::ArrayBuffer::addView):
+ (JSC::ArrayBuffer::removeView):
+ * runtime/ArrayBuffer.h: Renamed from Source/WTF/wtf/ArrayBuffer.h.
+ (JSC::ArrayBufferContents::ArrayBufferContents):
+ (JSC::ArrayBufferContents::data):
+ (JSC::ArrayBufferContents::sizeInBytes):
+ (JSC::ArrayBufferContents::transfer):
+ (JSC::ArrayBufferContents::copyTo):
+ (JSC::ArrayBuffer::isNeutered):
+ (JSC::ArrayBuffer::~ArrayBuffer):
+ (JSC::ArrayBuffer::clampValue):
+ (JSC::ArrayBuffer::create):
+ (JSC::ArrayBuffer::createUninitialized):
+ (JSC::ArrayBuffer::ArrayBuffer):
+ (JSC::ArrayBuffer::data):
+ (JSC::ArrayBuffer::byteLength):
+ (JSC::ArrayBuffer::slice):
+ (JSC::ArrayBuffer::sliceImpl):
+ (JSC::ArrayBuffer::clampIndex):
+ (JSC::ArrayBufferContents::tryAllocate):
+ (JSC::ArrayBufferContents::~ArrayBufferContents):
+ * runtime/ArrayBufferView.cpp: Renamed from Source/WTF/wtf/ArrayBufferView.cpp.
+ (JSC::ArrayBufferView::ArrayBufferView):
+ (JSC::ArrayBufferView::~ArrayBufferView):
+ (JSC::ArrayBufferView::neuter):
+ * runtime/ArrayBufferView.h: Renamed from Source/WTF/wtf/ArrayBufferView.h.
+ (JSC::ArrayBufferView::buffer):
+ (JSC::ArrayBufferView::baseAddress):
+ (JSC::ArrayBufferView::byteOffset):
+ (JSC::ArrayBufferView::setNeuterable):
+ (JSC::ArrayBufferView::isNeuterable):
+ (JSC::ArrayBufferView::verifySubRange):
+ (JSC::ArrayBufferView::clampOffsetAndNumElements):
+ (JSC::ArrayBufferView::setImpl):
+ (JSC::ArrayBufferView::setRangeImpl):
+ (JSC::ArrayBufferView::zeroRangeImpl):
+ (JSC::ArrayBufferView::calculateOffsetAndLength):
+ * runtime/Float32Array.h: Renamed from Source/WTF/wtf/Float32Array.h.
+ (JSC::Float32Array::set):
+ (JSC::Float32Array::getType):
+ (JSC::Float32Array::create):
+ (JSC::Float32Array::createUninitialized):
+ (JSC::Float32Array::Float32Array):
+ (JSC::Float32Array::subarray):
+ * runtime/Float64Array.h: Renamed from Source/WTF/wtf/Float64Array.h.
+ (JSC::Float64Array::set):
+ (JSC::Float64Array::getType):
+ (JSC::Float64Array::create):
+ (JSC::Float64Array::createUninitialized):
+ (JSC::Float64Array::Float64Array):
+ (JSC::Float64Array::subarray):
+ * runtime/Int16Array.h: Renamed from Source/WTF/wtf/Int16Array.h.
+ (JSC::Int16Array::getType):
+ (JSC::Int16Array::create):
+ (JSC::Int16Array::createUninitialized):
+ (JSC::Int16Array::Int16Array):
+ (JSC::Int16Array::subarray):
+ * runtime/Int32Array.h: Renamed from Source/WTF/wtf/Int32Array.h.
+ (JSC::Int32Array::getType):
+ (JSC::Int32Array::create):
+ (JSC::Int32Array::createUninitialized):
+ (JSC::Int32Array::Int32Array):
+ (JSC::Int32Array::subarray):
+ * runtime/Int8Array.h: Renamed from Source/WTF/wtf/Int8Array.h.
+ (JSC::Int8Array::getType):
+ (JSC::Int8Array::create):
+ (JSC::Int8Array::createUninitialized):
+ (JSC::Int8Array::Int8Array):
+ (JSC::Int8Array::subarray):
+ * runtime/IntegralTypedArrayBase.h: Renamed from Source/WTF/wtf/IntegralTypedArrayBase.h.
+ (JSC::IntegralTypedArrayBase::set):
+ (JSC::IntegralTypedArrayBase::IntegralTypedArrayBase):
+ * runtime/TypedArrayBase.h: Renamed from Source/WTF/wtf/TypedArrayBase.h.
+ (JSC::TypedArrayBase::data):
+ (JSC::TypedArrayBase::set):
+ (JSC::TypedArrayBase::setRange):
+ (JSC::TypedArrayBase::zeroRange):
+ (JSC::TypedArrayBase::length):
+ (JSC::TypedArrayBase::byteLength):
+ (JSC::TypedArrayBase::item):
+ (JSC::TypedArrayBase::checkInboundData):
+ (JSC::TypedArrayBase::TypedArrayBase):
+ (JSC::TypedArrayBase::create):
+ (JSC::TypedArrayBase::createUninitialized):
+ (JSC::TypedArrayBase::subarrayImpl):
+ (JSC::TypedArrayBase::neuter):
+ * runtime/Uint16Array.h: Renamed from Source/WTF/wtf/Uint16Array.h.
+ (JSC::Uint16Array::getType):
+ (JSC::Uint16Array::create):
+ (JSC::Uint16Array::createUninitialized):
+ (JSC::Uint16Array::Uint16Array):
+ (JSC::Uint16Array::subarray):
+ * runtime/Uint32Array.h: Renamed from Source/WTF/wtf/Uint32Array.h.
+ (JSC::Uint32Array::getType):
+ (JSC::Uint32Array::create):
+ (JSC::Uint32Array::createUninitialized):
+ (JSC::Uint32Array::Uint32Array):
+ (JSC::Uint32Array::subarray):
+ * runtime/Uint8Array.h: Renamed from Source/WTF/wtf/Uint8Array.h.
+ (JSC::Uint8Array::getType):
+ (JSC::Uint8Array::create):
+ (JSC::Uint8Array::createUninitialized):
+ (JSC::Uint8Array::Uint8Array):
+ (JSC::Uint8Array::subarray):
+ * runtime/Uint8ClampedArray.h: Renamed from Source/WTF/wtf/Uint8ClampedArray.h.
+ (JSC::Uint8ClampedArray::getType):
+ (JSC::Uint8ClampedArray::create):
+ (JSC::Uint8ClampedArray::createUninitialized):
+ (JSC::Uint8ClampedArray::zeroFill):
+ (JSC::Uint8ClampedArray::set):
+ (JSC::Uint8ClampedArray::Uint8ClampedArray):
+ (JSC::Uint8ClampedArray::subarray):
+ * runtime/VM.h:
+
2013-08-03 Filip Pizlo <fpizlo@apple.com>
Copied space should be able to handle more than one copied backing store per JSCell
DerivedSources/JavaScriptCore/LLIntAssembly.h
javascriptcore_sources += \
- Source/JavaScriptCore/API/APICallbackFunction.h \
+ Source/JavaScriptCore/API/APICallbackFunction.h \
Source/JavaScriptCore/API/APICast.h \
Source/JavaScriptCore/API/APIShims.h \
Source/JavaScriptCore/API/JSAPIWrapperObject.h \
Source/JavaScriptCore/runtime/ArgList.h \
Source/JavaScriptCore/runtime/Arguments.cpp \
Source/JavaScriptCore/runtime/Arguments.h \
+ Source/JavaScriptCore/runtime/ArrayBuffer.cpp \
+ Source/JavaScriptCore/runtime/ArrayBuffer.h \
+ Source/JavaScriptCore/runtime/ArrayBufferView.cpp \
+ Source/JavaScriptCore/runtime/ArrayBufferView.h \
Source/JavaScriptCore/runtime/ArrayConstructor.cpp \
Source/JavaScriptCore/runtime/ArrayConstructor.h \
Source/JavaScriptCore/runtime/ArrayConventions.h \
Source/JavaScriptCore/runtime/Executable.cpp \
Source/JavaScriptCore/runtime/Executable.h \
Source/JavaScriptCore/runtime/ExecutionHarness.h \
+ Source/JavaScriptCore/runtime/Float32Array.h \
+ Source/JavaScriptCore/runtime/Float64Array.h \
Source/JavaScriptCore/runtime/FunctionConstructor.cpp \
Source/JavaScriptCore/runtime/FunctionConstructor.h \
Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp \
Source/JavaScriptCore/runtime/IndexingType.h \
Source/JavaScriptCore/runtime/InitializeThreading.cpp \
Source/JavaScriptCore/runtime/InitializeThreading.h \
+ Source/JavaScriptCore/runtime/Int16Array.h \
+ Source/JavaScriptCore/runtime/Int32Array.h \
+ Source/JavaScriptCore/runtime/Int8Array.h \
+ Source/JavaScriptCore/runtime/IntegralTypedArrayBase.h \
Source/JavaScriptCore/runtime/IntendedStructureChain.cpp \
Source/JavaScriptCore/runtime/IntendedStructureChain.h \
Source/JavaScriptCore/runtime/InternalFunction.cpp \
Source/JavaScriptCore/runtime/SymbolTable.cpp \
Source/JavaScriptCore/runtime/SymbolTable.h \
Source/JavaScriptCore/runtime/Tracing.h \
+ Source/JavaScriptCore/runtime/TypedArrayBase.h \
Source/JavaScriptCore/runtime/TypedArrayDescriptor.h \
+ Source/JavaScriptCore/runtime/Uint16Array.h \
Source/JavaScriptCore/runtime/Uint16WithFraction.h \
+ Source/JavaScriptCore/runtime/Uint32Array.h \
+ Source/JavaScriptCore/runtime/Uint8Array.h \
+ Source/JavaScriptCore/runtime/Uint8ClampedArray.h \
Source/JavaScriptCore/runtime/VMStackBounds.h \
Source/JavaScriptCore/runtime/Watchdog.cpp \
Source/JavaScriptCore/runtime/Watchdog.h \
#ifndef JSCTypedArrayStubs_h
#define JSCTypedArrayStubs_h
+#include "Float32Array.h"
+#include "Float64Array.h"
+#include "Int16Array.h"
+#include "Int32Array.h"
+#include "Int8Array.h"
#include "JSDestructibleObject.h"
#include "ObjectPrototype.h"
#include "Operations.h"
-#include <wtf/Float32Array.h>
-#include <wtf/Float64Array.h>
+#include "Uint16Array.h"
+#include "Uint32Array.h"
+#include "Uint8Array.h"
+#include "Uint8ClampedArray.h"
+
#include <wtf/Forward.h>
-#include <wtf/Int16Array.h>
-#include <wtf/Int32Array.h>
-#include <wtf/Int8Array.h>
-#include <wtf/Uint16Array.h>
-#include <wtf/Uint32Array.h>
-#include <wtf/Uint8Array.h>
-#include <wtf/Uint8ClampedArray.h>
namespace JSC {
<ClCompile Include="..\profiler\ProfilerOSRExit.cpp" />\r
<ClCompile Include="..\profiler\ProfilerOSRExitSite.cpp" />\r
<ClCompile Include="..\profiler\ProfilerProfiledBytecodes.cpp" />\r
+ <ClCompile Include="..\runtime\ArrayBuffer.cpp" />\r
+ <ClCompile Include="..\runtime\ArrayBufferView.cpp" />\r
<ClCompile Include="..\runtime\ArgList.cpp" />\r
<ClCompile Include="..\runtime\Arguments.cpp" />\r
<ClCompile Include="..\runtime\ArrayConstructor.cpp" />\r
<ClInclude Include="..\profiler\ProfilerOSRExit.h" />\r
<ClInclude Include="..\profiler\ProfilerOSRExitSite.h" />\r
<ClInclude Include="..\profiler\ProfilerProfiledBytecodes.h" />\r
+ <ClInclude Include="..\runtime\ArrayBuffer.h" />\r
+ <ClInclude Include="..\runtime\ArrayBufferView.h" />\r
<ClInclude Include="..\runtime\ArgList.h" />\r
<ClInclude Include="..\runtime\Arguments.h" />\r
<ClInclude Include="..\runtime\ArrayConstructor.h" />\r
<ClInclude Include="..\runtime\ExceptionHelpers.h" />\r
<ClInclude Include="..\runtime\Executable.h" />\r
<ClInclude Include="..\runtime\ExecutionHarness.h" />\r
+ <ClInclude Include="..\runtime\Float32Array.h" />\r
+ <ClInclude Include="..\runtime\Float64Array.h" />\r
<ClInclude Include="..\runtime\FunctionConstructor.h" />\r
<ClInclude Include="..\runtime\FunctionPrototype.h" />\r
<ClInclude Include="..\runtime\GCActivityCallback.h" />\r
<ClInclude Include="..\runtime\IndexingHeaderInlines.h" />\r
<ClInclude Include="..\runtime\IndexingType.h" />\r
<ClInclude Include="..\runtime\InitializeThreading.h" />\r
+ <ClInclude Include="..\runtime\Int16Array.h" />\r
+ <ClInclude Include="..\runtime\Int32Array.h" />\r
+ <ClInclude Include="..\runtime\Int8Array.h" />\r
<ClInclude Include="..\runtime\IntendedStructureChain.h" />\r
<ClInclude Include="..\runtime\InternalFunction.h" />\r
<ClInclude Include="..\runtime\Intrinsic.h" />\r
<ClInclude Include="..\runtime\SymbolTable.h" />\r
<ClInclude Include="..\runtime\Tracing.h" />\r
<ClInclude Include="..\runtime\TypedArrayDescriptor.h" />\r
+ <ClInclude Include="..\runtime\Uint16Array.h" />\r
<ClInclude Include="..\runtime\Uint16WithFraction.h" />\r
+ <ClInclude Include="..\runtime\Uint32Array.h" />\r
+ <ClInclude Include="..\runtime\Uint8Array.h" />\r
<ClInclude Include="..\runtime\VM.h" />\r
<ClInclude Include="..\runtime\Watchdog.h" />\r
<ClInclude Include="..\runtime\WeakGCMap.h" />\r
<ClCompile Include="..\profiler\ProfilerProfiledBytecodes.cpp">\r
<Filter>profiler</Filter>\r
</ClCompile>\r
+ <ClCompile Include="..\runtime\ArrayBuffer.cpp">\r
+ <Filter>runtime</Filter>\r
+ </ClCompile>\r
+ <ClCompile Include="..\runtime\ArrayBufferView.cpp">\r
+ <Filter>runtime</Filter>\r
+ </ClCompile>\r
<ClCompile Include="..\runtime\ArgList.cpp">\r
<Filter>runtime</Filter>\r
</ClCompile>\r
<ClInclude Include="..\profiler\ProfilerProfiledBytecodes.h">\r
<Filter>profiler</Filter>\r
</ClInclude>\r
+ <ClInclude Include="..\runtime\ArrayBuffer.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\ArrayBufferView.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\Float32Array.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\Float64Array.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\Int16Array.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\Int32Array.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\Int8Array.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\Uint16Array.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\Uint32Array.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
+ <ClInclude Include="..\runtime\Uint8Array.h">\r
+ <Filter>wtf</Filter>\r
+ </ClInclude>\r
<ClInclude Include="..\runtime\ArgList.h">\r
<Filter>runtime</Filter>\r
</ClInclude>\r
A7A4AE0D17973B4D005612B1 /* JITStubsMIPS.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A4AE0917973B4D005612B1 /* JITStubsMIPS.h */; };
A7A4AE0F17973B4D005612B1 /* JITStubsSH4.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A4AE0B17973B4D005612B1 /* JITStubsSH4.h */; };
A7A4AE1017973B4D005612B1 /* JITStubsX86Common.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A4AE0C17973B4D005612B1 /* JITStubsX86Common.h */; };
+ A7A8AF3417ADB5F3005AB174 /* ArrayBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7A8AF2517ADB5F2005AB174 /* ArrayBuffer.cpp */; };
+ A7A8AF3517ADB5F3005AB174 /* ArrayBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2617ADB5F3005AB174 /* ArrayBuffer.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3617ADB5F3005AB174 /* ArrayBufferView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7A8AF2717ADB5F3005AB174 /* ArrayBufferView.cpp */; };
+ A7A8AF3717ADB5F3005AB174 /* ArrayBufferView.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2817ADB5F3005AB174 /* ArrayBufferView.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3817ADB5F3005AB174 /* Float32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2917ADB5F3005AB174 /* Float32Array.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3917ADB5F3005AB174 /* Float64Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2A17ADB5F3005AB174 /* Float64Array.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3A17ADB5F3005AB174 /* Int8Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2B17ADB5F3005AB174 /* Int8Array.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3B17ADB5F3005AB174 /* Int16Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2C17ADB5F3005AB174 /* Int16Array.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3C17ADB5F3005AB174 /* Int32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2D17ADB5F3005AB174 /* Int32Array.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3D17ADB5F3005AB174 /* IntegralTypedArrayBase.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2E17ADB5F3005AB174 /* IntegralTypedArrayBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3E17ADB5F3005AB174 /* TypedArrayBase.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF2F17ADB5F3005AB174 /* TypedArrayBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF3F17ADB5F3005AB174 /* Uint8Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF3017ADB5F3005AB174 /* Uint8Array.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF4017ADB5F3005AB174 /* Uint8ClampedArray.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF3117ADB5F3005AB174 /* Uint8ClampedArray.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF4117ADB5F3005AB174 /* Uint16Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF3217ADB5F3005AB174 /* Uint16Array.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ A7A8AF4217ADB5F3005AB174 /* Uint32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A8AF3317ADB5F3005AB174 /* Uint32Array.h */; settings = {ATTRIBUTES = (Private, ); }; };
A7B48F490EE8936F00DCBDB6 /* ExecutableAllocator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7B48DB60EE74CFC00DCBDB6 /* ExecutableAllocator.cpp */; };
A7B4ACAF1484C9CE00B38A36 /* JSExportMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B4ACAE1484C9CE00B38A36 /* JSExportMacros.h */; settings = {ATTRIBUTES = (Private, ); }; };
A7B601821639FD2A00372BA3 /* UnlinkedCodeBlock.h in Headers */ = {isa = PBXBuildFile; fileRef = A79E781F15EECBA80047C855 /* UnlinkedCodeBlock.h */; settings = {ATTRIBUTES = (Private, ); }; };
A7A4AE0C17973B4D005612B1 /* JITStubsX86Common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JITStubsX86Common.h; sourceTree = "<group>"; };
A7A7EE7411B98B8D0065A14F /* ASTBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASTBuilder.h; sourceTree = "<group>"; };
A7A7EE7711B98B8D0065A14F /* SyntaxChecker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SyntaxChecker.h; sourceTree = "<group>"; };
+ A7A8AF2517ADB5F2005AB174 /* ArrayBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ArrayBuffer.cpp; sourceTree = "<group>"; };
+ A7A8AF2617ADB5F3005AB174 /* ArrayBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArrayBuffer.h; sourceTree = "<group>"; };
+ A7A8AF2717ADB5F3005AB174 /* ArrayBufferView.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ArrayBufferView.cpp; sourceTree = "<group>"; };
+ A7A8AF2817ADB5F3005AB174 /* ArrayBufferView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArrayBufferView.h; sourceTree = "<group>"; };
+ A7A8AF2917ADB5F3005AB174 /* Float32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Float32Array.h; sourceTree = "<group>"; };
+ A7A8AF2A17ADB5F3005AB174 /* Float64Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Float64Array.h; sourceTree = "<group>"; };
+ A7A8AF2B17ADB5F3005AB174 /* Int8Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Int8Array.h; sourceTree = "<group>"; };
+ A7A8AF2C17ADB5F3005AB174 /* Int16Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Int16Array.h; sourceTree = "<group>"; };
+ A7A8AF2D17ADB5F3005AB174 /* Int32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Int32Array.h; sourceTree = "<group>"; };
+ A7A8AF2E17ADB5F3005AB174 /* IntegralTypedArrayBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IntegralTypedArrayBase.h; sourceTree = "<group>"; };
+ A7A8AF2F17ADB5F3005AB174 /* TypedArrayBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TypedArrayBase.h; sourceTree = "<group>"; };
+ A7A8AF3017ADB5F3005AB174 /* Uint8Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uint8Array.h; sourceTree = "<group>"; };
+ A7A8AF3117ADB5F3005AB174 /* Uint8ClampedArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uint8ClampedArray.h; sourceTree = "<group>"; };
+ A7A8AF3217ADB5F3005AB174 /* Uint16Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uint16Array.h; sourceTree = "<group>"; };
+ A7A8AF3317ADB5F3005AB174 /* Uint32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uint32Array.h; sourceTree = "<group>"; };
A7B48DB50EE74CFC00DCBDB6 /* ExecutableAllocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExecutableAllocator.h; sourceTree = "<group>"; };
A7B48DB60EE74CFC00DCBDB6 /* ExecutableAllocator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ExecutableAllocator.cpp; sourceTree = "<group>"; };
A7B4ACAE1484C9CE00B38A36 /* JSExportMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSExportMacros.h; sourceTree = "<group>"; };
034768DFFF38A50411DB9C8B /* Products */ = {
isa = PBXGroup;
children = (
+ 0FF922CF14F46B130041A24E /* JSCLLIntOffsetsExtractor */,
932F5BD90822A1C700736975 /* JavaScriptCore.framework */,
932F5BE10822A1C700736975 /* jsc */,
- 0FF922CF14F46B130041A24E /* JSCLLIntOffsetsExtractor */,
141211200A48793C00480255 /* minidom */,
14BD59BF0A3E8F9000BAF59C /* testapi */,
6511230514046A4C002B101D /* testRegExp */,
7EF6E0BB0EB7A1EC0079AFAF /* runtime */ = {
isa = PBXGroup;
children = (
- 6553A32F17A1F1EE008CF6F3 /* CommonSlowPathsExceptions.cpp */,
- 6553A33017A1F1EE008CF6F3 /* CommonSlowPathsExceptions.h */,
BCF605110E203EF800B9A64D /* ArgList.cpp */,
BCF605120E203EF800B9A64D /* ArgList.h */,
BC257DE50E1F51C50016B6C9 /* Arguments.cpp */,
BC257DE60E1F51C50016B6C9 /* Arguments.h */,
+ A7A8AF2517ADB5F2005AB174 /* ArrayBuffer.cpp */,
+ A7A8AF2617ADB5F3005AB174 /* ArrayBuffer.h */,
+ A7A8AF2717ADB5F3005AB174 /* ArrayBufferView.cpp */,
+ A7A8AF2817ADB5F3005AB174 /* ArrayBufferView.h */,
BC7952060E15E8A800A898AB /* ArrayConstructor.cpp */,
BC7952070E15E8A800A898AB /* ArrayConstructor.h */,
0FB7F38915ED8E3800F167B2 /* ArrayConventions.h */,
65EA73630BAE35D1001BB560 /* CommonIdentifiers.h */,
A709F2F117A0AC2A00512E98 /* CommonSlowPaths.cpp */,
0F15F15D14B7A73A005DE37D /* CommonSlowPaths.h */,
+ 6553A32F17A1F1EE008CF6F3 /* CommonSlowPathsExceptions.cpp */,
+ 6553A33017A1F1EE008CF6F3 /* CommonSlowPathsExceptions.h */,
A7E5A3A51797432D00E893C0 /* CompilationResult.cpp */,
A7E5A3A61797432D00E893C0 /* CompilationResult.h */,
969A09220ED1E09C00F1F681 /* Completion.cpp */,
86CA032D1038E8440028A609 /* Executable.cpp */,
86CAFEE21035DDE60028A609 /* Executable.h */,
0F21C27A14BE727300ADC64B /* ExecutionHarness.h */,
+ A7A8AF2917ADB5F3005AB174 /* Float32Array.h */,
+ A7A8AF2A17ADB5F3005AB174 /* Float64Array.h */,
BC2680C00E16D4E900A06E92 /* FunctionConstructor.cpp */,
BC2680C10E16D4E900A06E92 /* FunctionConstructor.h */,
0FB4B52116B6278D003F696B /* FunctionExecutableDump.cpp */,
0FB7F38F15ED8E3800F167B2 /* IndexingType.h */,
E178636C0D9BEEC300D74E75 /* InitializeThreading.cpp */,
E178633F0D9BEC0000D74E75 /* InitializeThreading.h */,
+ A7A8AF2C17ADB5F3005AB174 /* Int16Array.h */,
+ A7A8AF2D17ADB5F3005AB174 /* Int32Array.h */,
+ A7A8AF2B17ADB5F3005AB174 /* Int8Array.h */,
+ A7A8AF2E17ADB5F3005AB174 /* IntegralTypedArrayBase.h */,
A78853F717972629001440E4 /* IntendedStructureChain.cpp */,
A78853F817972629001440E4 /* IntendedStructureChain.h */,
BC9BB95B0E19680600DF8855 /* InternalFunction.cpp */,
14A396A60CD2933100B5B4FF /* SymbolTable.h */,
5D53726D0E1C546B0021E549 /* Tracing.d */,
5D53726E0E1C54880021E549 /* Tracing.h */,
+ A7A8AF2F17ADB5F3005AB174 /* TypedArrayBase.h */,
0FEB3ECB16237F4700AB67AD /* TypedArrayDescriptor.h */,
+ A7A8AF3217ADB5F3005AB174 /* Uint16Array.h */,
866739D113BFDE710023D87C /* Uint16WithFraction.h */,
+ A7A8AF3317ADB5F3005AB174 /* Uint32Array.h */,
+ A7A8AF3017ADB5F3005AB174 /* Uint8Array.h */,
+ A7A8AF3117ADB5F3005AB174 /* Uint8ClampedArray.h */,
E18E3A570DF9278C00D90B34 /* VM.cpp */,
E18E3A560DF9278C00D90B34 /* VM.h */,
FE6617271774E03500495B00 /* VMStackBounds.h */,
86ADD1450FDDEA980006EEC2 /* ARMv7Assembler.h in Headers */,
65C0285D1717966800351E35 /* ARMv7DOpcode.h in Headers */,
0F8335B81639C1EA001443B5 /* ArrayAllocationProfile.h in Headers */,
+ A7A8AF3517ADB5F3005AB174 /* ArrayBuffer.h in Headers */,
+ A7A8AF3717ADB5F3005AB174 /* ArrayBufferView.h in Headers */,
BC18C3E60E16F5CD00B34460 /* ArrayConstructor.h in Headers */,
0FB7F39515ED8E4600F167B2 /* ArrayConventions.h in Headers */,
0F63945515D07057006A597C /* ArrayProfile.h in Headers */,
0F0B83A714BCF50700885B4F /* CodeType.h in Headers */,
BC18C3F30E16F5CD00B34460 /* CommonIdentifiers.h in Headers */,
0F15F15F14B7A73E005DE37D /* CommonSlowPaths.h in Headers */,
+ 6553A33217A1F1EE008CF6F3 /* CommonSlowPathsExceptions.h in Headers */,
0FD82E39141AB14D00179C94 /* CompactJITCodeMap.h in Headers */,
A7E5A3A81797432D00E893C0 /* CompilationResult.h in Headers */,
BC18C3F40E16F5CD00B34460 /* Completion.h in Headers */,
0F21C27C14BE727600ADC64B /* ExecutionHarness.h in Headers */,
0FB105861675481200F8AB6E /* ExitKind.h in Headers */,
0F0B83AB14BCF5BB00885B4F /* ExpressionRangeInfo.h in Headers */,
+ A7A8AF3817ADB5F3005AB174 /* Float32Array.h in Headers */,
+ A7A8AF3917ADB5F3005AB174 /* Float64Array.h in Headers */,
0FDB2CC9173DA520007B3C1B /* FTLAbbreviatedTypes.h in Headers */,
0FEA0A08170513DB00BB722C /* FTLAbbreviations.h in Headers */,
0FEA0A1D1708B00700BB722C /* FTLAbstractHeap.h in Headers */,
0FB7F39B15ED8E4600F167B2 /* IndexingType.h in Headers */,
BC18C4100E16F5CD00B34460 /* InitializeThreading.h in Headers */,
969A07990ED1D3AE00F1F681 /* Instruction.h in Headers */,
+ A7A8AF3B17ADB5F3005AB174 /* Int16Array.h in Headers */,
+ A7A8AF3C17ADB5F3005AB174 /* Int32Array.h in Headers */,
+ A7A8AF3A17ADB5F3005AB174 /* Int8Array.h in Headers */,
+ A7A8AF3D17ADB5F3005AB174 /* IntegralTypedArrayBase.h in Headers */,
A78853FA17972629001440E4 /* IntendedStructureChain.h in Headers */,
BC11667B0E199C05008066DD /* InternalFunction.h in Headers */,
1429D77C0ED20D7300B89619 /* Interpreter.h in Headers */,
E49DC16D12EF295300184A1F /* SourceProviderCacheItem.h in Headers */,
0FB7F39E15ED8E4600F167B2 /* SparseArrayValueMap.h in Headers */,
A7386554118697B400540279 /* SpecializedThunkJIT.h in Headers */,
- 6553A33217A1F1EE008CF6F3 /* CommonSlowPathsExceptions.h in Headers */,
0F5541B21613C1FB00CE3E25 /* SpecialPointer.h in Headers */,
0FD82E54141DAEEE00179C94 /* SpeculatedType.h in Headers */,
A7C1EAF217987AB600299DB2 /* StackIterator.h in Headers */,
A7386556118697B400540279 /* ThunkGenerators.h in Headers */,
141448CD13A1783700F5BA1A /* TinyBloomFilter.h in Headers */,
5D53726F0E1C54880021E549 /* Tracing.h in Headers */,
+ A7A8AF3E17ADB5F3005AB174 /* TypedArrayBase.h in Headers */,
0FEB3ECD16237F4D00AB67AD /* TypedArrayDescriptor.h in Headers */,
0FF4274B158EBE91004CB9FF /* udis86.h in Headers */,
0FF42741158EBE8D004CB9FF /* udis86_decode.h in Headers */,
0FF42748158EBE91004CB9FF /* udis86_syn.h in Headers */,
0FF42749158EBE91004CB9FF /* udis86_types.h in Headers */,
A7E5AB391799E4B200D2833D /* UDis86Disassembler.h in Headers */,
+ A7A8AF4117ADB5F3005AB174 /* Uint16Array.h in Headers */,
866739D313BFDE710023D87C /* Uint16WithFraction.h in Headers */,
+ A7A8AF4217ADB5F3005AB174 /* Uint32Array.h in Headers */,
+ A7A8AF3F17ADB5F3005AB174 /* Uint8Array.h in Headers */,
+ A7A8AF4017ADB5F3005AB174 /* Uint8ClampedArray.h in Headers */,
0F5F08CF146C7633000472A9 /* UnconditionalFinalizer.h in Headers */,
A7B601821639FD2A00372BA3 /* UnlinkedCodeBlock.h in Headers */,
0F2E892C16D028AD009E4FD2 /* UnusedPointer.h in Headers */,
65C02850171795E200351E35 /* ARMv7Disassembler.cpp in Sources */,
65C0285C1717966800351E35 /* ARMv7DOpcode.cpp in Sources */,
0F8335B71639C1E6001443B5 /* ArrayAllocationProfile.cpp in Sources */,
+ A7A8AF3417ADB5F3005AB174 /* ArrayBuffer.cpp in Sources */,
+ A7A8AF3617ADB5F3005AB174 /* ArrayBufferView.cpp in Sources */,
147F39BF107EC37600427A48 /* ArrayConstructor.cpp in Sources */,
0F63945415D07055006A597C /* ArrayProfile.cpp in Sources */,
147F39C0107EC37600427A48 /* ArrayPrototype.cpp in Sources */,
0F8F94421667633500D61971 /* CodeType.cpp in Sources */,
147F39C1107EC37600427A48 /* CommonIdentifiers.cpp in Sources */,
A709F2F217A0AC2A00512E98 /* CommonSlowPaths.cpp in Sources */,
+ 6553A33117A1F1EE008CF6F3 /* CommonSlowPathsExceptions.cpp in Sources */,
A7E5A3A71797432D00E893C0 /* CompilationResult.cpp in Sources */,
147F39C2107EC37600427A48 /* Completion.cpp in Sources */,
146B16D812EB5B59001BEC1B /* ConservativeRoots.cpp in Sources */,
0FF729AF166AD35C000F5BA3 /* ProfilerCompilation.cpp in Sources */,
0FF729B0166AD35C000F5BA3 /* ProfilerCompilationKind.cpp in Sources */,
0FF729B1166AD35C000F5BA3 /* ProfilerCompiledBytecode.cpp in Sources */,
- 6553A33117A1F1EE008CF6F3 /* CommonSlowPathsExceptions.cpp in Sources */,
0FF729B2166AD35C000F5BA3 /* ProfilerDatabase.cpp in Sources */,
0FF729B3166AD35C000F5BA3 /* ProfilerOrigin.cpp in Sources */,
0FF729B4166AD35C000F5BA3 /* ProfilerOriginStack.cpp in Sources */,
profiler/ProfileGenerator.cpp \
profiler/ProfileNode.cpp \
profiler/LegacyProfiler.cpp \
+ runtime/ArrayBuffer.cpp \
+ runtime/ArrayBufferView.cpp \
runtime/ArgList.cpp \
runtime/Arguments.cpp \
runtime/ArrayConstructor.cpp \
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
-namespace WTF {
+namespace JSC {
bool ArrayBuffer::transfer(ArrayBufferContents& result, Vector<RefPtr<ArrayBufferView> >& neuteredViews)
{
#include <wtf/RefCounted.h>
#include <wtf/Vector.h>
-namespace WTF {
+namespace JSC {
class ArrayBuffer;
class ArrayBufferView;
WTF::fastFree(m_data);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::ArrayBuffer;
+using JSC::ArrayBuffer;
+using JSC::ArrayBufferContents;
#endif // ArrayBuffer_h
#include "ArrayBuffer.h"
-namespace WTF {
+namespace JSC {
-ArrayBufferView::ArrayBufferView(PassRefPtr<ArrayBuffer> buffer,
- unsigned byteOffset)
- : m_byteOffset(byteOffset)
- , m_isNeuterable(true)
- , m_buffer(buffer)
- , m_prevView(0)
- , m_nextView(0)
+ArrayBufferView::ArrayBufferView(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset)
+ : m_byteOffset(byteOffset)
+ , m_isNeuterable(true)
+ , m_buffer(buffer)
+ , m_prevView(0)
+ , m_nextView(0)
{
m_baseAddress = m_buffer ? (static_cast<char*>(m_buffer->data()) + m_byteOffset) : 0;
if (m_buffer)
#ifndef ArrayBufferView_h
#define ArrayBufferView_h
-#include <wtf/ArrayBuffer.h>
+#include "ArrayBuffer.h"
#include <algorithm>
#include <limits.h>
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
-namespace WTF {
+namespace JSC {
class ArrayBufferView : public RefCounted<ArrayBufferView> {
- public:
+public:
enum ViewType {
TypeInt8,
TypeUint8,
WTF_EXPORT_PRIVATE virtual ~ArrayBufferView();
- protected:
+protected:
WTF_EXPORT_PRIVATE ArrayBufferView(PassRefPtr<ArrayBuffer>, unsigned byteOffset);
inline bool setImpl(ArrayBufferView*, unsigned byteOffset);
inline bool zeroRangeImpl(unsigned byteOffset, size_t rangeByteLength);
- static inline void calculateOffsetAndLength(int start, int end, unsigned arraySize,
- unsigned* offset, unsigned* length);
+ static inline void calculateOffsetAndLength(int start, int end, unsigned arraySize, unsigned* offset, unsigned* length);
// Helper to verify that a given sub-range of an ArrayBuffer is
// within range.
template <typename T>
- static bool verifySubRange(PassRefPtr<ArrayBuffer> buffer,
- unsigned byteOffset,
- unsigned numElements)
+ static bool verifySubRange(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned numElements)
{
if (!buffer)
return false;
// Input offset is in number of elements from this array's view;
// output offset is in number of bytes from the underlying buffer's view.
template <typename T>
- static void clampOffsetAndNumElements(PassRefPtr<ArrayBuffer> buffer,
- unsigned arrayByteOffset,
- unsigned *offset,
- unsigned *numElements)
+ static void clampOffsetAndNumElements(PassRefPtr<ArrayBuffer> buffer, unsigned arrayByteOffset, unsigned *offset, unsigned *numElements)
{
unsigned maxOffset = (UINT_MAX - arrayByteOffset) / sizeof(T);
if (*offset > maxOffset) {
unsigned m_byteOffset : 31;
bool m_isNeuterable : 1;
- private:
+private:
friend class ArrayBuffer;
RefPtr<ArrayBuffer> m_buffer;
ArrayBufferView* m_prevView;
return true;
}
-void ArrayBufferView::calculateOffsetAndLength(int start, int end, unsigned arraySize,
- unsigned* offset, unsigned* length)
+void ArrayBufferView::calculateOffsetAndLength(int start, int end, unsigned arraySize, unsigned* offset, unsigned* length)
{
if (start < 0)
start += arraySize;
*length = static_cast<unsigned>(end - start);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::ArrayBufferView;
+using JSC::ArrayBufferView;
#endif // ArrayBufferView_h
#ifndef Float32Array_h
#define Float32Array_h
-#include <wtf/TypedArrayBase.h>
+#include "TypedArrayBase.h"
#include <wtf/MathExtras.h>
-namespace WTF {
+namespace JSC {
class Float32Array : public TypedArrayBase<float> {
public:
}
private:
- inline Float32Array(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Float32Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Make constructor visible to superclass.
friend class TypedArrayBase<float>;
};
return subarrayImpl<Float32Array>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Float32Array;
+using JSC::Float32Array;
#endif // Float32Array_h
#ifndef Float64Array_h
#define Float64Array_h
-#include <wtf/TypedArrayBase.h>
+#include "TypedArrayBase.h"
#include <wtf/MathExtras.h>
-namespace WTF {
+namespace JSC {
class Float64Array : public TypedArrayBase<double> {
public:
}
private:
- inline Float64Array(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Float64Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
+
// Make constructor visible to superclass.
friend class TypedArrayBase<double>;
};
return subarrayImpl<Float64Array>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Float64Array;
+using JSC::Float64Array;
#endif // Float64Array_h
#ifndef Int16Array_h
#define Int16Array_h
-#include <wtf/IntegralTypedArrayBase.h>
+#include "IntegralTypedArrayBase.h"
-namespace WTF {
+namespace JSC {
class ArrayBuffer;
-class Int16Array : public IntegralTypedArrayBase<short> {
+class Int16Array : public IntegralTypedArrayBase<int16_t> {
public:
static inline PassRefPtr<Int16Array> create(unsigned length);
- static inline PassRefPtr<Int16Array> create(const short* array, unsigned length);
+ static inline PassRefPtr<Int16Array> create(const int16_t* array, unsigned length);
static inline PassRefPtr<Int16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Should only be used when it is known the entire array will be filled. Do
// not return these results directly to JavaScript without filling first.
static inline PassRefPtr<Int16Array> createUninitialized(unsigned length);
- using TypedArrayBase<short>::set;
- using IntegralTypedArrayBase<short>::set;
+ using TypedArrayBase<int16_t>::set;
+ using IntegralTypedArrayBase<int16_t>::set;
inline PassRefPtr<Int16Array> subarray(int start) const;
inline PassRefPtr<Int16Array> subarray(int start, int end) const;
}
private:
- inline Int16Array(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Int16Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
+
// Make constructor visible to superclass.
- friend class TypedArrayBase<short>;
+ friend class TypedArrayBase<int16_t>;
};
PassRefPtr<Int16Array> Int16Array::create(unsigned length)
{
- return TypedArrayBase<short>::create<Int16Array>(length);
+ return TypedArrayBase<int16_t>::create<Int16Array>(length);
}
-PassRefPtr<Int16Array> Int16Array::create(const short* array, unsigned length)
+PassRefPtr<Int16Array> Int16Array::create(const int16_t* array, unsigned length)
{
- return TypedArrayBase<short>::create<Int16Array>(array, length);
+ return TypedArrayBase<int16_t>::create<Int16Array>(array, length);
}
PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
- return TypedArrayBase<short>::create<Int16Array>(buffer, byteOffset, length);
+ return TypedArrayBase<int16_t>::create<Int16Array>(buffer, byteOffset, length);
}
PassRefPtr<Int16Array> Int16Array::createUninitialized(unsigned length)
{
- return TypedArrayBase<short>::createUninitialized<Int16Array>(length);
+ return TypedArrayBase<int16_t>::createUninitialized<Int16Array>(length);
}
Int16Array::Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
- : IntegralTypedArrayBase<short>(buffer, byteOffset, length)
+ : IntegralTypedArrayBase<int16_t>(buffer, byteOffset, length)
{
}
return subarrayImpl<Int16Array>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Int16Array;
+using JSC::Int16Array;
#endif // Int16Array_h
#ifndef Int32Array_h
#define Int32Array_h
-#include <wtf/IntegralTypedArrayBase.h>
+#include "IntegralTypedArrayBase.h"
-namespace WTF {
+namespace JSC {
class Int32Array : public IntegralTypedArrayBase<int> {
public:
}
private:
- inline Int32Array(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Int32Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Make constructor visible to superclass.
friend class TypedArrayBase<int>;
};
return subarrayImpl<Int32Array>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Int32Array;
+using JSC::Int32Array;
#endif // Int32Array_h
#ifndef Int8Array_h
#define Int8Array_h
-#include <wtf/IntegralTypedArrayBase.h>
+#include "IntegralTypedArrayBase.h"
-namespace WTF {
+namespace JSC {
class ArrayBuffer;
-class Int8Array : public IntegralTypedArrayBase<signed char> {
+class Int8Array : public IntegralTypedArrayBase<int8_t> {
public:
static inline PassRefPtr<Int8Array> create(unsigned length);
- static inline PassRefPtr<Int8Array> create(const signed char* array, unsigned length);
+ static inline PassRefPtr<Int8Array> create(const int8_t* array, unsigned length);
static inline PassRefPtr<Int8Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Should only be used when it is known the entire array will be filled. Do
// not return these results directly to JavaScript without filling first.
static inline PassRefPtr<Int8Array> createUninitialized(unsigned length);
- using TypedArrayBase<signed char>::set;
- using IntegralTypedArrayBase<signed char>::set;
+ using TypedArrayBase<int8_t>::set;
+ using IntegralTypedArrayBase<int8_t>::set;
inline PassRefPtr<Int8Array> subarray(int start) const;
inline PassRefPtr<Int8Array> subarray(int start, int end) const;
}
private:
- inline Int8Array(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Int8Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
+
// Make constructor visible to superclass.
- friend class TypedArrayBase<signed char>;
+ friend class TypedArrayBase<int8_t>;
};
PassRefPtr<Int8Array> Int8Array::create(unsigned length)
{
- return TypedArrayBase<signed char>::create<Int8Array>(length);
+ return TypedArrayBase<int8_t>::create<Int8Array>(length);
}
-PassRefPtr<Int8Array> Int8Array::create(const signed char* array, unsigned length)
+PassRefPtr<Int8Array> Int8Array::create(const int8_t* array, unsigned length)
{
- return TypedArrayBase<signed char>::create<Int8Array>(array, length);
+ return TypedArrayBase<int8_t>::create<Int8Array>(array, length);
}
PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
- return TypedArrayBase<signed char>::create<Int8Array>(buffer, byteOffset, length);
+ return TypedArrayBase<int8_t>::create<Int8Array>(buffer, byteOffset, length);
}
PassRefPtr<Int8Array> Int8Array::createUninitialized(unsigned length)
{
- return TypedArrayBase<signed char>::createUninitialized<Int8Array>(length);
+ return TypedArrayBase<int8_t>::createUninitialized<Int8Array>(length);
}
Int8Array::Int8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
- : IntegralTypedArrayBase<signed char>(buffer, byteOffset, length)
+ : IntegralTypedArrayBase<int8_t>(buffer, byteOffset, length)
{
}
return subarrayImpl<Int8Array>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Int8Array;
+using JSC::Int8Array;
#endif // Int8Array_h
#ifndef IntegralTypedArrayBase_h
#define IntegralTypedArrayBase_h
-#include <wtf/TypedArrayBase.h>
+#include "TypedArrayBase.h"
#include <limits>
#include <wtf/MathExtras.h>
// Base class for all WebGL<T>Array types holding integral
// (non-floating-point) values.
-namespace WTF {
+namespace JSC {
template <typename T>
class IntegralTypedArrayBase : public TypedArrayBase<T> {
- public:
+public:
void set(unsigned index, double value)
{
if (index >= TypedArrayBase<T>::m_length)
TypedArrayBase<T>::data()[index] = static_cast<T>(static_cast<int64_t>(value));
}
- protected:
+protected:
IntegralTypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
: TypedArrayBase<T>(buffer, byteOffset, length)
{
}
-};
-} // namespace WTF
+};
-using WTF::IntegralTypedArrayBase;
+} // namespace JSC
#endif // IntegralTypedArrayBase_h
#ifndef TypedArrayBase_h
#define TypedArrayBase_h
-#include <wtf/ArrayBuffer.h>
-#include <wtf/ArrayBufferView.h>
+#include "ArrayBuffer.h"
+#include "ArrayBufferView.h"
-namespace WTF {
+namespace JSC {
template <typename T>
class TypedArrayBase : public ArrayBufferView {
- public:
+public:
T* data() const { return static_cast<T*>(baseAddress()); }
bool set(TypedArrayBase<T>* array, unsigned offset)
}
template <class Subclass>
- static PassRefPtr<Subclass> create(PassRefPtr<ArrayBuffer> buffer,
- unsigned byteOffset,
- unsigned length)
+ static PassRefPtr<Subclass> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
RefPtr<ArrayBuffer> buf(buffer);
if (!verifySubRange<T>(buf, byteOffset, length))
unsigned m_length;
};
-} // namespace WTF
+} // namespace JSC
-using WTF::TypedArrayBase;
+using JSC::TypedArrayBase;
#endif // TypedArrayBase_h
#ifndef Uint16Array_h
#define Uint16Array_h
-#include <wtf/IntegralTypedArrayBase.h>
+#include "IntegralTypedArrayBase.h"
-namespace WTF {
+namespace JSC {
class ArrayBuffer;
-class Uint16Array : public IntegralTypedArrayBase<unsigned short> {
+class Uint16Array : public IntegralTypedArrayBase<uint16_t> {
public:
static inline PassRefPtr<Uint16Array> create(unsigned length);
- static inline PassRefPtr<Uint16Array> create(const unsigned short* array, unsigned length);
+ static inline PassRefPtr<Uint16Array> create(const uint16_t* array, unsigned length);
static inline PassRefPtr<Uint16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Should only be used when it is known the entire array will be filled. Do
// not return these results directly to JavaScript without filling first.
static inline PassRefPtr<Uint16Array> createUninitialized(unsigned length);
- using TypedArrayBase<unsigned short>::set;
- using IntegralTypedArrayBase<unsigned short>::set;
+ using TypedArrayBase<uint16_t>::set;
+ using IntegralTypedArrayBase<uint16_t>::set;
inline PassRefPtr<Uint16Array> subarray(int start) const;
inline PassRefPtr<Uint16Array> subarray(int start, int end) const;
}
private:
- inline Uint16Array(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Uint16Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Make constructor visible to superclass.
- friend class TypedArrayBase<unsigned short>;
+ friend class TypedArrayBase<uint16_t>;
};
PassRefPtr<Uint16Array> Uint16Array::create(unsigned length)
{
- return TypedArrayBase<unsigned short>::create<Uint16Array>(length);
+ return TypedArrayBase<uint16_t>::create<Uint16Array>(length);
}
-PassRefPtr<Uint16Array> Uint16Array::create(const unsigned short* array, unsigned length)
+PassRefPtr<Uint16Array> Uint16Array::create(const uint16_t* array, unsigned length)
{
- return TypedArrayBase<unsigned short>::create<Uint16Array>(array, length);
+ return TypedArrayBase<uint16_t>::create<Uint16Array>(array, length);
}
PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
- return TypedArrayBase<unsigned short>::create<Uint16Array>(buffer, byteOffset, length);
+ return TypedArrayBase<uint16_t>::create<Uint16Array>(buffer, byteOffset, length);
}
PassRefPtr<Uint16Array> Uint16Array::createUninitialized(unsigned length)
{
- return TypedArrayBase<unsigned short>::createUninitialized<Uint16Array>(length);
+ return TypedArrayBase<uint16_t>::createUninitialized<Uint16Array>(length);
}
Uint16Array::Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
- : IntegralTypedArrayBase<unsigned short>(buffer, byteOffset, length)
+ : IntegralTypedArrayBase<uint16_t>(buffer, byteOffset, length)
{
}
return subarrayImpl<Uint16Array>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Uint16Array;
+using JSC::Uint16Array;
#endif // Uint16Array_h
#ifndef Uint32Array_h
#define Uint32Array_h
-#include <wtf/IntegralTypedArrayBase.h>
+#include "IntegralTypedArrayBase.h"
-namespace WTF {
+namespace JSC {
class ArrayBuffer;
-class Uint32Array : public IntegralTypedArrayBase<unsigned int> {
+class Uint32Array : public IntegralTypedArrayBase<uint32_t> {
public:
static inline PassRefPtr<Uint32Array> create(unsigned length);
- static inline PassRefPtr<Uint32Array> create(const unsigned int* array, unsigned length);
+ static inline PassRefPtr<Uint32Array> create(const uint32_t* array, unsigned length);
static inline PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Should only be used when it is known the entire array will be filled. Do
// not return these results directly to JavaScript without filling first.
static inline PassRefPtr<Uint32Array> createUninitialized(unsigned length);
- using TypedArrayBase<unsigned>::set;
- using IntegralTypedArrayBase<unsigned>::set;
+ using TypedArrayBase<uint32_t>::set;
+ using IntegralTypedArrayBase<uint32_t>::set;
inline PassRefPtr<Uint32Array> subarray(int start) const;
inline PassRefPtr<Uint32Array> subarray(int start, int end) const;
}
private:
- inline Uint32Array(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Uint32Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Make constructor visible to superclass.
- friend class TypedArrayBase<unsigned int>;
+ friend class TypedArrayBase<uint32_t>;
};
PassRefPtr<Uint32Array> Uint32Array::create(unsigned length)
{
- return TypedArrayBase<unsigned int>::create<Uint32Array>(length);
+ return TypedArrayBase<uint32_t>::create<Uint32Array>(length);
}
-PassRefPtr<Uint32Array> Uint32Array::create(const unsigned int* array, unsigned length)
+PassRefPtr<Uint32Array> Uint32Array::create(const uint32_t* array, unsigned length)
{
- return TypedArrayBase<unsigned int>::create<Uint32Array>(array, length);
+ return TypedArrayBase<uint32_t>::create<Uint32Array>(array, length);
}
PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
- return TypedArrayBase<unsigned int>::create<Uint32Array>(buffer, byteOffset, length);
+ return TypedArrayBase<uint32_t>::create<Uint32Array>(buffer, byteOffset, length);
}
PassRefPtr<Uint32Array> Uint32Array::createUninitialized(unsigned length)
{
- return TypedArrayBase<unsigned int>::createUninitialized<Uint32Array>(length);
+ return TypedArrayBase<uint32_t>::createUninitialized<Uint32Array>(length);
}
Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
- : IntegralTypedArrayBase<unsigned int>(buffer, byteOffset, length)
+ : IntegralTypedArrayBase<uint32_t>(buffer, byteOffset, length)
{
}
return subarrayImpl<Uint32Array>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Uint32Array;
+using JSC::Uint32Array;
#endif // Uint32Array_h
#ifndef Uint8Array_h
#define Uint8Array_h
-#include <wtf/IntegralTypedArrayBase.h>
+#include "IntegralTypedArrayBase.h"
-namespace WTF {
+namespace JSC {
class ArrayBuffer;
-class Uint8Array : public IntegralTypedArrayBase<unsigned char> {
+class Uint8Array : public IntegralTypedArrayBase<uint8_t> {
public:
static inline PassRefPtr<Uint8Array> create(unsigned length);
- static inline PassRefPtr<Uint8Array> create(const unsigned char* array, unsigned length);
+ static inline PassRefPtr<Uint8Array> create(const uint8_t* array, unsigned length);
static inline PassRefPtr<Uint8Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Should only be used when it is known the entire array will be filled. Do
// not return these results directly to JavaScript without filling first.
static inline PassRefPtr<Uint8Array> createUninitialized(unsigned length);
- using TypedArrayBase<unsigned char>::set;
- using IntegralTypedArrayBase<unsigned char>::set;
+ using TypedArrayBase<uint8_t>::set;
+ using IntegralTypedArrayBase<uint8_t>::set;
inline PassRefPtr<Uint8Array> subarray(int start) const;
inline PassRefPtr<Uint8Array> subarray(int start, int end) const;
}
protected:
- inline Uint8Array(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Uint8Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Make constructor visible to superclass.
- friend class TypedArrayBase<unsigned char>;
+ friend class TypedArrayBase<uint8_t>;
};
PassRefPtr<Uint8Array> Uint8Array::create(unsigned length)
{
- return TypedArrayBase<unsigned char>::create<Uint8Array>(length);
+ return TypedArrayBase<uint8_t>::create<Uint8Array>(length);
}
-PassRefPtr<Uint8Array> Uint8Array::create(const unsigned char* array, unsigned length)
+PassRefPtr<Uint8Array> Uint8Array::create(const uint8_t* array, unsigned length)
{
- return TypedArrayBase<unsigned char>::create<Uint8Array>(array, length);
+ return TypedArrayBase<uint8_t>::create<Uint8Array>(array, length);
}
PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
- return TypedArrayBase<unsigned char>::create<Uint8Array>(buffer, byteOffset, length);
+ return TypedArrayBase<uint8_t>::create<Uint8Array>(buffer, byteOffset, length);
}
PassRefPtr<Uint8Array> Uint8Array::createUninitialized(unsigned length)
{
- return TypedArrayBase<unsigned char>::createUninitialized<Uint8Array>(length);
+ return TypedArrayBase<uint8_t>::createUninitialized<Uint8Array>(length);
}
Uint8Array::Uint8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
-: IntegralTypedArrayBase<unsigned char>(buffer, byteOffset, length)
+: IntegralTypedArrayBase<uint8_t>(buffer, byteOffset, length)
{
}
return subarrayImpl<Uint8Array>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Uint8Array;
+using JSC::Uint8Array;
#endif // Uint8Array_h
#ifndef Uint8ClampedArray_h
#define Uint8ClampedArray_h
-#include <wtf/Platform.h>
-
-#include <wtf/Uint8Array.h>
+#include "Uint8Array.h"
#include <wtf/MathExtras.h>
-namespace WTF {
+namespace JSC {
class Uint8ClampedArray : public Uint8Array {
public:
static inline PassRefPtr<Uint8ClampedArray> create(unsigned length);
- static inline PassRefPtr<Uint8ClampedArray> create(const unsigned char* array, unsigned length);
+ static inline PassRefPtr<Uint8ClampedArray> create(const uint8_t* array, unsigned length);
static inline PassRefPtr<Uint8ClampedArray> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Should only be used when it is known the entire array will be filled. Do
// zero the allocated memory.
inline void zeroFill();
- using TypedArrayBase<unsigned char>::set;
+ using TypedArrayBase<uint8_t>::set;
inline void set(unsigned index, double value);
inline PassRefPtr<Uint8ClampedArray> subarray(int start) const;
}
private:
- inline Uint8ClampedArray(PassRefPtr<ArrayBuffer>,
- unsigned byteOffset,
- unsigned length);
+ inline Uint8ClampedArray(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Make constructor visible to superclass.
- friend class TypedArrayBase<unsigned char>;
+ friend class TypedArrayBase<uint8_t>;
};
PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::create(unsigned length)
{
- return TypedArrayBase<unsigned char>::create<Uint8ClampedArray>(length);
+ return TypedArrayBase<uint8_t>::create<Uint8ClampedArray>(length);
}
-PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::create(const unsigned char* array, unsigned length)
+PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::create(const uint8_t* array, unsigned length)
{
- return TypedArrayBase<unsigned char>::create<Uint8ClampedArray>(array, length);
+ return TypedArrayBase<uint8_t>::create<Uint8ClampedArray>(array, length);
}
PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
- return TypedArrayBase<unsigned char>::create<Uint8ClampedArray>(buffer, byteOffset, length);
+ return TypedArrayBase<uint8_t>::create<Uint8ClampedArray>(buffer, byteOffset, length);
}
PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::createUninitialized(unsigned length)
{
- return TypedArrayBase<unsigned char>::createUninitialized<Uint8ClampedArray>(length);
+ return TypedArrayBase<uint8_t>::createUninitialized<Uint8ClampedArray>(length);
}
void Uint8ClampedArray::zeroFill()
value = 0;
else if (value > 255)
value = 255;
- data()[index] = static_cast<unsigned char>(lrint(value));
+ data()[index] = static_cast<uint8_t>(lrint(value));
}
Uint8ClampedArray::Uint8ClampedArray(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
return subarrayImpl<Uint8ClampedArray>(start, end);
}
-} // namespace WTF
+} // namespace JSC
-using WTF::Uint8ClampedArray;
+using JSC::Uint8ClampedArray;
#endif // Uint8ClampedArray_h
class CodeCache;
class CommonIdentifiers;
class ExecState;
+ class Float32Array;
+ class Float64Array;
class HandleStack;
class IdentifierTable;
+ class Int8Array;
+ class Int16Array;
+ class Int32Array;
class Interpreter;
class JSGlobalObject;
class JSObject;
#if ENABLE(REGEXP_TRACING)
class RegExp;
#endif
+ class Uint8Array;
+ class Uint8ClampedArray;
+ class Uint16Array;
+ class Uint32Array;
class UnlinkedCodeBlock;
class UnlinkedEvalCodeBlock;
class UnlinkedFunctionExecutable;
+2013-08-05 Oliver Hunt <oliver@apple.com>
+
+ Move TypedArray implementation into JSC
+ https://bugs.webkit.org/show_bug.cgi?id=119489
+
+ Reviewed by Filip Pizlo.
+
+ Remove TypedArray implementation from WTF
+
+ * GNUmakefile.list.am:
+ * WTF.xcodeproj/project.pbxproj:
+ * wtf/Forward.h:
+
2013-08-02 Benjamin Poulain <benjamin@webkit.org>
Remove a bunch of redundant checks for empty string in StringImpl
Source/WTF/wtf/ASCIICType.h \
Source/WTF/wtf/AVLTree.h \
Source/WTF/wtf/Alignment.h \
- Source/WTF/wtf/ArrayBuffer.cpp \
- Source/WTF/wtf/ArrayBuffer.h \
- Source/WTF/wtf/ArrayBufferView.cpp \
- Source/WTF/wtf/ArrayBufferView.h \
Source/WTF/wtf/Assertions.cpp \
Source/WTF/wtf/Assertions.h \
Source/WTF/wtf/Atomics.cpp \
Source/WTF/wtf/FilePrintStream.cpp \
Source/WTF/wtf/FilePrintStream.h \
Source/WTF/wtf/FixedArray.h \
- Source/WTF/wtf/Float32Array.h \
- Source/WTF/wtf/Float64Array.h \
Source/WTF/wtf/Forward.h \
Source/WTF/wtf/FunctionDispatcher.cpp \
Source/WTF/wtf/FunctionDispatcher.h \
Source/WTF/wtf/HexNumber.h \
Source/WTF/wtf/InlineASM.h \
Source/WTF/wtf/Insertion.h \
- Source/WTF/wtf/Int16Array.h \
- Source/WTF/wtf/Int32Array.h \
- Source/WTF/wtf/Int8Array.h \
- Source/WTF/wtf/IntegralTypedArrayBase.h \
Source/WTF/wtf/ListDump.h \
Source/WTF/wtf/ListHashSet.h \
Source/WTF/wtf/LLVMHeaders.h \
Source/WTF/wtf/TriState.h \
Source/WTF/wtf/TypeTraits.cpp \
Source/WTF/wtf/TypeTraits.h \
- Source/WTF/wtf/TypedArrayBase.h \
- Source/WTF/wtf/Uint16Array.h \
- Source/WTF/wtf/Uint32Array.h \
- Source/WTF/wtf/Uint8Array.h \
- Source/WTF/wtf/Uint8ClampedArray.h \
Source/WTF/wtf/UnionFind.h \
Source/WTF/wtf/UniStdExtras.h \
Source/WTF/wtf/VMTags.h \
HEADERS += \
Alignment.h \
- ArrayBuffer.h \
- ArrayBufferView.h \
ASCIICType.h \
Assertions.h \
Atomics.h \
FeatureDefines.h \
FilePrintStream.h \
FixedArray.h \
- Float32Array.h \
- Float64Array.h \
Forward.h \
FunctionDispatcher.h \
Functional.h \
HashTable.h \
HashTraits.h \
HexNumber.h \
- Int16Array.h \
- Int32Array.h \
- Int8Array.h \
ListHashSet.h \
Locker.h \
MainThread.h \
ThreadSafeRefCounted.h \
ThreadSpecific.h \
TypeTraits.h \
- Uint16Array.h \
- Uint32Array.h \
- Uint8Array.h \
- Uint8ClampedArray.h \
unicode/CharacterNames.h \
unicode/Collator.h \
unicode/icu/UnicodeIcu.h \
unix: HEADERS += ThreadIdentifierDataPthreads.h
SOURCES += \
- ArrayBuffer.cpp \
- ArrayBufferView.cpp \
Assertions.cpp \
Atomics.cpp \
BitVector.cpp \
</ProjectConfiguration>\r
</ItemGroup>\r
<ItemGroup>\r
- <ClCompile Include="..\wtf\ArrayBuffer.cpp" />\r
- <ClCompile Include="..\wtf\ArrayBufferView.cpp" />\r
<ClCompile Include="..\wtf\Assertions.cpp" />\r
<ClCompile Include="..\wtf\BitVector.cpp" />\r
<ClCompile Include="..\wtf\CompilationThread.cpp" />\r
<ClInclude Include="..\wtf\CompilationThread.h" />\r
<ClInclude Include="..\WTF\config.h" />\r
<ClInclude Include="..\wtf\Alignment.h" />\r
- <ClInclude Include="..\wtf\ArrayBuffer.h" />\r
- <ClInclude Include="..\wtf\ArrayBufferView.h" />\r
<ClInclude Include="..\wtf\ASCIICType.h" />\r
<ClInclude Include="..\wtf\Assertions.h" />\r
<ClInclude Include="..\wtf\Atomics.h" />\r
<ClInclude Include="..\wtf\FeatureDefines.h" />\r
<ClInclude Include="..\wtf\FilePrintStream.h" />\r
<ClInclude Include="..\wtf\FixedArray.h" />\r
- <ClInclude Include="..\wtf\Float32Array.h" />\r
- <ClInclude Include="..\wtf\Float64Array.h" />\r
<ClInclude Include="..\wtf\Forward.h" />\r
<ClInclude Include="..\wtf\FunctionDispatcher.h" />\r
<ClInclude Include="..\wtf\Functional.h" />\r
<ClInclude Include="..\wtf\HashTable.h" />\r
<ClInclude Include="..\wtf\HashTraits.h" />\r
<ClInclude Include="..\wtf\HexNumber.h" />\r
- <ClInclude Include="..\wtf\Int16Array.h" />\r
- <ClInclude Include="..\wtf\Int32Array.h" />\r
- <ClInclude Include="..\wtf\Int8Array.h" />\r
<ClInclude Include="..\wtf\ListHashSet.h" />\r
<ClInclude Include="..\wtf\Locker.h" />\r
<ClInclude Include="..\wtf\MainThread.h" />\r
<ClInclude Include="..\wtf\threadspecific.h" />\r
<ClInclude Include="..\wtf\threads\BinarySemaphore.h" />\r
<ClInclude Include="..\wtf\TypeTraits.h" />\r
- <ClInclude Include="..\wtf\Uint16Array.h" />\r
- <ClInclude Include="..\wtf\Uint32Array.h" />\r
- <ClInclude Include="..\wtf\Uint8Array.h" />\r
<ClInclude Include="..\wtf\unicode\CharacterNames.h" />\r
<ClInclude Include="..\wtf\unicode\Collator.h" />\r
<ClInclude Include="..\wtf\unicode\icu\UnicodeIcu.h" />\r
<ClCompile Include="..\wtf\unicode\UTF8.cpp">\r
<Filter>wtf\unicode</Filter>\r
</ClCompile>\r
- <ClCompile Include="..\wtf\ArrayBuffer.cpp">\r
- <Filter>wtf</Filter>\r
- </ClCompile>\r
- <ClCompile Include="..\wtf\ArrayBufferView.cpp">\r
- <Filter>wtf</Filter>\r
- </ClCompile>\r
<ClCompile Include="..\wtf\Assertions.cpp">\r
<Filter>wtf</Filter>\r
</ClCompile>\r
<ClInclude Include="..\wtf\WTFThreadData.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\wtf\ArrayBuffer.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
- <ClInclude Include="..\wtf\ArrayBufferView.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\wtf\ASCIICType.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
<ClInclude Include="..\wtf\FixedArray.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\wtf\Float32Array.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
- <ClInclude Include="..\wtf\Float64Array.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\wtf\Forward.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
<ClInclude Include="..\wtf\HexNumber.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\wtf\Int16Array.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
- <ClInclude Include="..\wtf\Int32Array.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
- <ClInclude Include="..\wtf\Int8Array.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\wtf\ListHashSet.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
<ClInclude Include="..\wtf\TypeTraits.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\wtf\Uint16Array.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
- <ClInclude Include="..\wtf\Uint32Array.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
- <ClInclude Include="..\wtf\Uint8Array.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\wtf\ValueCheck.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
A748745417A0BDAE00FA04CB /* StringHashDumpContext.h in Headers */ = {isa = PBXBuildFile; fileRef = A748745117A0BDAE00FA04CB /* StringHashDumpContext.h */; };
A876DBD8151816E500DADB95 /* Platform.h in Headers */ = {isa = PBXBuildFile; fileRef = A876DBD7151816E500DADB95 /* Platform.h */; };
A8A4737F151A825B004123FF /* Alignment.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47254151A825A004123FF /* Alignment.h */; };
- A8A47381151A825B004123FF /* ArrayBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A47256151A825A004123FF /* ArrayBuffer.cpp */; };
- A8A47382151A825B004123FF /* ArrayBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47257151A825A004123FF /* ArrayBuffer.h */; };
- A8A47383151A825B004123FF /* ArrayBufferView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A47258151A825A004123FF /* ArrayBufferView.cpp */; };
- A8A47384151A825B004123FF /* ArrayBufferView.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47259151A825A004123FF /* ArrayBufferView.h */; };
A8A47385151A825B004123FF /* ASCIICType.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4725A151A825A004123FF /* ASCIICType.h */; };
A8A47386151A825B004123FF /* Assertions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A4725B151A825A004123FF /* Assertions.cpp */; };
A8A47387151A825B004123FF /* Assertions.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4725C151A825A004123FF /* Assertions.h */; };
A8A473C3151A825B004123FF /* FastMalloc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A472A1151A825A004123FF /* FastMalloc.cpp */; };
A8A473C4151A825B004123FF /* FastMalloc.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472A2151A825A004123FF /* FastMalloc.h */; };
A8A473C5151A825B004123FF /* FixedArray.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472A3151A825A004123FF /* FixedArray.h */; };
- A8A473C6151A825B004123FF /* Float32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472A4151A825A004123FF /* Float32Array.h */; };
- A8A473C7151A825B004123FF /* Float64Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472A5151A825A004123FF /* Float64Array.h */; };
A8A473C8151A825B004123FF /* Forward.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472A6151A825A004123FF /* Forward.h */; };
A8A473C9151A825B004123FF /* Functional.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472A7151A825A004123FF /* Functional.h */; };
A8A473CA151A825B004123FF /* GetPtr.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472A8151A825A004123FF /* GetPtr.h */; };
A8A473DA151A825B004123FF /* HashTraits.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472BA151A825A004123FF /* HashTraits.h */; };
A8A473DB151A825B004123FF /* HexNumber.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472BB151A825A004123FF /* HexNumber.h */; };
A8A473DC151A825B004123FF /* InlineASM.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472BC151A825A004123FF /* InlineASM.h */; };
- A8A473DD151A825B004123FF /* Int8Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472BD151A825A004123FF /* Int8Array.h */; };
- A8A473DE151A825B004123FF /* Int16Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472BE151A825A004123FF /* Int16Array.h */; };
- A8A473DF151A825B004123FF /* Int32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472BF151A825A004123FF /* Int32Array.h */; };
- A8A473E0151A825B004123FF /* IntegralTypedArrayBase.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472C0151A825A004123FF /* IntegralTypedArrayBase.h */; };
A8A473E1151A825B004123FF /* ListHashSet.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472C1151A825A004123FF /* ListHashSet.h */; };
A8A473E3151A825B004123FF /* Locker.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472C3151A825A004123FF /* Locker.h */; };
A8A473E4151A825B004123FF /* MainThreadMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = A8A472C5151A825A004123FF /* MainThreadMac.mm */; };
A8A47452151A825B004123FF /* BinarySemaphore.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4733B151A825B004123FF /* BinarySemaphore.h */; };
A8A47454151A825B004123FF /* ThreadSafeRefCounted.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4733E151A825B004123FF /* ThreadSafeRefCounted.h */; };
A8A47455151A825B004123FF /* ThreadSpecific.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4733F151A825B004123FF /* ThreadSpecific.h */; };
- A8A47457151A825B004123FF /* TypedArrayBase.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47341151A825B004123FF /* TypedArrayBase.h */; };
A8A47458151A825B004123FF /* TypeTraits.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A47342151A825B004123FF /* TypeTraits.cpp */; };
A8A47459151A825B004123FF /* TypeTraits.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47343151A825B004123FF /* TypeTraits.h */; };
- A8A4745A151A825B004123FF /* Uint8Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47344151A825B004123FF /* Uint8Array.h */; };
- A8A4745B151A825B004123FF /* Uint8ClampedArray.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47345151A825B004123FF /* Uint8ClampedArray.h */; };
- A8A4745C151A825B004123FF /* Uint16Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47346151A825B004123FF /* Uint16Array.h */; };
- A8A4745D151A825B004123FF /* Uint32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47347151A825B004123FF /* Uint32Array.h */; };
A8A4745E151A825B004123FF /* CharacterNames.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A47349151A825B004123FF /* CharacterNames.h */; };
A8A4745F151A825B004123FF /* Collator.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4734A151A825B004123FF /* Collator.h */; };
A8A47460151A825B004123FF /* CollatorDefault.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A4734B151A825B004123FF /* CollatorDefault.cpp */; };
A748745117A0BDAE00FA04CB /* StringHashDumpContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StringHashDumpContext.h; sourceTree = "<group>"; };
A876DBD7151816E500DADB95 /* Platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Platform.h; sourceTree = "<group>"; };
A8A47254151A825A004123FF /* Alignment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Alignment.h; sourceTree = "<group>"; };
- A8A47256151A825A004123FF /* ArrayBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ArrayBuffer.cpp; sourceTree = "<group>"; };
- A8A47257151A825A004123FF /* ArrayBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArrayBuffer.h; sourceTree = "<group>"; };
- A8A47258151A825A004123FF /* ArrayBufferView.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ArrayBufferView.cpp; sourceTree = "<group>"; };
- A8A47259151A825A004123FF /* ArrayBufferView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArrayBufferView.h; sourceTree = "<group>"; };
A8A4725A151A825A004123FF /* ASCIICType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASCIICType.h; sourceTree = "<group>"; };
A8A4725B151A825A004123FF /* Assertions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Assertions.cpp; sourceTree = "<group>"; };
A8A4725C151A825A004123FF /* Assertions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Assertions.h; sourceTree = "<group>"; };
A8A472A1151A825A004123FF /* FastMalloc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FastMalloc.cpp; sourceTree = "<group>"; };
A8A472A2151A825A004123FF /* FastMalloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FastMalloc.h; sourceTree = "<group>"; };
A8A472A3151A825A004123FF /* FixedArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FixedArray.h; sourceTree = "<group>"; };
- A8A472A4151A825A004123FF /* Float32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Float32Array.h; sourceTree = "<group>"; };
- A8A472A5151A825A004123FF /* Float64Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Float64Array.h; sourceTree = "<group>"; };
A8A472A6151A825A004123FF /* Forward.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Forward.h; sourceTree = "<group>"; };
A8A472A7151A825A004123FF /* Functional.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Functional.h; sourceTree = "<group>"; };
A8A472A8151A825A004123FF /* GetPtr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GetPtr.h; sourceTree = "<group>"; };
A8A472BA151A825A004123FF /* HashTraits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HashTraits.h; sourceTree = "<group>"; };
A8A472BB151A825A004123FF /* HexNumber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HexNumber.h; sourceTree = "<group>"; };
A8A472BC151A825A004123FF /* InlineASM.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InlineASM.h; sourceTree = "<group>"; };
- A8A472BD151A825A004123FF /* Int8Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Int8Array.h; sourceTree = "<group>"; };
- A8A472BE151A825A004123FF /* Int16Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Int16Array.h; sourceTree = "<group>"; };
- A8A472BF151A825A004123FF /* Int32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Int32Array.h; sourceTree = "<group>"; };
- A8A472C0151A825A004123FF /* IntegralTypedArrayBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IntegralTypedArrayBase.h; sourceTree = "<group>"; };
A8A472C1151A825A004123FF /* ListHashSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ListHashSet.h; sourceTree = "<group>"; };
A8A472C3151A825A004123FF /* Locker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Locker.h; sourceTree = "<group>"; };
A8A472C5151A825A004123FF /* MainThreadMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MainThreadMac.mm; sourceTree = "<group>"; };
A8A4733B151A825B004123FF /* BinarySemaphore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BinarySemaphore.h; sourceTree = "<group>"; };
A8A4733E151A825B004123FF /* ThreadSafeRefCounted.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadSafeRefCounted.h; sourceTree = "<group>"; };
A8A4733F151A825B004123FF /* ThreadSpecific.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadSpecific.h; sourceTree = "<group>"; };
- A8A47341151A825B004123FF /* TypedArrayBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TypedArrayBase.h; sourceTree = "<group>"; };
A8A47342151A825B004123FF /* TypeTraits.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TypeTraits.cpp; sourceTree = "<group>"; };
A8A47343151A825B004123FF /* TypeTraits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TypeTraits.h; sourceTree = "<group>"; };
- A8A47344151A825B004123FF /* Uint8Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uint8Array.h; sourceTree = "<group>"; };
- A8A47345151A825B004123FF /* Uint8ClampedArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uint8ClampedArray.h; sourceTree = "<group>"; };
- A8A47346151A825B004123FF /* Uint16Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uint16Array.h; sourceTree = "<group>"; };
- A8A47347151A825B004123FF /* Uint32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Uint32Array.h; sourceTree = "<group>"; };
A8A47349151A825B004123FF /* CharacterNames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CharacterNames.h; sourceTree = "<group>"; };
A8A4734A151A825B004123FF /* Collator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Collator.h; sourceTree = "<group>"; };
A8A4734B151A825B004123FF /* CollatorDefault.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CollatorDefault.cpp; sourceTree = "<group>"; };
A8A47339151A825B004123FF /* threads */,
A8A47348151A825B004123FF /* unicode */,
A8A47254151A825A004123FF /* Alignment.h */,
- A8A47256151A825A004123FF /* ArrayBuffer.cpp */,
- A8A47257151A825A004123FF /* ArrayBuffer.h */,
- A8A47258151A825A004123FF /* ArrayBufferView.cpp */,
- A8A47259151A825A004123FF /* ArrayBufferView.h */,
A8A4725A151A825A004123FF /* ASCIICType.h */,
A8A4725B151A825A004123FF /* Assertions.cpp */,
A8A4725C151A825A004123FF /* Assertions.h */,
0F9D335B165DBA73005AD387 /* FilePrintStream.cpp */,
0F9D335C165DBA73005AD387 /* FilePrintStream.h */,
A8A472A3151A825A004123FF /* FixedArray.h */,
- A8A472A4151A825A004123FF /* Float32Array.h */,
- A8A472A5151A825A004123FF /* Float64Array.h */,
A8A472A6151A825A004123FF /* Forward.h */,
A8A472A7151A825A004123FF /* Functional.h */,
1A1D8B9D1731879800141DA4 /* FunctionDispatcher.cpp */,
A8A472BB151A825A004123FF /* HexNumber.h */,
A8A472BC151A825A004123FF /* InlineASM.h */,
A70DA0821799F04D00529A9B /* Insertion.h */,
- A8A472BE151A825A004123FF /* Int16Array.h */,
- A8A472BF151A825A004123FF /* Int32Array.h */,
- A8A472BD151A825A004123FF /* Int8Array.h */,
- A8A472C0151A825A004123FF /* IntegralTypedArrayBase.h */,
A70DA0831799F04D00529A9B /* ListDump.h */,
A8A472C1151A825A004123FF /* ListHashSet.h */,
A736B3581799E11A00C6F05E /* LLVMHeaders.h */,
A8A4733E151A825B004123FF /* ThreadSafeRefCounted.h */,
A8A4733F151A825B004123FF /* ThreadSpecific.h */,
149EF16216BBFE0D000A4331 /* TriState.h */,
- A8A47341151A825B004123FF /* TypedArrayBase.h */,
A8A47342151A825B004123FF /* TypeTraits.cpp */,
A8A47343151A825B004123FF /* TypeTraits.h */,
- A8A47346151A825B004123FF /* Uint16Array.h */,
- A8A47347151A825B004123FF /* Uint32Array.h */,
- A8A47344151A825B004123FF /* Uint8Array.h */,
- A8A47345151A825B004123FF /* Uint8ClampedArray.h */,
A8A4735C151A825B004123FF /* UnionFind.h */,
A8A4736F151A825B004123FF /* ValueCheck.h */,
A8A47370151A825B004123FF /* Vector.h */,
buildActionMask = 2147483647;
files = (
A8A4737F151A825B004123FF /* Alignment.h in Headers */,
- A8A47382151A825B004123FF /* ArrayBuffer.h in Headers */,
- A8A47384151A825B004123FF /* ArrayBufferView.h in Headers */,
A8A47385151A825B004123FF /* ASCIICType.h in Headers */,
A8A47434151A825B004123FF /* ASCIIFastPath.h in Headers */,
A8A47387151A825B004123FF /* Assertions.h in Headers */,
0F9D3361165DBA73005AD387 /* FilePrintStream.h in Headers */,
A8A473B6151A825B004123FF /* fixed-dtoa.h in Headers */,
A8A473C5151A825B004123FF /* FixedArray.h in Headers */,
- A8A473C6151A825B004123FF /* Float32Array.h in Headers */,
- A8A473C7151A825B004123FF /* Float64Array.h in Headers */,
A8A473C8151A825B004123FF /* Forward.h in Headers */,
A8A473C9151A825B004123FF /* Functional.h in Headers */,
1A1D8B9C173186CE00141DA4 /* FunctionDispatcher.h in Headers */,
A8A473DB151A825B004123FF /* HexNumber.h in Headers */,
A8A473DC151A825B004123FF /* InlineASM.h in Headers */,
A70DA0841799F04D00529A9B /* Insertion.h in Headers */,
- A8A473DE151A825B004123FF /* Int16Array.h in Headers */,
- A8A473DF151A825B004123FF /* Int32Array.h in Headers */,
- A8A473DD151A825B004123FF /* Int8Array.h in Headers */,
26147B0A15DDCCDC00DDB907 /* IntegerToStringConversion.h in Headers */,
- A8A473E0151A825B004123FF /* IntegralTypedArrayBase.h in Headers */,
A70DA0851799F04D00529A9B /* ListDump.h in Headers */,
A8A473E1151A825B004123FF /* ListHashSet.h in Headers */,
A8A473E3151A825B004123FF /* Locker.h in Headers */,
A8A47454151A825B004123FF /* ThreadSafeRefCounted.h in Headers */,
A8A47455151A825B004123FF /* ThreadSpecific.h in Headers */,
149EF16316BBFE0D000A4331 /* TriState.h in Headers */,
- A8A47457151A825B004123FF /* TypedArrayBase.h in Headers */,
A8A47459151A825B004123FF /* TypeTraits.h in Headers */,
- A8A4745C151A825B004123FF /* Uint16Array.h in Headers */,
- A8A4745D151A825B004123FF /* Uint32Array.h in Headers */,
- A8A4745A151A825B004123FF /* Uint8Array.h in Headers */,
- A8A4745B151A825B004123FF /* Uint8ClampedArray.h in Headers */,
A8A47467151A825B004123FF /* Unicode.h in Headers */,
A8A47464151A825B004123FF /* UnicodeIcu.h in Headers */,
A8A47468151A825B004123FF /* UnicodeMacrosFromICU.h in Headers */,
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- A8A47381151A825B004123FF /* ArrayBuffer.cpp in Sources */,
- A8A47383151A825B004123FF /* ArrayBufferView.cpp in Sources */,
A8A47386151A825B004123FF /* Assertions.cpp in Sources */,
A8A47435151A825B004123FF /* AtomicString.cpp in Sources */,
9BC70F05176C379D00101DEC /* AtomicStringTable.cpp in Sources */,
)
set(WTF_SOURCES
- ArrayBuffer.cpp
- ArrayBufferView.cpp
Assertions.cpp
Atomics.cpp
BitVector.cpp
template<typename T> class PassRefPtr;
template<typename T> class RefPtr;
template<typename T, size_t inlineCapacity, typename OverflowHandler> class Vector;
-
- class ArrayBuffer;
- class ArrayBufferView;
+
class AtomicString;
class AtomicStringImpl;
class BinarySemaphore;
class CString;
class Decoder;
class Encoder;
- class Float32Array;
- class Float64Array;
class FunctionDispatcher;
- class Int8Array;
- class Int16Array;
- class Int32Array;
class PrintStream;
class String;
template <typename T> class StringBuffer;
class StringBuilder;
class StringImpl;
- class Uint8Array;
- class Uint8ClampedArray;
- class Uint16Array;
- class Uint32Array;
}
using WTF::Function;
using WTF::RefPtr;
using WTF::Vector;
-using WTF::ArrayBuffer;
-using WTF::ArrayBufferView;
using WTF::AtomicString;
using WTF::AtomicStringImpl;
using WTF::BinarySemaphore;
using WTF::CString;
using WTF::Encoder;
using WTF::Decoder;
-using WTF::Float32Array;
-using WTF::Float64Array;
using WTF::FunctionDispatcher;
-using WTF::Int8Array;
-using WTF::Int16Array;
-using WTF::Int32Array;
using WTF::PrintStream;
using WTF::String;
using WTF::StringBuffer;
using WTF::StringBuilder;
using WTF::StringImpl;
-using WTF::Uint8Array;
-using WTF::Uint8ClampedArray;
-using WTF::Uint16Array;
-using WTF::Uint32Array;
#endif // WTF_Forward_h
+2013-08-05 Oliver Hunt <oliver@apple.com>
+
+ Move TypedArray implementation into JSC
+ https://bugs.webkit.org/show_bug.cgi?id=119489
+
+ Reviewed by Filip Pizlo.
+
+ Update WebCore for new location of TypedArray implementation.
+
+ * ForwardingHeaders/runtime/ArrayBuffer.h: Added.
+ * ForwardingHeaders/runtime/ArrayBufferView.h: Added.
+ * ForwardingHeaders/runtime/Float32Array.h: Added.
+ * ForwardingHeaders/runtime/Float64Array.h: Added.
+ * ForwardingHeaders/runtime/Int16Array.h: Added.
+ * ForwardingHeaders/runtime/Int32Array.h: Added.
+ * ForwardingHeaders/runtime/Int8Array.h: Added.
+ * ForwardingHeaders/runtime/IntegralTypedArrayBase.h: Added.
+ * ForwardingHeaders/runtime/TypedArrayBase.h: Added.
+ * ForwardingHeaders/runtime/Uint16Array.h: Added.
+ * ForwardingHeaders/runtime/Uint32Array.h: Added.
+ * ForwardingHeaders/runtime/Uint8Array.h: Added.
+ * ForwardingHeaders/runtime/Uint8ClampedArray.h: Added.
+ * Modules/webaudio/AnalyserNode.h:
+ (WebCore::AnalyserNode::getFloatFrequencyData):
+ (WebCore::AnalyserNode::getByteFrequencyData):
+ (WebCore::AnalyserNode::getByteTimeDomainData):
+ * Modules/webaudio/AsyncAudioDecoder.cpp:
+ * Modules/webaudio/AsyncAudioDecoder.h:
+ (WebCore::AsyncAudioDecoder::DecodingTask::audioData):
+ * Modules/webaudio/AudioBuffer.h:
+ * Modules/webaudio/AudioContext.cpp:
+ * Modules/webaudio/AudioParam.h:
+ * Modules/webaudio/AudioParamTimeline.h:
+ * Modules/webaudio/PeriodicWave.h:
+ * Modules/webaudio/RealtimeAnalyser.cpp:
+ * Modules/webaudio/RealtimeAnalyser.h:
+ * Modules/webaudio/ScriptProcessorNode.cpp:
+ * Modules/webaudio/WaveShaperProcessor.h:
+ * Modules/websockets/ThreadableWebSocketChannel.h:
+ * Modules/websockets/WebSocket.cpp:
+ * Modules/websockets/WebSocket.h:
+ * Modules/websockets/WebSocketChannel.cpp:
+ * Modules/websockets/WebSocketChannel.h:
+ * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
+ * Modules/websockets/WorkerThreadableWebSocketChannel.h:
+ * WebCore.exp.in:
+ * bindings/js/JSArrayBufferCustom.cpp:
+ * bindings/js/JSArrayBufferViewHelper.h:
+ * bindings/js/JSAudioContextCustom.cpp:
+ * bindings/js/JSCryptoCustom.cpp:
+ * bindings/js/JSDictionary.h:
+ * bindings/js/JSFileReaderCustom.cpp:
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+ * bindings/js/JSXMLHttpRequestCustom.cpp:
+ * bindings/js/SerializedScriptValue.cpp:
+ (WebCore::SerializedScriptValue::transferArrayBuffers):
+ * bindings/js/SerializedScriptValue.h:
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (AddIncludesForType):
+ (GenerateHeader):
+ (NativeToJSValue):
+ * dom/MessageEvent.h:
+ * fileapi/FileReader.cpp:
+ * fileapi/FileReader.h:
+ * fileapi/FileReaderLoader.cpp:
+ * fileapi/FileReaderLoader.h:
+ * fileapi/FileReaderSync.cpp:
+ * fileapi/FileReaderSync.h:
+ * fileapi/WebKitBlobBuilder.cpp:
+ * fileapi/WebKitBlobBuilder.h:
+ * html/HTMLMediaElement.cpp:
+ * html/ImageData.h:
+ * html/canvas/ArrayBuffer.idl:
+ * html/canvas/ArrayBufferView.idl:
+ * html/canvas/CanvasRenderingContext2D.cpp:
+ * html/canvas/DataView.h:
+ * html/canvas/Float32Array.idl:
+ * html/canvas/Float64Array.idl:
+ * html/canvas/Int16Array.idl:
+ * html/canvas/Int32Array.idl:
+ * html/canvas/Int8Array.idl:
+ * html/canvas/Uint16Array.idl:
+ * html/canvas/Uint32Array.idl:
+ * html/canvas/Uint8Array.idl:
+ * html/canvas/Uint8ClampedArray.idl:
+ * html/canvas/WebGLBuffer.h:
+ (WebCore::WebGLBuffer::elementArrayBuffer):
+ * html/canvas/WebGLGetInfo.cpp:
+ * html/canvas/WebGLGetInfo.h:
+ * html/canvas/WebGLRenderingContext.cpp:
+ * html/canvas/WebGLRenderingContext.h:
+ * inspector/InspectorMemoryAgent.cpp:
+ * page/Crypto.cpp:
+ * page/Crypto.h:
+ * platform/graphics/GraphicsContext3D.cpp:
+ * platform/graphics/ImageBuffer.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ * platform/graphics/cg/ImageBufferDataCG.h:
+ * platform/graphics/filters/FEBlend.cpp:
+ * platform/graphics/filters/FEColorMatrix.cpp:
+ * platform/graphics/filters/FEComponentTransfer.cpp:
+ * platform/graphics/filters/FEComposite.cpp:
+ * platform/graphics/filters/FEConvolveMatrix.cpp:
+ * platform/graphics/filters/FECustomFilter.cpp:
+ * platform/graphics/filters/FEDisplacementMap.cpp:
+ * platform/graphics/filters/FEDropShadow.cpp:
+ * platform/graphics/filters/FEGaussianBlur.cpp:
+ * platform/graphics/filters/FELighting.h:
+ * platform/graphics/filters/FEMorphology.cpp:
+ * platform/graphics/filters/FETurbulence.cpp:
+ * platform/graphics/filters/FilterEffect.cpp:
+ * platform/graphics/filters/FilterEffect.h:
+ * platform/graphics/mac/GraphicsContext3DMac.mm:
+ * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
+ * testing/Internals.h:
+ * xml/XMLHttpRequest.cpp:
+ * xml/XMLHttpRequest.h:
+ (WebCore::XMLHttpRequest::optionalResponseArrayBuffer):
+
2013-08-05 Alexey Proskuryakov <ap@apple.com>
<rdar://problem/14637103> REGRESSION (r153060?): Microphone appears in the way
--- /dev/null
+#ifndef WebCore_FWD_ArrayBuffer_h
+#define WebCore_FWD_ArrayBuffer_h
+#include <JavaScriptCore/ArrayBuffer.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_ArrayBufferView_h
+#define WebCore_FWD_ArrayBufferView_h
+#include <JavaScriptCore/ArrayBufferView.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Float32Array_h
+#define WebCore_FWD_Float32Array_h
+#include <JavaScriptCore/Float32Array.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Float64Array_h
+#define WebCore_FWD_Float64Array_h
+#include <JavaScriptCore/Float64Array.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Int16Array_h
+#define WebCore_FWD_Int16Array_h
+#include <JavaScriptCore/Int16Array.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Int32Array_h
+#define WebCore_FWD_Int32Array_h
+#include <JavaScriptCore/Int32Array.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Int8Array_h
+#define WebCore_FWD_Int8Array_h
+#include <JavaScriptCore/Int8Array.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_IntegralTypedArrayBase_h
+#define WebCore_FWD_IntegralTypedArrayBase_h
+#include <JavaScriptCore/IntegralTypedArrayBase.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_TypedArrayBase_h
+#define WebCore_FWD_TypedArrayBase_h
+#include <JavaScriptCore/TypedArrayBase.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Uint16Array_h
+#define WebCore_FWD_Uint16Array_h
+#include <JavaScriptCore/Uint16Array.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Uint32Array_h
+#define WebCore_FWD_Uint32Array_h
+#include <JavaScriptCore/Uint32Array.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Uint8Array_h
+#define WebCore_FWD_Uint8Array_h
+#include <JavaScriptCore/Uint8Array.h>
+#endif
--- /dev/null
+#ifndef WebCore_FWD_Uint8ClampedArray_h
+#define WebCore_FWD_Uint8ClampedArray_h
+#include <JavaScriptCore/Uint8ClampedArray.h>
+#endif
#if ENABLE(ENCRYPTED_MEDIA_V2)
+#include <runtime/Uint8Array.h>
#include <wtf/Forward.h>
#include <wtf/PassRefPtr.h>
-#include <wtf/Uint8Array.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
#include "MediaKeyMessageEvent.h"
#include "EventNames.h"
-#include <wtf/Uint8Array.h>
+#include <runtime/Uint8Array.h>
namespace WebCore {
#include "MediaKeyNeededEvent.h"
#include "EventNames.h"
-#include <wtf/Uint8Array.h>
+#include <runtime/Uint8Array.h>
namespace WebCore {
#include "EventTarget.h"
#include "ExceptionCode.h"
#include "Timer.h"
+#include <runtime/Uint8Array.h>
#include <wtf/Deque.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
-#include <wtf/Uint8Array.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
#include "CDM.h"
#include "EventTarget.h"
#include "ExceptionCode.h"
+#include <runtime/Uint8Array.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
-#include <wtf/Uint8Array.h>
#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
#include "MIMETypeRegistry.h"
#include "SourceBufferPrivate.h"
#include "TimeRanges.h"
-#include <wtf/Uint8Array.h>
+#include <runtime/Uint8Array.h>
namespace WebCore {
#include "MediaSource.h"
#include "SourceBufferPrivate.h"
#include "TimeRanges.h"
-#include <wtf/Uint8Array.h>
+#include <runtime/Uint8Array.h>
namespace WebCore {
#include "RTCDataChannelHandler.h"
#include "RTCPeerConnectionHandler.h"
#include "ScriptExecutionContext.h"
-#include <wtf/ArrayBuffer.h>
-#include <wtf/ArrayBufferView.h>
+#include <runtime/ArrayBuffer.h>
+#include <runtime/ArrayBufferView.h>
namespace WebCore {
#include "Navigator.h"
#include "Page.h"
#include "Vibration.h"
-#include <wtf/Uint32Array.h>
+#include <runtime/Uint32Array.h>
namespace WebCore {
void setSmoothingTimeConstant(float k, ExceptionCode&);
float smoothingTimeConstant() const { return m_analyser.smoothingTimeConstant(); }
- void getFloatFrequencyData(Float32Array* array) { m_analyser.getFloatFrequencyData(array); }
- void getByteFrequencyData(Uint8Array* array) { m_analyser.getByteFrequencyData(array); }
- void getByteTimeDomainData(Uint8Array* array) { m_analyser.getByteTimeDomainData(array); }
+ void getFloatFrequencyData(JSC::Float32Array* array) { m_analyser.getFloatFrequencyData(array); }
+ void getByteFrequencyData(JSC::Uint8Array* array) { m_analyser.getByteFrequencyData(array); }
+ void getByteTimeDomainData(JSC::Uint8Array* array) { m_analyser.getByteTimeDomainData(array); }
private:
virtual double tailTime() const OVERRIDE { return 0; }
#include "AudioBuffer.h"
#include "AudioBufferCallback.h"
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
#include <wtf/MainThread.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/RefPtr.h>
#include <wtf/Threading.h>
+namespace JSC {
+class ArrayBuffer;
+}
+
namespace WebCore {
class AudioBuffer;
~AsyncAudioDecoder();
// Must be called on the main thread.
- void decodeAsync(ArrayBuffer* audioData, float sampleRate, PassRefPtr<AudioBufferCallback> successCallback, PassRefPtr<AudioBufferCallback> errorCallback);
+ void decodeAsync(JSC::ArrayBuffer* audioData, float sampleRate, PassRefPtr<AudioBufferCallback> successCallback, PassRefPtr<AudioBufferCallback> errorCallback);
private:
class DecodingTask {
WTF_MAKE_NONCOPYABLE(DecodingTask);
public:
- static PassOwnPtr<DecodingTask> create(ArrayBuffer* audioData, float sampleRate, PassRefPtr<AudioBufferCallback> successCallback, PassRefPtr<AudioBufferCallback> errorCallback);
+ static PassOwnPtr<DecodingTask> create(JSC::ArrayBuffer* audioData, float sampleRate, PassRefPtr<AudioBufferCallback> successCallback, PassRefPtr<AudioBufferCallback> errorCallback);
void decode();
private:
- DecodingTask(ArrayBuffer* audioData, float sampleRate, PassRefPtr<AudioBufferCallback> successCallback, PassRefPtr<AudioBufferCallback> errorCallback);
+ DecodingTask(JSC::ArrayBuffer* audioData, float sampleRate, PassRefPtr<AudioBufferCallback> successCallback, PassRefPtr<AudioBufferCallback> errorCallback);
- ArrayBuffer* audioData() { return m_audioData.get(); }
+ JSC::ArrayBuffer* audioData() { return m_audioData.get(); }
float sampleRate() const { return m_sampleRate; }
AudioBufferCallback* successCallback() { return m_successCallback.get(); }
AudioBufferCallback* errorCallback() { return m_errorCallback.get(); }
static void notifyCompleteDispatch(void* userData);
void notifyComplete();
- RefPtr<ArrayBuffer> m_audioData;
+ RefPtr<JSC::ArrayBuffer> m_audioData;
float m_sampleRate;
RefPtr<AudioBufferCallback> m_successCallback;
RefPtr<AudioBufferCallback> m_errorCallback;
#ifndef AudioBuffer_h
#define AudioBuffer_h
-#include <wtf/Float32Array.h>
+#include <runtime/Float32Array.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
#include "GStreamerUtilities.h"
#endif
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
#include <wtf/Atomics.h>
#include <wtf/MainThread.h>
#include <wtf/OwnPtr.h>
#include "AudioContext.h"
#include "AudioParamTimeline.h"
#include "AudioSummingJunction.h"
+#include <runtime/Float32Array.h>
#include <sys/types.h>
-#include <wtf/Float32Array.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
#define AudioParamTimeline_h
#include "AudioContext.h"
-#include <wtf/Float32Array.h>
+#include <runtime/Float32Array.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/Threading.h>
#define PeriodicWave_h
#include "AudioArray.h"
-#include <wtf/Float32Array.h>
+#include <runtime/Float32Array.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include "VectorMath.h"
#include <algorithm>
#include <complex>
-#include <wtf/Float32Array.h>
+#include <runtime/Float32Array.h>
+#include <runtime/Uint8Array.h>
#include <wtf/MainThread.h>
#include <wtf/MathExtras.h>
-#include <wtf/Uint8Array.h>
namespace WebCore {
#include <wtf/Noncopyable.h>
#include <wtf/OwnPtr.h>
+namespace JSC {
+class Float32Array;
+class Uint8Array;
+}
+
namespace WebCore {
class AudioBus;
void setSmoothingTimeConstant(float k) { m_smoothingTimeConstant = k; }
float smoothingTimeConstant() const { return static_cast<float>(m_smoothingTimeConstant); }
- void getFloatFrequencyData(Float32Array*);
- void getByteFrequencyData(Uint8Array*);
- void getByteTimeDomainData(Uint8Array*);
+ void getFloatFrequencyData(JSC::Float32Array*);
+ void getByteFrequencyData(JSC::Uint8Array*);
+ void getByteTimeDomainData(JSC::Uint8Array*);
// The audio thread writes input data here.
void writeInput(AudioBus*, size_t framesToProcess);
#include "AudioNodeOutput.h"
#include "AudioProcessingEvent.h"
#include "Document.h"
-#include <wtf/Float32Array.h>
+#include <runtime/Float32Array.h>
#include <wtf/MainThread.h>
namespace WebCore {
#include "AudioDSPKernel.h"
#include "AudioDSPKernelProcessor.h"
#include "AudioNode.h"
-#include <wtf/Float32Array.h>
+#include <runtime/Float32Array.h>
#include <wtf/RefPtr.h>
#include <wtf/Threading.h>
#include <wtf/Noncopyable.h>
#include <wtf/PassRefPtr.h>
+namespace JSC {
+class ArrayBuffer;
+class ArrayBufferView;
+}
+
namespace WebCore {
class Blob;
virtual String subprotocol() = 0; // Will be available after didConnect() callback is invoked.
virtual String extensions() = 0; // Will be available after didConnect() callback is invoked.
virtual SendResult send(const String& message) = 0;
- virtual SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) = 0;
+ virtual SendResult send(const JSC::ArrayBuffer&, unsigned byteOffset, unsigned byteLength) = 0;
virtual SendResult send(const Blob&) = 0;
virtual unsigned long bufferedAmount() const = 0;
virtual void close(int code, const String& reason) = 0;
#include "SecurityOrigin.h"
#include "ThreadableWebSocketChannel.h"
#include "WebSocketChannel.h"
-#include <wtf/ArrayBuffer.h>
-#include <wtf/ArrayBufferView.h>
+#include <runtime/ArrayBuffer.h>
+#include <runtime/ArrayBufferView.h>
#include <wtf/HashSet.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
void connect(const String& url, const Vector<String>& protocols, ExceptionCode&);
void send(const String& message, ExceptionCode&);
- void send(ArrayBuffer*, ExceptionCode&);
- void send(ArrayBufferView*, ExceptionCode&);
+ void send(JSC::ArrayBuffer*, ExceptionCode&);
+ void send(JSC::ArrayBufferView*, ExceptionCode&);
void send(Blob*, ExceptionCode&);
void close(int code, const String& reason, ExceptionCode&);
#include "WebSocketChannelClient.h"
#include "WebSocketHandshake.h"
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
#include <wtf/Deque.h>
#include <wtf/FastMalloc.h>
#include <wtf/HashMap.h>
virtual String subprotocol() OVERRIDE;
virtual String extensions() OVERRIDE;
virtual ThreadableWebSocketChannel::SendResult send(const String& message) OVERRIDE;
- virtual ThreadableWebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
+ virtual ThreadableWebSocketChannel::SendResult send(const JSC::ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
virtual ThreadableWebSocketChannel::SendResult send(const Blob&) OVERRIDE;
virtual unsigned long bufferedAmount() const OVERRIDE;
virtual void close(int code, const String& reason) OVERRIDE; // Start closing handshake.
#include "WorkerLoaderProxy.h"
#include "WorkerRunLoop.h"
#include "WorkerThread.h"
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
#include <wtf/MainThread.h>
#include <wtf/PassRefPtr.h>
#include <wtf/text/WTFString.h>
virtual String subprotocol() OVERRIDE;
virtual String extensions() OVERRIDE;
virtual ThreadableWebSocketChannel::SendResult send(const String& message) OVERRIDE;
- virtual ThreadableWebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
+ virtual ThreadableWebSocketChannel::SendResult send(const JSC::ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
virtual ThreadableWebSocketChannel::SendResult send(const Blob&) OVERRIDE;
virtual unsigned long bufferedAmount() const OVERRIDE;
virtual void close(int code, const String& reason) OVERRIDE;
void connect(const KURL&, const String& protocol);
void send(const String& message);
- void send(const ArrayBuffer&);
+ void send(const JSC::ArrayBuffer&);
void send(const Blob&);
void bufferedAmount();
void close(int code, const String& reason);
void initialize();
void connect(const KURL&, const String& protocol);
ThreadableWebSocketChannel::SendResult send(const String& message);
- ThreadableWebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength);
+ ThreadableWebSocketChannel::SendResult send(const JSC::ArrayBuffer&, unsigned byteOffset, unsigned byteLength);
ThreadableWebSocketChannel::SendResult send(const Blob&);
unsigned long bufferedAmount();
void close(int code, const String& reason);
__ZN7WebCore21SerializedScriptValue11deserializeEPK15OpaqueJSContextPPK13OpaqueJSValue
__ZN7WebCore21SerializedScriptValue11deserializeEPN3JSC9ExecStateEPNS1_14JSGlobalObjectEPN3WTF6VectorINS6_6RefPtrINS_11MessagePortEEELm1ENS6_15CrashOnOverflowEEENS_22SerializationErrorModeE
__ZN7WebCore21SerializedScriptValue6createEPK15OpaqueJSContextPK13OpaqueJSValuePS6_
-__ZN7WebCore21SerializedScriptValue6createEPN3JSC9ExecStateENS1_7JSValueEPN3WTF6VectorINS5_6RefPtrINS_11MessagePortEEELm1ENS5_15CrashOnOverflowEEEPNS6_INS7_INS5_11ArrayBufferEEELm1ESA_EENS_22SerializationErrorModeE
+__ZN7WebCore21SerializedScriptValue6createEPN3JSC9ExecStateENS1_7JSValueEPN3WTF6VectorINS5_6RefPtrINS_11MessagePortEEELm1ENS5_15CrashOnOverflowEEEPNS6_INS7_INS1_11ArrayBufferEEELm1ESA_EENS_22SerializationErrorModeE
__ZN7WebCore21SerializedScriptValue6createERKN3WTF6StringE
__ZN7WebCore21SerializedScriptValueC1ERN3WTF6VectorIhLm0ENS1_15CrashOnOverflowEEE
__ZN7WebCore21SerializedScriptValueD1Ev
__ZN7WebCore4PathD1Ev
__ZN7WebCore4coreEP20NSURLProtectionSpace
__ZN7WebCore4coreEP28NSURLAuthenticationChallenge
-__ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPN3WTF11ArrayBufferE
+__ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS0_11ArrayBufferE
__ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_10ClientRectE
__ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_13DOMStringListE
__ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_14ClientRectListE
#include "JSArrayBuffer.h"
#include "ExceptionCode.h"
+#include <runtime/ArrayBuffer.h>
#include <runtime/Error.h>
-#include <wtf/ArrayBuffer.h>
namespace WebCore {
#include "JSDOMBinding.h"
#include <interpreter/CallFrame.h>
#include <runtime/ArgList.h>
+#include <runtime/ArrayBufferView.h>
#include <runtime/Error.h>
#include <runtime/JSCJSValue.h>
#include <runtime/JSObject.h>
#include <runtime/Operations.h>
-#include <wtf/ArrayBufferView.h>
-#include <wtf/TypedArrayBase.h>
+#include <runtime/TypedArrayBase.h>
namespace WebCore {
#include "JSAudioContext.h"
#include "JSOfflineAudioContext.h"
#include "OfflineAudioContext.h"
+#include <runtime/ArrayBuffer.h>
#include <runtime/Error.h>
-#include <wtf/ArrayBuffer.h>
using namespace JSC;
#include "ExceptionCode.h"
#include "JSArrayBufferView.h"
+#include <runtime/ArrayBufferView.h>
#include <runtime/Error.h>
-#include <wtf/ArrayBufferView.h>
using namespace JSC;
#endif
static void convertValue(JSC::ExecState*, JSC::JSValue, HashSet<AtomicString>& result);
static void convertValue(JSC::ExecState*, JSC::JSValue, ArrayValue& result);
- static void convertValue(JSC::ExecState*, JSC::JSValue, RefPtr<Uint8Array>& result);
+ static void convertValue(JSC::ExecState*, JSC::JSValue, RefPtr<JSC::Uint8Array>& result);
#if ENABLE(ENCRYPTED_MEDIA)
static void convertValue(JSC::ExecState*, JSC::JSValue, RefPtr<MediaKeyError>& result);
#endif
#include "FileReader.h"
#include "JSArrayBuffer.h"
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
using namespace JSC;
#include "WebGLRenderingContext.h"
#include "WebGLVertexArrayObjectOES.h"
#include <runtime/Error.h>
+#include <runtime/Float32Array.h>
+#include <runtime/Int32Array.h>
#include <runtime/JSArray.h>
+#include <runtime/Uint32Array.h>
#include <wtf/FastMalloc.h>
-#include <wtf/Float32Array.h>
-#include <wtf/Int32Array.h>
-#include <wtf/Uint32Array.h>
#if ENABLE(VIDEO)
#include "HTMLVideoElement.h"
#include "JSEventListener.h"
#include "XMLHttpRequest.h"
#include <interpreter/StackIterator.h>
+#include <runtime/ArrayBuffer.h>
#include <runtime/Error.h>
-#include <wtf/ArrayBuffer.h>
using namespace JSC;
#include <limits>
#include <JavaScriptCore/APICast.h>
#include <JavaScriptCore/APIShims.h>
+#include <runtime/ArrayBuffer.h>
#include <runtime/BooleanObject.h>
#include <runtime/DateInstance.h>
#include <runtime/Error.h>
#include <runtime/PropertyNameArray.h>
#include <runtime/RegExp.h>
#include <runtime/RegExpObject.h>
-#include <wtf/ArrayBuffer.h>
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/HashTraits.h>
-#include <wtf/Uint8ClampedArray.h>
#include <wtf/Vector.h>
using namespace JSC;
return SuccessfullyCompleted;
}
-typedef Vector<WTF::ArrayBufferContents> ArrayBufferContentsArray;
+typedef Vector<JSC::ArrayBufferContents> ArrayBufferContentsArray;
class CloneDeserializer : CloneBase {
public:
Vector<RefPtr<DOMWrapperWorld> > worlds;
static_cast<WebCoreJSClientData*>(exec->vm().clientData)->getAllWorlds(worlds);
- HashSet<WTF::ArrayBuffer*> visited;
+ HashSet<JSC::ArrayBuffer*> visited;
for (size_t arrayBufferIndex = 0; arrayBufferIndex < arrayBuffers.size(); arrayBufferIndex++) {
Vector<RefPtr<ArrayBufferView> > neuteredViews;
#include "ScriptState.h"
#include <heap/Strong.h>
+#include <runtime/ArrayBuffer.h>
#include <runtime/JSCJSValue.h>
-#include <wtf/ArrayBuffer.h>
#include <wtf/Forward.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
class MessagePort;
typedef Vector<RefPtr<MessagePort>, 1> MessagePortArray;
-typedef Vector<RefPtr<WTF::ArrayBuffer>, 1> ArrayBufferArray;
+typedef Vector<RefPtr<JSC::ArrayBuffer>, 1> ArrayBufferArray;
enum SerializationReturnCode {
SuccessfullyCompleted,
~SerializedScriptValue();
private:
- typedef Vector<WTF::ArrayBufferContents> ArrayBufferContentsArray;
+ typedef Vector<JSC::ArrayBufferContents> ArrayBufferContentsArray;
static void maybeThrowExceptionIfSerializationFailed(JSC::ExecState*, SerializationReturnCode);
static bool serializationDidCompleteSuccessfully(SerializationReturnCode);
static PassOwnPtr<ArrayBufferContentsArray> transferArrayBuffers(JSC::ExecState*, ArrayBufferArray&, SerializationReturnCode&);
} elsif ($isCallback && $codeGenerator->IsWrapperType($type)) {
$includesRef->{"JS${type}.h"} = 1;
} elsif ($codeGenerator->IsTypedArrayType($type)) {
- $includesRef->{"<wtf/${type}.h>"} = 1;
+ $includesRef->{"<runtime/${type}.h>"} = 1;
} else {
# default, include the same named file
$includesRef->{"${type}.h"} = 1;
if ($hasParent && $interface->extendedAttributes->{"JSGenerateToNativeObject"}) {
if ($codeGenerator->IsTypedArrayType($interfaceName)) {
- $headerIncludes{"<wtf/$interfaceName.h>"} = 1;
+ $headerIncludes{"<runtime/$interfaceName.h>"} = 1;
} else {
$headerIncludes{"$interfaceName.h"} = 1;
}
# Default, include header with same name.
AddToImplIncludes("JS$type.h", $conditional);
if ($codeGenerator->IsTypedArrayType($type)) {
- AddToImplIncludes("<wtf/$type.h>", $conditional) if not $codeGenerator->SkipIncludeHeader($type);
+ AddToImplIncludes("<runtime/$type.h>", $conditional) if not $codeGenerator->SkipIncludeHeader($type);
} else {
AddToImplIncludes("$type.h", $conditional) if not $codeGenerator->SkipIncludeHeader($type);
}
#include "JSFloat32Array.h"
#include "JSInt32Array.h"
#include <runtime/Error.h>
+#include <runtime/Float64Array.h>
+#include <runtime/Int32Array.h>
#include <runtime/PropertyNameArray.h>
-#include <wtf/Float64Array.h>
#include <wtf/GetPtr.h>
-#include <wtf/Int32Array.h>
using namespace JSC;
#include "JSArrayBufferView.h"
#include "JSDOMBinding.h"
+#include <runtime/Float64Array.h>
#include <runtime/JSObject.h>
-#include <wtf/Float64Array.h>
namespace WebCore {
#include "TestObj.h"
#include "bool.h"
#include <runtime/Error.h>
+#include <runtime/Float32Array.h>
#include <runtime/JSArray.h>
#include <runtime/JSString.h>
-#include <wtf/Float32Array.h>
#include <wtf/GetPtr.h>
#if ENABLE(Condition1)
case QMetaType::QByteArray: {
if (type == RTUint8Array) {
- WTF::Uint8Array* arr = toUint8Array(toJS(toJS(context), value));
+ JSC::Uint8Array* arr = toUint8Array(toJS(toJS(context), value));
ret = QVariant(QByteArray(reinterpret_cast<const char*>(arr->data()), arr->length()));
dist = 0;
} else {
if (type == QMetaType::QByteArray) {
QByteArray qtByteArray = variant.value<QByteArray>();
- WTF::RefPtr<WTF::Uint8ClampedArray> wtfByteArray = WTF::Uint8ClampedArray::createUninitialized(qtByteArray.length());
+ WTF::RefPtr<JSC::Uint8ClampedArray> wtfByteArray = JSC::Uint8ClampedArray::createUninitialized(qtByteArray.length());
memcpy(wtfByteArray->data(), qtByteArray.constData(), qtByteArray.length());
ExecState* exec = toJS(context);
APIEntryShim entryShim(exec);
#include "MessagePort.h"
#include "ScriptValue.h"
#include "SerializedScriptValue.h"
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
namespace WebCore {
#include "Logging.h"
#include "ProgressEvent.h"
#include "ScriptExecutionContext.h"
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
#include <wtf/CurrentTime.h>
#include <wtf/text/CString.h>
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
+namespace JSC {
+class ArrayBuffer;
+}
+
namespace WebCore {
class Blob;
ReadyState readyState() const { return m_state; }
PassRefPtr<FileError> error() { return m_error; }
FileReaderLoader::ReadType readType() const { return m_readType; }
- PassRefPtr<ArrayBuffer> arrayBufferResult() const;
+ PassRefPtr<JSC::ArrayBuffer> arrayBufferResult() const;
String stringResult();
// EventTarget
#include "TextResourceDecoder.h"
#include "ThreadableBlobRegistry.h"
#include "ThreadableLoader.h"
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
+namespace JSC {
+class ArrayBuffer;
+}
+
namespace WebCore {
class Blob;
virtual void didFail(const ResourceError&);
String stringResult();
- PassRefPtr<ArrayBuffer> arrayBufferResult() const;
+ PassRefPtr<JSC::ArrayBuffer> arrayBufferResult() const;
#if ENABLE(STREAM)
PassRefPtr<Blob> blobResult();
#endif // ENABLE(STREAM)
KURL m_urlForReading;
RefPtr<ThreadableLoader> m_loader;
- RefPtr<ArrayBuffer> m_rawData;
+ RefPtr<JSC::ArrayBuffer> m_rawData;
bool m_isRawDataConverted;
String m_stringResult;
#include "BlobURL.h"
#include "FileException.h"
#include "FileReaderLoader.h"
-#include <wtf/ArrayBuffer.h>
+#include <runtime/ArrayBuffer.h>
#include <wtf/PassRefPtr.h>
namespace WebCore {
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
+namespace JSC {
+class ArrayBuffer;
+}
+
namespace WebCore {
class Blob;
virtual ~FileReaderSync() { }
- PassRefPtr<ArrayBuffer> readAsArrayBuffer(ScriptExecutionContext*, Blob*, ExceptionCode&);
+ PassRefPtr<JSC::ArrayBuffer> readAsArrayBuffer(ScriptExecutionContext*, Blob*, ExceptionCode&);
String readAsBinaryString(ScriptExecutionContext*, Blob*, ExceptionCode&);
String readAsText(ScriptExecutionContext* scriptExecutionContext, Blob* blob, ExceptionCode& ec)
{
#include "LineEnding.h"
#include "ScriptCallStack.h"
#include "TextEncoding.h"
-#include <wtf/ArrayBuffer.h>
-#include <wtf/ArrayBufferView.h>
+#include <runtime/ArrayBuffer.h>
+#include <runtime/ArrayBufferView.h>
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
#include <wtf/text/AtomicString.h>
#include "BlobData.h"
#include <wtf/Forward.h>
+namespace JSC {
+class ArrayBuffer;
+class ArrayBufferView;
+}
+
namespace WebCore {
// FIXME: Move this file to BlobBuilder.h
void append(Blob*);
void append(const String& text, const String& ending);
#if ENABLE(BLOB)
- void append(ArrayBuffer*);
- void append(ArrayBufferView*);
+ void append(JSC::ArrayBuffer*);
+ void append(JSC::ArrayBufferView*);
#endif
PassRefPtr<Blob> getBlob(const String& contentType);
#include "ShadowRoot.h"
#include "TimeRanges.h"
#include <limits>
+#include <runtime/Uint8Array.h>
#include <wtf/CurrentTime.h>
#include <wtf/MathExtras.h>
#include <wtf/NonCopyingSort.h>
-#include <wtf/Uint8Array.h>
#include <wtf/text/CString.h>
#if USE(ACCELERATED_COMPOSITING)
#define ImageData_h
#include "IntSize.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
-#include <wtf/Uint8ClampedArray.h>
namespace WebCore {
#if ENABLE(ENCRYPTED_MEDIA) || ENABLE(ENCRYPTED_MEDIA_V2)
+#include <runtime/Uint8Array.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include "MediaKeyEvent.h"
#include "EventNames.h"
-#include <wtf/Uint8Array.h>
+#include <runtime/Uint8Array.h>
namespace WebCore {
GenerateIsReachable=Impl,
CustomConstructor(unsigned long length),
JSNoStaticTables,
- ImplementationNamespace=WTF,
+ ImplementationNamespace=JSC,
ImplementationLacksVTable
] interface ArrayBuffer {
readonly attribute unsigned long byteLength;
[
CustomToJSObject,
JSNoStaticTables,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface ArrayBufferView {
readonly attribute ArrayBuffer buffer;
readonly attribute unsigned long byteOffset;
#include "RenderLayer.h"
#endif
+#include <runtime/Uint8ClampedArray.h>
+
#include <wtf/CheckedArithmetic.h>
#include <wtf/MathExtras.h>
#include <wtf/OwnPtr.h>
-#include <wtf/Uint8ClampedArray.h>
#include <wtf/text/StringBuilder.h>
#if USE(CG)
#ifndef DataView_h
#define DataView_h
-#include <wtf/ArrayBufferView.h>
+#include <runtime/ArrayBufferView.h>
#include <wtf/PassRefPtr.h>
namespace WebCore {
CustomToJSObject,
DoNotCheckConstants,
TypedArray=float,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Float32Array : ArrayBufferView {
const unsigned long BYTES_PER_ELEMENT = 4;
CustomToJSObject,
DoNotCheckConstants,
TypedArray=double,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Float64Array : ArrayBufferView {
const unsigned long BYTES_PER_ELEMENT = 8;
CustomToJSObject,
DoNotCheckConstants,
TypedArray=short,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Int16Array : ArrayBufferView {
const unsigned long BYTES_PER_ELEMENT = 2;
CustomToJSObject,
DoNotCheckConstants,
TypedArray=int,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Int32Array : ArrayBufferView {
const unsigned long BYTES_PER_ELEMENT = 4;
CustomToJSObject,
DoNotCheckConstants,
TypedArray=signed char,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Int8Array : ArrayBufferView {
const unsigned long BYTES_PER_ELEMENT = 1;
CustomToJSObject,
DoNotCheckConstants,
TypedArray=unsigned short,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Uint16Array : ArrayBufferView {
const unsigned long BYTES_PER_ELEMENT = 2;
CustomToJSObject,
DoNotCheckConstants,
TypedArray=unsigned int,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Uint32Array : ArrayBufferView {
const unsigned long BYTES_PER_ELEMENT = 4;
CustomToJSObject,
DoNotCheckConstants,
TypedArray=unsigned char,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Uint8Array : ArrayBufferView {
const unsigned long BYTES_PER_ELEMENT = 1;
CustomToJSObject,
DoNotCheckConstants,
TypedArray=unsigned char,
- ImplementationNamespace=WTF
+ ImplementationNamespace=JSC
] interface Uint8ClampedArray : Uint8Array {
const unsigned long BYTES_PER_ELEMENT = 1;
#include <wtf/Forward.h>
+namespace JSC {
+class ArrayBuffer;
+class ArrayBufferView;
+}
+
namespace WebCore {
class WebGLBuffer : public WebGLSharedObject {
static PassRefPtr<WebGLBuffer> create(WebGLRenderingContext*);
bool associateBufferData(GC3Dsizeiptr size);
- bool associateBufferData(ArrayBuffer*);
- bool associateBufferData(ArrayBufferView*);
- bool associateBufferSubData(GC3Dintptr offset, ArrayBuffer*);
- bool associateBufferSubData(GC3Dintptr offset, ArrayBufferView*);
+ bool associateBufferData(JSC::ArrayBuffer*);
+ bool associateBufferData(JSC::ArrayBufferView*);
+ bool associateBufferSubData(GC3Dintptr offset, JSC::ArrayBuffer*);
+ bool associateBufferSubData(GC3Dintptr offset, JSC::ArrayBufferView*);
GC3Dsizeiptr byteLength() const;
- const ArrayBuffer* elementArrayBuffer() const { return m_elementArrayBuffer.get(); }
+ const JSC::ArrayBuffer* elementArrayBuffer() const { return m_elementArrayBuffer.get(); }
// Gets the cached max index for the given type. Returns -1 if
// none has been set.
GC3Denum m_target;
- RefPtr<ArrayBuffer> m_elementArrayBuffer;
+ RefPtr<JSC::ArrayBuffer> m_elementArrayBuffer;
GC3Dsizeiptr m_byteLength;
// Optimization for index validation. For each type of index
#include "WebGLRenderbuffer.h"
#include "WebGLTexture.h"
#include "WebGLVertexArrayObjectOES.h"
-#include <wtf/Float32Array.h>
-#include <wtf/Int32Array.h>
-#include <wtf/Uint32Array.h>
-#include <wtf/Uint8Array.h>
+#include <runtime/Float32Array.h>
+#include <runtime/Int32Array.h>
+#include <runtime/Uint32Array.h>
+#include <runtime/Uint8Array.h>
namespace WebCore {
#include "WebGLRenderbuffer.h"
#include "WebGLTexture.h"
#include "WebGLVertexArrayObjectOES.h"
-#include <wtf/Float32Array.h>
-#include <wtf/Int32Array.h>
+#include <runtime/Float32Array.h>
+#include <runtime/Int32Array.h>
+#include <runtime/Uint32Array.h>
+#include <runtime/Uint8Array.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
-#include <wtf/Uint32Array.h>
-#include <wtf/Uint8Array.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
#include "WebGLTexture.h"
#include "WebGLUniformLocation.h"
+#include <runtime/Uint32Array.h>
#include <wtf/OwnArrayPtr.h>
#include <wtf/PassOwnArrayPtr.h>
-#include <wtf/Uint32Array.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringBuilder.h>
#include "Timer.h"
#include "WebGLGetInfo.h"
-#include <wtf/Float32Array.h>
-#include <wtf/Int32Array.h>
+#include <runtime/Float32Array.h>
+#include <runtime/Int32Array.h>
#include <wtf/OwnArrayPtr.h>
#include <wtf/text/WTFString.h>
#include "ScriptGCEvent.h"
#include "ScriptProfiler.h"
#include "StyledElement.h"
-#include <wtf/ArrayBufferView.h>
+#include <runtime/ArrayBufferView.h>
#include <wtf/HashSet.h>
#include <wtf/NonCopyingSort.h>
#include <wtf/OwnPtr.h>
#include "ExceptionCode.h"
#include "ScriptWrappableInlines.h"
-#include <wtf/ArrayBufferView.h>
+#include <runtime/ArrayBufferView.h>
#include <wtf/CryptographicallyRandomNumber.h>
namespace WebCore {
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
+namespace JSC {
+class ArrayBufferView;
+}
+
namespace WebCore {
typedef int ExceptionCode;
public:
static PassRefPtr<Crypto> create() { return adoptRef(new Crypto()); }
- void getRandomValues(ArrayBufferView*, ExceptionCode&);
+ void getRandomValues(JSC::ArrayBufferView*, ExceptionCode&);
private:
Crypto();
#include "GraphicsContext3DNEON.h"
#endif
-#include <wtf/ArrayBufferView.h>
+#include <runtime/ArrayBufferView.h>
#include <wtf/OwnArrayPtr.h>
#include <wtf/PassOwnArrayPtr.h>
#include "GraphicsTypes3D.h"
#include "IntSize.h"
#include "ImageBufferData.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/Forward.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/PassRefPtr.h>
-#include <wtf/Uint8ClampedArray.h>
#include <wtf/Vector.h>
namespace WebCore {
#include "LayoutRect.h"
#include "Timer.h"
#include "VideoTrackPrivate.h"
+#include <runtime/Uint8Array.h>
#include <wtf/Forward.h>
#include <wtf/HashSet.h>
#include <wtf/OwnPtr.h>
#import "WebCoreAVFResourceLoader.h"
#import "WebCoreSystemInterface.h"
#import <objc/runtime.h>
+#import <runtime/Uint16Array.h>
+#import <runtime/Uint32Array.h>
+#import <runtime/Uint8Array.h>
#import <wtf/CurrentTime.h>
-#import <wtf/Uint16Array.h>
-#import <wtf/Uint32Array.h>
-#import <wtf/Uint8Array.h>
#import <wtf/text/CString.h>
#import <AVFoundation/AVFoundation.h>
#include <BlackBerryPlatformGraphics.h>
#include <BlackBerryPlatformGuardedPointer.h>
-#include <wtf/Uint8ClampedArray.h>
+#include <runtime/Uint8ClampedArray.h>
namespace WebCore {
*/
#include "Image.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/CheckedArithmetic.h>
#include <wtf/RefPtr.h>
#include <wtf/RetainPtr.h>
-#include <wtf/Uint8ClampedArray.h>
#if (PLATFORM(MAC) && USE(CA) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070))
#define WTF_USE_IOSURFACE_CANVAS_BACKING_STORE 1
#include "RenderTreeAsText.h"
#include "TextStream.h"
-#include <wtf/Uint8ClampedArray.h>
+#include <runtime/Uint8ClampedArray.h>
typedef unsigned char (*BlendType)(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsigned char alphaB);
#include "RenderTreeAsText.h"
#include "TextStream.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
-#include <wtf/Uint8ClampedArray.h>
namespace WebCore {
#include "RenderTreeAsText.h"
#include "TextStream.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
#include <wtf/StdLibExtras.h>
-#include <wtf/Uint8ClampedArray.h>
namespace WebCore {
#include "RenderTreeAsText.h"
#include "TextStream.h"
-#include <wtf/Uint8ClampedArray.h>
+#include <runtime/Uint8ClampedArray.h>
namespace WebCore {
#include "RenderTreeAsText.h"
#include "TextStream.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/ParallelJobs.h>
-#include <wtf/Uint8ClampedArray.h>
namespace WebCore {
#include "RenderTreeAsText.h"
#include "TextStream.h"
-#include <wtf/Uint8ClampedArray.h>
+#include <runtime/Uint8ClampedArray.h>
namespace WebCore {
#include "RenderTreeAsText.h"
#include "TextStream.h"
-#include <wtf/Uint8ClampedArray.h>
+#include <runtime/Uint8ClampedArray.h>
namespace WebCore {
#include "RenderTreeAsText.h"
#include "ShadowBlur.h"
#include "TextStream.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
-#include <wtf/Uint8ClampedArray.h>
using namespace std;
#include "RenderTreeAsText.h"
#include "TextStream.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
#include <wtf/ParallelJobs.h>
-#include <wtf/Uint8ClampedArray.h>
using namespace std;
#include "LightSource.h"
#include "PointLightSource.h"
#include "SpotLightSource.h"
-#include <wtf/Uint8ClampedArray.h>
+#include <runtime/Uint8ClampedArray.h>
// Common base class for FEDiffuseLighting and FESpecularLighting
#include "RenderTreeAsText.h"
#include "TextStream.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/ParallelJobs.h>
-#include <wtf/Uint8ClampedArray.h>
#include <wtf/Vector.h>
using std::min;
#include "RenderTreeAsText.h"
#include "TextStream.h"
+#include <runtime/Uint8ClampedArray.h>
#include <wtf/MathExtras.h>
#include <wtf/ParallelJobs.h>
-#include <wtf/Uint8ClampedArray.h>
namespace WebCore {
#include "Filter.h"
#include "ImageBuffer.h"
#include "TextStream.h"
-#include <wtf/Uint8ClampedArray.h>
+#include <runtime/Uint8ClampedArray.h>
#if HAVE(ARM_NEON_INTRINSICS)
#include <arm_neon.h>
#include "FloatRect.h"
#include "IntRect.h"
+#include <runtime/Uint8ClampedArray.h>
+
#include <wtf/PassOwnPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
-#include <wtf/Uint8ClampedArray.h>
#include <wtf/Vector.h>
#if ENABLE(OPENCL)
#include <OpenGL/gl.h>
#include "WebGLLayer.h"
#include "WebGLObject.h"
-#include <wtf/ArrayBuffer.h>
-#include <wtf/ArrayBufferView.h>
-#include <wtf/Int32Array.h>
-#include <wtf/Float32Array.h>
-#include <wtf/Uint8Array.h>
+#include <runtime/ArrayBuffer.h>
+#include <runtime/ArrayBufferView.h>
+#include <runtime/Int32Array.h>
+#include <runtime/Float32Array.h>
+#include <runtime/Uint8Array.h>
#include <wtf/text/CString.h>
namespace WebCore {
#include "IntSize.h"
#include "NotImplemented.h"
#include <cstring>
-#include <wtf/ArrayBuffer.h>
-#include <wtf/ArrayBufferView.h>
-#include <wtf/Float32Array.h>
-#include <wtf/Int32Array.h>
+#include <runtime/ArrayBuffer.h>
+#include <runtime/ArrayBufferView.h>
+#include <runtime/Float32Array.h>
+#include <runtime/Int32Array.h>
+#include <runtime/Uint8Array.h>
#include <wtf/MainThread.h>
#include <wtf/OwnArrayPtr.h>
-#include <wtf/Uint8Array.h>
#include <wtf/text/CString.h>
#if USE(OPENGL_ES_2)
#include "ContextDestructionObserver.h"
#include "ExceptionCodePlaceholder.h"
#include "NodeList.h"
-#include <wtf/ArrayBuffer.h>
-#include <wtf/Float32Array.h>
+#include <runtime/ArrayBuffer.h>
+#include <runtime/Float32Array.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
#include "CDM.h"
#include "MediaKeyError.h"
-#include <wtf/Uint8Array.h>
+#include <runtime/Uint8Array.h>
namespace WebCore {
static Uint8Array* keyPrefix()
{
static const unsigned char prefixData[] = {'k', 'e', 'y'};
- DEFINE_STATIC_LOCAL(RefPtr<WTF::Uint8Array>, prefix, ());
+ DEFINE_STATIC_LOCAL(RefPtr<JSC::Uint8Array>, prefix, ());
static bool initialized = false;
if (!initialized) {
initialized = true;
static Uint8Array* keyRequest()
{
static const unsigned char requestData[] = {'r', 'e', 'q', 'u', 'e', 's', 't'};
- DEFINE_STATIC_LOCAL(RefPtr<WTF::Uint8Array>, request, ());
+ DEFINE_STATIC_LOCAL(RefPtr<JSC::Uint8Array>, request, ());
static bool initialized = false;
if (!initialized) {
initialized = true;
#include "XMLHttpRequestUpload.h"
#include "markup.h"
#include <heap/Strong.h>
+#include <runtime/ArrayBuffer.h>
+#include <runtime/ArrayBufferView.h>
#include <runtime/JSLock.h>
#include <runtime/Operations.h>
-#include <wtf/ArrayBuffer.h>
-#include <wtf/ArrayBufferView.h>
#include <wtf/RefCountedLeakCounter.h>
#include <wtf/StdLibExtras.h>
#include <wtf/text/CString.h>
#include <wtf/text/AtomicStringHash.h>
#include <wtf/text/StringBuilder.h>
+namespace JSC {
+class ArrayBuffer;
+class ArrayBufferView;
+}
+
namespace WebCore {
class Blob;
void send(const String&, ExceptionCode&);
void send(Blob*, ExceptionCode&);
void send(DOMFormData*, ExceptionCode&);
- void send(ArrayBuffer*, ExceptionCode&);
- void send(ArrayBufferView*, ExceptionCode&);
+ void send(JSC::ArrayBuffer*, ExceptionCode&);
+ void send(JSC::ArrayBufferView*, ExceptionCode&);
void abort();
void setRequestHeader(const AtomicString& name, const String& value, ExceptionCode&);
void overrideMimeType(const String& override);
ResponseTypeCode responseTypeCode() const { return m_responseTypeCode; }
// response attribute has custom getter.
- ArrayBuffer* responseArrayBuffer(ExceptionCode&);
- ArrayBuffer* optionalResponseArrayBuffer() const { return m_responseArrayBuffer.get(); }
+ JSC::ArrayBuffer* responseArrayBuffer(ExceptionCode&);
+ JSC::ArrayBuffer* optionalResponseArrayBuffer() const { return m_responseArrayBuffer.get(); }
void setLastSendLineNumber(unsigned lineNumber) { m_lastSendLineNumber = lineNumber; }
void setLastSendURL(const String& url) { m_lastSendURL = url; }
mutable RefPtr<Document> m_responseDocument;
RefPtr<SharedBuffer> m_binaryResponseBuilder;
- mutable RefPtr<ArrayBuffer> m_responseArrayBuffer;
+ mutable RefPtr<JSC::ArrayBuffer> m_responseArrayBuffer;
bool m_error;