GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: V8: cherry-pick 1e35f6472510 · nodejs/node@a4a9246

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • common.gypi
  • deps/v8
    • AUTHORS
    • src/builtins
      • builtins-array.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Reset this number to 0 on major V8 upgrades.
3838
# Increment by one for each non-official patch applied to deps/v8.
39-
'v8_embedder_string': '-node.50',
39+
'v8_embedder_string': '-node.51',
4040

4141
##### V8 defaults for Node.js #####
4242

Collapse file

‎deps/v8/AUTHORS‎

Copy file name to clipboardExpand all lines: deps/v8/AUTHORS
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Ben Newman <[email protected]>
6767
Ben Noordhuis <[email protected]>
6868
Benjamin Tan <[email protected]>
6969
Bert Belder <[email protected]>
70+
Brendon Tiszka <[email protected]>
7071
Burcu Dogan <[email protected]>
7172
Caitlin Potter <[email protected]>
7273
Craig Schlenter <[email protected]>
Collapse file

‎deps/v8/src/builtins/builtins-array.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/builtins/builtins-array.cc
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,9 @@ bool IterateElements(Isolate* isolate, Handle<JSReceiver> receiver,
10801080
case HOLEY_SEALED_ELEMENTS:
10811081
case HOLEY_NONEXTENSIBLE_ELEMENTS:
10821082
case HOLEY_ELEMENTS: {
1083+
// Disallow execution so the cached elements won't change mid execution.
1084+
DisallowJavascriptExecution no_js(isolate);
1085+
10831086
// Run through the elements FixedArray and use HasElement and GetElement
10841087
// to check the prototype for missing elements.
10851088
Handle<FixedArray> elements(FixedArray::cast(array->elements()), isolate);
@@ -1106,6 +1109,9 @@ bool IterateElements(Isolate* isolate, Handle<JSReceiver> receiver,
11061109
}
11071110
case HOLEY_DOUBLE_ELEMENTS:
11081111
case PACKED_DOUBLE_ELEMENTS: {
1112+
// Disallow execution so the cached elements won't change mid execution.
1113+
DisallowJavascriptExecution no_js(isolate);
1114+
11091115
// Empty array is FixedArray but not FixedDoubleArray.
11101116
if (length == 0) break;
11111117
// Run through the elements FixedArray and use HasElement and GetElement
@@ -1142,6 +1148,9 @@ bool IterateElements(Isolate* isolate, Handle<JSReceiver> receiver,
11421148
}
11431149

11441150
case DICTIONARY_ELEMENTS: {
1151+
// Disallow execution so the cached dictionary won't change mid execution.
1152+
DisallowJavascriptExecution no_js(isolate);
1153+
11451154
Handle<NumberDictionary> dict(array->element_dictionary(), isolate);
11461155
std::vector<uint32_t> indices;
11471156
indices.reserve(dict->Capacity() / 2);

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.