diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-12-04 08:20:37 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-12-06 15:23:33 +0100 |
commit | 9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3 (patch) | |
tree | 2b0c843168dafb939d8df8a15b2aa72b76dee51d /deps/v8/src/objects/prototype-info-inl.h | |
parent | b8fbe69db1292307adb2c2b2e0d5ef48c4ab2faf (diff) | |
download | android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.tar.gz android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.tar.bz2 android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.zip |
deps: update V8 to 7.1.302.28
PR-URL: https://github.com/nodejs/node/pull/23423
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/src/objects/prototype-info-inl.h')
-rw-r--r-- | deps/v8/src/objects/prototype-info-inl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/objects/prototype-info-inl.h b/deps/v8/src/objects/prototype-info-inl.h index 298674eb10..24e219d46c 100644 --- a/deps/v8/src/objects/prototype-info-inl.h +++ b/deps/v8/src/objects/prototype-info-inl.h @@ -20,7 +20,7 @@ namespace internal { CAST_ACCESSOR(PrototypeInfo) Map* PrototypeInfo::ObjectCreateMap() { - return Map::cast(object_create_map()->ToWeakHeapObject()); + return Map::cast(object_create_map()->GetHeapObjectAssumeWeak()); } // static @@ -31,7 +31,7 @@ void PrototypeInfo::SetObjectCreateMap(Handle<PrototypeInfo> info, bool PrototypeInfo::HasObjectCreateMap() { MaybeObject* cache = object_create_map(); - return cache->IsWeakHeapObject(); + return cache->IsWeak(); } ACCESSORS(PrototypeInfo, module_namespace, Object, kJSModuleNamespaceOffset) @@ -51,7 +51,7 @@ void PrototypeUsers::MarkSlotEmpty(WeakArrayList* array, int index) { } Smi* PrototypeUsers::empty_slot_index(WeakArrayList* array) { - return array->Get(kEmptySlotIndex)->ToSmi(); + return array->Get(kEmptySlotIndex)->cast<Smi>(); } void PrototypeUsers::set_empty_slot_index(WeakArrayList* array, int index) { |