Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 1b9af5372ce2dc6e939f706b3f396bb8d3cf5aac..ed09f39ec607754be0b0ed9a8a31d1810ffb439a 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -135,7 +135,6 @@ class LChunkBuilder; |
V(IsSmiAndBranch) \ |
V(IsUndetectableAndBranch) \ |
V(LeaveInlined) \ |
- V(LinkObjectInList) \ |
V(LoadContextSlot) \ |
V(LoadExternalArrayPointer) \ |
V(LoadFieldByIndex) \ |
@@ -5627,6 +5626,10 @@ class HObjectAccess { |
return HObjectAccess(kInobject, AllocationSite::kWeakNextOffset); |
} |
+ static HObjectAccess ForAllocationSiteList() { |
+ return HObjectAccess(kExternalMemory, 0, Representation::Tagged()); |
+ } |
+ |
static HObjectAccess ForFixedArrayLength() { |
return HObjectAccess( |
kArrayLengths, |
@@ -5733,38 +5736,6 @@ class HObjectAccess { |
}; |
-class HLinkObjectInList: public HUnaryOperation { |
- public: |
- // There needs to be a mapping from every KnownList to an external reference |
- enum KnownList { |
- ALLOCATION_SITE_LIST |
- }; |
- |
- HLinkObjectInList(HValue* object, HObjectAccess store_field, |
- KnownList known_list) |
- : HUnaryOperation(object), |
- store_field_(store_field), |
- known_list_(known_list) { |
- set_representation(Representation::Tagged()); |
- } |
- |
- HObjectAccess store_field() const { return store_field_; } |
- KnownList known_list() const { return known_list_; } |
- |
- virtual Representation RequiredInputRepresentation(int index) { |
- return Representation::Tagged(); |
- } |
- |
- virtual void PrintDataTo(StringStream* stream); |
- |
- DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList) |
- |
- private: |
- HObjectAccess store_field_; |
- KnownList known_list_; |
-}; |
- |
- |
class HLoadNamedField: public HTemplateInstruction<2> { |
public: |
HLoadNamedField(HValue* object, |