Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index a006c44dd54705d90ddf4a041be3e2126b652257..f605bc7e070e7bb6aeba20b21211efe5bd181260 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -4964,7 +4964,8 @@ class HAllocate: public HTemplateInstruction<2> { |
CAN_ALLOCATE_IN_NEW_SPACE = 1 << 0, |
CAN_ALLOCATE_IN_OLD_DATA_SPACE = 1 << 1, |
CAN_ALLOCATE_IN_OLD_POINTER_SPACE = 1 << 2, |
- ALLOCATE_DOUBLE_ALIGNED = 1 << 3 |
+ ALLOCATE_DOUBLE_ALIGNED = 1 << 3, |
+ PREFILL_WITH_FILLER = 1 << 4 |
}; |
HAllocate(HValue* context, HValue* size, HType type, Flags flags) |
@@ -5041,6 +5042,14 @@ class HAllocate: public HTemplateInstruction<2> { |
return (flags_ & ALLOCATE_DOUBLE_ALIGNED) != 0; |
} |
+ bool MustPrefillWithFiller() const { |
+ return (flags_ & PREFILL_WITH_FILLER) != 0; |
+ } |
+ |
+ void SetFlags(Flags flags) { |
+ flags_ = static_cast<HAllocate::Flags>(flags_ | flags); |
+ } |
+ |
void UpdateSize(HValue* size) { |
SetOperandAt(1, size); |
} |