WebKit Bugzilla
Attachment 346286 Details for
Bug 188231
: JSArrayBuffer should have its own JSType
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-188231-20180801121009.patch (text/plain), 2.72 KB, created by
Keith Miller
on 2018-08-01 12:10:09 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Keith Miller
Created:
2018-08-01 12:10:09 PDT
Size:
2.72 KB
patch
obsolete
>Subversion Revision: 234465 >diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog >index 0e811c4c14d036830517799867114553a970dff6..24149561b8ba31cb8874a4d6d33af55adf05ee9a 100644 >--- a/Source/JavaScriptCore/ChangeLog >+++ b/Source/JavaScriptCore/ChangeLog >@@ -1,3 +1,15 @@ >+2018-08-01 Keith Miller <keith_miller@apple.com> >+ >+ JSArrayBuffer should have its own JSType >+ https://bugs.webkit.org/show_bug.cgi?id=188231 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * runtime/JSArrayBuffer.cpp: >+ (JSC::JSArrayBuffer::createStructure): >+ * runtime/JSCast.h: >+ * runtime/JSType.h: >+ > 2018-07-31 Keith Miller <keith_miller@apple.com> > > Unreviewed 32-bit build fix... >diff --git a/Source/JavaScriptCore/runtime/JSArrayBuffer.cpp b/Source/JavaScriptCore/runtime/JSArrayBuffer.cpp >index 6f7c527f1321bf55a28378fcd82680c1f3e1b7b8..7843ae3481bcee40f475d47be6b4c6854a22975a 100644 >--- a/Source/JavaScriptCore/runtime/JSArrayBuffer.cpp >+++ b/Source/JavaScriptCore/runtime/JSArrayBuffer.cpp >@@ -64,7 +64,7 @@ Structure* JSArrayBuffer::createStructure( > VM& vm, JSGlobalObject* globalObject, JSValue prototype) > { > return Structure::create( >- vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info(), >+ vm, globalObject, prototype, TypeInfo(ArrayBufferType, StructureFlags), info(), > NonArray); > } > >diff --git a/Source/JavaScriptCore/runtime/JSCast.h b/Source/JavaScriptCore/runtime/JSCast.h >index e53ebc741a9c8c7d65ead129937b671a5d96fe26..a369d48966262aa1b629f343cb24f1f7463ac5f7 100644 >--- a/Source/JavaScriptCore/runtime/JSCast.h >+++ b/Source/JavaScriptCore/runtime/JSCast.h >@@ -53,6 +53,7 @@ inline To jsCast(JSValue from) > macro(JSFunction, JSType::JSFunctionType, JSType::JSFunctionType) \ > macro(InternalFunction, JSType::InternalFunctionType, JSType::InternalFunctionType) \ > macro(JSArray, JSType::ArrayType, JSType::DerivedArrayType) \ >+ macro(JSArrayBuffer, JSType::ArrayBufferType, JSType::ArrayBufferType) \ > macro(JSArrayBufferView, FirstTypedArrayType, LastTypedArrayType) \ > macro(JSSet, JSType::JSSetType, JSType::JSSetType) \ > macro(JSMap, JSType::JSMapType, JSType::JSMapType) \ >diff --git a/Source/JavaScriptCore/runtime/JSType.h b/Source/JavaScriptCore/runtime/JSType.h >index 0cccfacea45af5f08e12066322e994def8ee0ddf..a8a50ccbb81387917e315ee02dbe9173ded03cb4 100644 >--- a/Source/JavaScriptCore/runtime/JSType.h >+++ b/Source/JavaScriptCore/runtime/JSType.h >@@ -71,6 +71,8 @@ enum JSType : uint8_t { > DerivedArrayType, > // End JSArray types. > >+ ArrayBufferType, >+ > // Start JSArrayBufferView types. Keep in sync with the order of FOR_EACH_TYPED_ARRAY_TYPE_EXCLUDING_DATA_VIEW. > Int8ArrayType, > Uint8ArrayType,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
saam
:
review+
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 188231
: 346286