| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 94ece122c3b933f27638ff034d089f75763d9dd3..3a0ef8a8e1c261682bf6dbbdf89966ec65ed86bc 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -1607,7 +1607,7 @@ class VariableProxy final : public Expression {
|
| void BindTo(Variable* var);
|
|
|
| bool UsesVariableFeedbackSlot() const {
|
| - return FLAG_vector_ics && (var()->IsUnallocated() || var()->IsLookupSlot());
|
| + return var()->IsUnallocated() || var()->IsLookupSlot();
|
| }
|
|
|
| virtual FeedbackVectorRequirements ComputeFeedbackRequirements(
|
| @@ -1706,7 +1706,7 @@ class Property final : public Expression {
|
|
|
| virtual FeedbackVectorRequirements ComputeFeedbackRequirements(
|
| Isolate* isolate, const ICSlotCache* cache) override {
|
| - return FeedbackVectorRequirements(0, FLAG_vector_ics ? 1 : 0);
|
| + return FeedbackVectorRequirements(0, 1);
|
| }
|
| void SetFirstFeedbackICSlot(FeedbackVectorICSlot slot,
|
| ICSlotCache* cache) override {
|
| @@ -1717,7 +1717,7 @@ class Property final : public Expression {
|
| }
|
|
|
| FeedbackVectorICSlot PropertyFeedbackSlot() const {
|
| - DCHECK(!FLAG_vector_ics || !property_feedback_slot_.IsInvalid());
|
| + DCHECK(!property_feedback_slot_.IsInvalid());
|
| return property_feedback_slot_;
|
| }
|
|
|
| @@ -1954,9 +1954,7 @@ class CallRuntime final : public Expression {
|
| bool is_jsruntime() const { return function_ == NULL; }
|
|
|
| // Type feedback information.
|
| - bool HasCallRuntimeFeedbackSlot() const {
|
| - return FLAG_vector_ics && is_jsruntime();
|
| - }
|
| + bool HasCallRuntimeFeedbackSlot() const { return is_jsruntime(); }
|
| virtual FeedbackVectorRequirements ComputeFeedbackRequirements(
|
| Isolate* isolate, const ICSlotCache* cache) override {
|
| return FeedbackVectorRequirements(0, HasCallRuntimeFeedbackSlot() ? 1 : 0);
|
| @@ -2346,9 +2344,7 @@ class Yield final : public Expression {
|
| }
|
|
|
| // Type feedback information.
|
| - bool HasFeedbackSlots() const {
|
| - return FLAG_vector_ics && (yield_kind() == kDelegating);
|
| - }
|
| + bool HasFeedbackSlots() const { return yield_kind() == kDelegating; }
|
| virtual FeedbackVectorRequirements ComputeFeedbackRequirements(
|
| Isolate* isolate, const ICSlotCache* cache) override {
|
| return FeedbackVectorRequirements(0, HasFeedbackSlots() ? 3 : 0);
|
| @@ -2706,7 +2702,7 @@ class SuperReference final : public Expression {
|
| // Type feedback information.
|
| virtual FeedbackVectorRequirements ComputeFeedbackRequirements(
|
| Isolate* isolate, const ICSlotCache* cache) override {
|
| - return FeedbackVectorRequirements(0, FLAG_vector_ics ? 1 : 0);
|
| + return FeedbackVectorRequirements(0, 1);
|
| }
|
| void SetFirstFeedbackICSlot(FeedbackVectorICSlot slot,
|
| ICSlotCache* cache) override {
|
| @@ -2715,7 +2711,7 @@ class SuperReference final : public Expression {
|
| Code::Kind FeedbackICSlotKind(int index) override { return Code::LOAD_IC; }
|
|
|
| FeedbackVectorICSlot HomeObjectFeedbackSlot() {
|
| - DCHECK(!FLAG_vector_ics || !homeobject_feedback_slot_.IsInvalid());
|
| + DCHECK(!homeobject_feedback_slot_.IsInvalid());
|
| return homeobject_feedback_slot_;
|
| }
|
|
|
|
|