Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 5bb7f484b5a75a50eef40cfd3a4b0f2ffb6fccb1..75b18f4ba69dce36917637a22b25ea9cd725c47a 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -351,6 +351,7 @@ class UniqueValueId V8_FINAL { |
IMMOVABLE_UNIQUE_VALUE_ID(false_value) |
IMMOVABLE_UNIQUE_VALUE_ID(the_hole_value) |
IMMOVABLE_UNIQUE_VALUE_ID(empty_string) |
+ IMMOVABLE_UNIQUE_VALUE_ID(empty_fixed_array) |
#undef IMMOVABLE_UNIQUE_VALUE_ID |
@@ -3366,7 +3367,8 @@ class HConstant V8_FINAL : public HTemplateInstruction<0> { |
unique_id_ == UniqueValueId::true_value(heap) || |
unique_id_ == UniqueValueId::false_value(heap) || |
unique_id_ == UniqueValueId::the_hole_value(heap) || |
- unique_id_ == UniqueValueId::empty_string(heap); |
+ unique_id_ == UniqueValueId::empty_string(heap) || |
+ unique_id_ == UniqueValueId::empty_fixed_array(heap); |
} |
bool IsCell() const { |
@@ -5671,6 +5673,10 @@ class HObjectAccess V8_FINAL { |
return HObjectAccess(kInobject, AllocationSite::kTransitionInfoOffset); |
} |
+ static HObjectAccess ForAllocationSiteDependentCode() { |
+ return HObjectAccess(kInobject, AllocationSite::kDependentCodeOffset); |
+ } |
+ |
static HObjectAccess ForAllocationSiteWeakNext() { |
return HObjectAccess(kInobject, AllocationSite::kWeakNextOffset); |
} |