Commit 5fefa970 authored by Santiago Aboy Solanes's avatar Santiago Aboy Solanes Committed by V8 LUCI CQ

[compiler] Remove unused CodeDataContainerRef/Data classes

Bug: v8:7790
Change-Id: I072823ea40b0bd64aaf4a14882603cef29edcf22
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2992722Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75456}
parent 816b4bfe
......@@ -2292,15 +2292,6 @@ class CodeData : public HeapObjectData {
unsigned const inlined_bytecode_size_;
};
class CodeDataContainerData : public HeapObjectData {
public:
CodeDataContainerData(JSHeapBroker* broker, ObjectData** storage,
Handle<CodeDataContainer> object)
: HeapObjectData(broker, storage, object) {
DCHECK(!broker->is_concurrent_inlining());
}
};
#define DEFINE_IS(Name, ...) \
bool ObjectData::Is##Name() const { \
if (should_access_heap()) { \
......
......@@ -111,7 +111,6 @@ enum class RefSerializationKind {
V(CallHandlerInfo, RefSerializationKind::kNeverSerialized) \
V(Cell, RefSerializationKind::kNeverSerialized) \
V(Code, RefSerializationKind::kNeverSerialized) \
V(CodeDataContainer, RefSerializationKind::kNeverSerialized) \
V(Context, RefSerializationKind::kNeverSerialized) \
V(DescriptorArray, RefSerializationKind::kNeverSerialized) \
V(FeedbackCell, RefSerializationKind::kNeverSerialized) \
......@@ -1051,13 +1050,6 @@ class CodeRef : public HeapObjectRef {
unsigned GetInlinedBytecodeSize() const;
};
class CodeDataContainerRef : public HeapObjectRef {
public:
DEFINE_REF_CONSTRUCTOR(CodeDataContainer, HeapObjectRef)
Handle<CodeDataContainer> object() const;
};
class InternalizedStringRef : public StringRef {
public:
DEFINE_REF_CONSTRUCTOR(InternalizedString, StringRef)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment