| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 23390dc1115a48df3305bad9bc237afb6c3e45ad..9fd405c455fa28ba45bc4abaebd8ef6c01b067c5 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -4988,10 +4988,12 @@ class HFastLiteral: public HMaterializedLiteral<1> {
|
| Handle<JSObject> boilerplate,
|
| int total_size,
|
| int literal_index,
|
| - int depth)
|
| + int depth,
|
| + AllocationSiteInfoMode mode)
|
| : HMaterializedLiteral<1>(literal_index, depth),
|
| boilerplate_(boilerplate),
|
| - total_size_(total_size) {
|
| + total_size_(total_size),
|
| + allocation_site_info_mode_(mode) {
|
| SetOperandAt(0, context);
|
| SetGVNFlag(kChangesNewSpacePromotion);
|
| }
|
| @@ -5004,7 +5006,9 @@ class HFastLiteral: public HMaterializedLiteral<1> {
|
| HValue* context() { return OperandAt(0); }
|
| Handle<JSObject> boilerplate() const { return boilerplate_; }
|
| int total_size() const { return total_size_; }
|
| -
|
| + AllocationSiteInfoMode allocation_site_info_mode() const {
|
| + return allocation_site_info_mode_;
|
| + }
|
| virtual Representation RequiredInputRepresentation(int index) {
|
| return Representation::Tagged();
|
| }
|
| @@ -5015,6 +5019,7 @@ class HFastLiteral: public HMaterializedLiteral<1> {
|
| private:
|
| Handle<JSObject> boilerplate_;
|
| int total_size_;
|
| + AllocationSiteInfoMode allocation_site_info_mode_;
|
| };
|
|
|
|
|
|
|