Skip to content
Permalink
Browse files
[JSC] Enable resizable ArrayBuffer
https://bugs.webkit.org/show_bug.cgi?id=248324
rdar://102653781

Reviewed by Ross Kirsling.

Enable resizable ArrayBuffer as we implement all features and JIT optimizations.

* Source/JavaScriptCore/runtime/OptionsList.h:

Canonical link: https://commits.webkit.org/257005@main
  • Loading branch information
Constellation committed Nov 25, 2022
1 parent 23879e6 commit 1940a7d26a1a4de6a6e3af0aadd0042451667367
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
@@ -8,6 +8,10 @@ bar = 42
20
slice
byteLength
resize
transfer
resizable
maxByteLength
constructor
aaa
foo
@@ -19,6 +23,10 @@ foo = 20
bar = 42
slice
byteLength
resize
transfer
resizable
maxByteLength
constructor
aaa
foo
@@ -291,6 +291,16 @@ EXPRESSION: new ArrayBuffer(16)
"_name": "byteLength",
"_type": "number",
"_value": "16"
},
{
"_name": "resizable",
"_type": "boolean",
"_value": "false"
},
{
"_name": "maxByteLength",
"_type": "number",
"_value": "16"
}
],
"_entries": null
@@ -552,7 +552,7 @@ bool canUseWebAssemblyFastMemory();
v(Bool, useImportAssertion, true, Normal, "Enable import assertion.") \
v(Bool, useIntlEnumeration, true, Normal, "Expose the Intl enumeration APIs.") \
v(Bool, useIntlDurationFormat, true, Normal, "Expose the Intl DurationFormat.") \
v(Bool, useResizableArrayBuffer, false, Normal, "Expose ResizableArrayBuffer feature.") \
v(Bool, useResizableArrayBuffer, true, Normal, "Expose ResizableArrayBuffer feature.") \
v(Bool, useSharedArrayBuffer, false, Normal, nullptr) \
v(Bool, useShadowRealm, false, Normal, "Expose the ShadowRealm object.") \
v(Bool, useTemporal, false, Normal, "Expose the Temporal object.") \

0 comments on commit 1940a7d

Please sign in to comment.