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: cherry-pick a4bddba from upstream V8 · nodejs/node@c97237b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • deps/v8
    • include
      • v8-version.h
    • src
      • objects.cc
      • objects.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/v8/include/v8-version.h‎

Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 6
1212
#define V8_MINOR_VERSION 2
1313
#define V8_BUILD_NUMBER 414
14-
#define V8_PATCH_LEVEL 50
14+
#define V8_PATCH_LEVEL 51
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)
Collapse file

‎deps/v8/src/objects.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/objects.cc
+2-7Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6368,13 +6368,8 @@ Smi* JSObject::GetOrCreateIdentityHash(Isolate* isolate) {
63686368
return Smi::cast(hash_obj);
63696369
}
63706370

6371-
int masked_hash;
6372-
// TODO(gsathya): Remove the loop and pass kHashMask directly to
6373-
// GenerateIdentityHash.
6374-
do {
6375-
int hash = isolate->GenerateIdentityHash(Smi::kMaxValue);
6376-
masked_hash = hash & JSReceiver::kHashMask;
6377-
} while (masked_hash == PropertyArray::kNoHashSentinel);
6371+
int masked_hash = isolate->GenerateIdentityHash(JSReceiver::kHashMask);
6372+
DCHECK_NE(PropertyArray::kNoHashSentinel, masked_hash);
63786373

63796374
SetIdentityHash(masked_hash);
63806375
return Smi::FromInt(masked_hash);
Collapse file

‎deps/v8/src/objects.h‎

Copy file name to clipboardExpand all lines: deps/v8/src/objects.h
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,8 +1954,13 @@ class PropertyArray : public HeapObject {
19541954
typedef BodyDescriptor BodyDescriptorWeak;
19551955

19561956
static const int kLengthMask = 0x3ff;
1957+
#if V8_TARGET_ARCH_64_BIT
19571958
static const int kHashMask = 0x7ffffc00;
19581959
STATIC_ASSERT(kLengthMask + kHashMask == 0x7fffffff);
1960+
#else
1961+
static const int kHashMask = 0x3ffffc00;
1962+
STATIC_ASSERT(kLengthMask + kHashMask == 0x3fffffff);
1963+
#endif
19591964

19601965
static const int kMaxLength = kLengthMask;
19611966
STATIC_ASSERT(kMaxLength > kMaxNumberOfDescriptors);

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.