[compiler] Replace AccessorInfo with direct reads

Bug: v8:7790
Change-Id: I0e58244a679d5fd7f597c90c6f41ac255024de3a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2403253
Reviewed-by: Georg Neis <neis@chromium.org>
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69834}
This commit is contained in:
Santiago Aboy Solanes 2020-09-10 15:20:22 +01:00 committed by Commit Bot
parent 23c2c39fa9
commit 354e4f4ae0
2 changed files with 4 additions and 2 deletions

View File

@ -62,6 +62,7 @@ enum class OddballType : uint8_t {
/* Subtypes of Name */ \
V(Symbol) \
/* Subtypes of HeapObject */ \
V(AccessorInfo) \
V(ArrayBoilerplateDescription) \
V(HeapNumber)
@ -92,7 +93,6 @@ enum class OddballType : uint8_t {
/* Subtypes of JSReceiver */ \
V(JSObject) \
/* Subtypes of HeapObject */ \
V(AccessorInfo) \
V(AllocationSite) \
V(BigInt) \
V(CallHandlerInfo) \

View File

@ -1167,7 +1167,9 @@ class MapData : public HeapObjectData {
AccessorInfoData::AccessorInfoData(JSHeapBroker* broker, ObjectData** storage,
Handle<AccessorInfo> object)
: HeapObjectData(broker, storage, object) {}
: HeapObjectData(broker, storage, object) {
DCHECK(!FLAG_turbo_direct_heap_access);
}
AllocationSiteData::AllocationSiteData(JSHeapBroker* broker,
ObjectData** storage,