| Index: src/ast/ast.cc
|
| diff --git a/src/ast/ast.cc b/src/ast/ast.cc
|
| index 34fa095308f60adf2030025ba7f529d60dfa87a4..b52fb957e8b80f53250c43df6b59b5fbd85e89e6 100644
|
| --- a/src/ast/ast.cc
|
| +++ b/src/ast/ast.cc
|
| @@ -889,25 +889,9 @@ bool Expression::IsMonomorphic() const {
|
| }
|
| }
|
|
|
| -bool Call::IsUsingCallFeedbackICSlot() const {
|
| - return GetCallType() != POSSIBLY_EVAL_CALL;
|
| -}
|
| -
|
| -bool Call::IsUsingCallFeedbackSlot() const {
|
| - // SuperConstructorCall uses a CallConstructStub, which wants
|
| - // a Slot, in addition to any IC slots requested elsewhere.
|
| - return GetCallType() == SUPER_CALL;
|
| -}
|
| -
|
| -
|
| void Call::AssignFeedbackVectorSlots(Isolate* isolate, FeedbackVectorSpec* spec,
|
| FeedbackVectorSlotCache* cache) {
|
| - if (IsUsingCallFeedbackICSlot()) {
|
| - ic_slot_ = spec->AddCallICSlot();
|
| - }
|
| - if (IsUsingCallFeedbackSlot()) {
|
| - stub_slot_ = spec->AddGeneralSlot();
|
| - }
|
| + ic_slot_ = spec->AddCallICSlot();
|
| }
|
|
|
| Call::CallType Call::GetCallType() const {
|
|
|