Skip to content

Commit 80f2b67

Browse files
committed
deps: patch V8 to 7.8.279.14
Refs: v8/v8@7.8.279.12...7.8.279.14 PR-URL: #29694 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
1 parent eeafb26 commit 80f2b67

File tree

6 files changed

+15
-30
lines changed

6 files changed

+15
-30
lines changed

deps/v8/include/v8-version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 7
1212
#define V8_MINOR_VERSION 8
1313
#define V8_BUILD_NUMBER 279
14-
#define V8_PATCH_LEVEL 12
14+
#define V8_PATCH_LEVEL 14
1515

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

deps/v8/src/heap/heap.cc

-4
Original file line numberDiff line numberDiff line change
@@ -3397,10 +3397,6 @@ void Heap::NotifyObjectLayoutChange(HeapObject object, int size,
33973397
->RegisterObjectWithInvalidatedSlots<OLD_TO_OLD>(object, size);
33983398
}
33993399
}
3400-
if (MayContainRecordedSlots(object)) {
3401-
MemoryChunk::FromHeapObject(object)
3402-
->RegisterObjectWithInvalidatedSlots<OLD_TO_NEW>(object, size);
3403-
}
34043400
#ifdef VERIFY_HEAP
34053401
if (FLAG_verify_heap) {
34063402
DCHECK(pending_layout_change_object_.is_null());

deps/v8/src/heap/mark-compact.cc

+1-12
Original file line numberDiff line numberDiff line change
@@ -3419,18 +3419,7 @@ class RememberedSetUpdatingItem : public UpdatingItem {
34193419
SlotSet::PREFREE_EMPTY_BUCKETS);
34203420
}
34213421

3422-
if (chunk_->invalidated_slots<OLD_TO_NEW>() != nullptr) {
3423-
#ifdef DEBUG
3424-
for (auto object_size : *chunk_->invalidated_slots<OLD_TO_NEW>()) {
3425-
HeapObject object = object_size.first;
3426-
int size = object_size.second;
3427-
DCHECK_LE(object.SizeFromMap(object.map()), size);
3428-
}
3429-
#endif
3430-
// The invalidated slots are not needed after old-to-new slots were
3431-
// processed.
3432-
chunk_->ReleaseInvalidatedSlots<OLD_TO_NEW>();
3433-
}
3422+
DCHECK_NULL(chunk_->invalidated_slots<OLD_TO_NEW>());
34343423

34353424
if ((updating_mode_ == RememberedSetUpdatingMode::ALL) &&
34363425
(chunk_->slot_set<OLD_TO_OLD, AccessMode::NON_ATOMIC>() != nullptr)) {

deps/v8/src/heap/scavenger.cc

+1-12
Original file line numberDiff line numberDiff line change
@@ -439,18 +439,7 @@ void Scavenger::ScavengePage(MemoryChunk* page) {
439439
},
440440
SlotSet::KEEP_EMPTY_BUCKETS);
441441

442-
if (page->invalidated_slots<OLD_TO_NEW>() != nullptr) {
443-
#ifdef DEBUG
444-
for (auto object_size : *page->invalidated_slots<OLD_TO_NEW>()) {
445-
HeapObject object = object_size.first;
446-
int size = object_size.second;
447-
DCHECK_LE(object.SizeFromMap(object.map()), size);
448-
}
449-
#endif
450-
// The invalidated slots are not needed after old-to-new slots were
451-
// processed.
452-
page->ReleaseInvalidatedSlots<OLD_TO_NEW>();
453-
}
442+
DCHECK_NULL(page->invalidated_slots<OLD_TO_NEW>());
454443

455444
RememberedSet<OLD_TO_NEW>::IterateTyped(
456445
page, [=](SlotType type, Address addr) {

deps/v8/src/ic/ic.cc

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "src/ic/ic.h"
66

7+
#include "include/v8config.h"
78
#include "src/api/api-arguments-inl.h"
89
#include "src/api/api.h"
910
#include "src/ast/ast.h"
@@ -651,6 +652,10 @@ void IC::PatchCache(Handle<Name> name, const MaybeObjectHandle& handler) {
651652
}
652653
}
653654

655+
#if defined(__clang__) && defined(V8_OS_WIN)
656+
// Force function alignment to work around CPU bug: https://crbug.com/968683
657+
__attribute__((__aligned__(32)))
658+
#endif
654659
void LoadIC::UpdateCaches(LookupIterator* lookup) {
655660
Handle<Object> code;
656661
if (lookup->state() == LookupIterator::ACCESS_CHECK) {

deps/v8/src/objects/lookup.cc

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "src/objects/lookup.h"
66

7+
#include "include/v8config.h"
78
#include "src/deoptimizer/deoptimizer.h"
89
#include "src/execution/isolate-inl.h"
910
#include "src/execution/protectors-inl.h"
@@ -978,7 +979,12 @@ Handle<Map> LookupIterator::GetFieldOwnerMap() const {
978979
isolate_);
979980
}
980981

981-
FieldIndex LookupIterator::GetFieldIndex() const {
982+
#if defined(__clang__) && defined(V8_OS_WIN)
983+
// Force function alignment to work around CPU bug: https://crbug.com/968683
984+
__attribute__((__aligned__(32)))
985+
#endif
986+
FieldIndex
987+
LookupIterator::GetFieldIndex() const {
982988
DCHECK(has_property_);
983989
DCHECK(holder_->HasFastProperties(isolate_));
984990
DCHECK_EQ(kField, property_details_.location());

0 commit comments

Comments
 (0)