Index: src/compiler/js-operator.h |
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h |
index 584e3c28e8cb95a34d755d68a828b49c1e8ca5e4..9ba6589c4b64b0947ca433a2e7845056a6516e06 100644 |
--- a/src/compiler/js-operator.h |
+++ b/src/compiler/js-operator.h |
@@ -413,14 +413,17 @@ const CreateArrayParameters& CreateArrayParametersOf(const Operator* op); |
class CreateClosureParameters final { |
public: |
CreateClosureParameters(Handle<SharedFunctionInfo> shared_info, |
+ VectorSlotPair const& feedback, |
PretenureFlag pretenure) |
- : shared_info_(shared_info), pretenure_(pretenure) {} |
+ : shared_info_(shared_info), feedback_(feedback), pretenure_(pretenure) {} |
Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } |
+ VectorSlotPair const& feedback() const { return feedback_; } |
PretenureFlag pretenure() const { return pretenure_; } |
private: |
const Handle<SharedFunctionInfo> shared_info_; |
+ VectorSlotPair const feedback_; |
const PretenureFlag pretenure_; |
}; |
@@ -508,6 +511,7 @@ class V8_EXPORT_PRIVATE JSOperatorBuilder final |
const Operator* CreateArguments(CreateArgumentsType type); |
const Operator* CreateArray(size_t arity, Handle<AllocationSite> site); |
const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info, |
+ VectorSlotPair const& feedback, |
PretenureFlag pretenure); |
const Operator* CreateIterResultObject(); |
const Operator* CreateKeyValueArray(); |